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.
SHARE

Mariana Novelia Senjaya

Hi. I’m author of ABAP Diary. I’m CEO/Founder of Meet Grapppi. I’m Creative Art Director, Web Designer, Interaction Designer, Industrial Designer, Web Developer, ABAPER, Analyst, Business Enthusiast, StartUp Enthusiast, Lecturer and Writer. Inspired to make things looks better.

  • Image
  • Twitter
  • Pinterest
  • Instagram
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment