This note is no longer valid. Please see note 37162!!
You have a material with standard price control. This material has a stock in the previous period. If you now create a physical inventory document for this material in the previous period and make an adjustment posting for this material document from the previous period, the moving average price is incorrect after making the adjustment posting of the inventory difference.
The exact value is: standard price * total stock.
Program error.
SolutionTo correct the error, you have to insert the line marked below in the following Include of module pool SAPLMBWL:
Include LMBWLU02:
FUNCTION MB_CREATE_INVENTORY_DIFFERENCE.
...
MSEG-KZBEW = T158-KZBEW.
MSEG-MJAHR = MKPF-MJAHR.
MSEG-PARBU = MTM07I-BUKRS.
MSEG-WAERS = MTM07I-WAERS.
MSEG-BWART = MVM07I-BWART.
MSEG-ERFMG = MVM07I-DIFME.
MSEG-MENGE = MVM07I-DIFMG.
DM07M-MONAT = MONAT.
DM07M-XLORT = X.
-> DM07M-VMSAV = DM07M-VMSAL. "New
RM07M-BUKRS = MTM07I-BUKRS.
...
ENDFUNCTION.
business analyst online training
ReplyDeletepower bi training institute