Tuesday, January 8, 2013

MM - Closing Value MB5B and FS10N Not Balanced

I've debugged MB5B standard tcode from program RM07MLBD

It runs FORM AKTUELLE_BST_BWBST for select field MATNR BWKEY BWTAR BWTTY from table MBEW. Actually it selects current MAP (Moving Average Price).


After that, program continue with select from EBEW, QBEW, and OBEW. I dont know what the purpose, but in my case, there is always sy-subrc = 4 when program through it.

If program select MAP from MBEW without year and month selection criteria, what about transaction validity?
RM07MLBD in FORM F1000_SELECT_MSEG_MKPF will select all of transaction stored at MSEG and MKPF with transaction date GE DATUM-LOW (this is the date you input at selection screen)

And so on.
Finally you got itab G_T_MBEW. This is internal table will be added for BESTAND.

No comments:

Post a Comment