Hello Friends,
In BW production system for sales data loading we have enhanced data source 2LIS_11_VAITM by adding Z field: ZZ_Z108 (Condition value) of data Type: CURR. This data source field load data into BW key figure: Estimated amount.
For Item Categories: 'Z141' or 'Z143'. Estimated amount values get from ZZ_Z108 data source field. Enhancement code for above filed in R3 is as below:
IF mc11va0itm-pstyv = 'Z141' OR
mc11va0itm-pstyv = 'Z143'.
READ TABLE it_konv WITH KEY
knumv = mc11va0itm-knumv
kposn = mc11va0itm-posnr
kschl = 'Z108'
BINARY SEARCH.
IF sy-subrc = 0.
mc11va0itm-zz_z108 = it_konv-kbetr.
mc11va0itm-zz_z108c = it_konv-waers.
ENDIF.
ENDIF.
Above code for given sales document first takes 'Doc. condition' from VBAK table and then for selected document condition it pick amount and currency from KONV table.
Our issue is: BW first extracts amount from KONV table. And if this amount changes in R3 later then change value does not get pick up in delta for loading to BW.
For ex. For sales document: 0233097536, BW is first loaded with estimated amount as: 78 DKK but later when value changed in R3 then changed value 98 DKK did not extracted to BW.
When we tried reloading data for same SO by filling setup table then it has correctly extracted 98 DKK.
Can you please help to understand why this delta is not behaving correctly and what modification is required to handle this issue?
Thank You.