Hello All,
I have marked the statistical relevance as '2' for movement type 103 & 124 in OMJJ and extracted the data again.
Now my stock quantity matches in most of the cases but stock value is not matching its blank for many records.
Earlier it was working fine and all the records i could tally with MB5B.
I have done a changes in start routine of BF transformation.
As the data records with stock type or stock category marked as "V" were deleted, what i have done is i have written a code to change these fields to blank when movement type is 124 & 103, so that the data gets loaded to my infocube.
LOOP AT DATA_PACKAGE.
IF DATA_PACKAGE-MOVETYPE = '103' OR
DATA_PACKAGE-MOVETYPE = '124'.
IF DATA_PACKAGE-STOCKCAT EQ 'V' OR
DATA_PACKAGE-STOCKTYPE EQ 'V'.
DATA_PACKAGE-STOCKCAT = ' '.
DATA_PACKAGE-STOCKTYPE = ' '.
MODIFY DATA_PACKAGE.
ENDIF.
ENDIF.
ENDLOOP.
Thanks..
Regards
Madhusudan