Archive for the ‘ABAP Function’ Category

CALL FUNCTION ‘MB_READ_RESERVATION_POS_WA’ EXPORTING rsnum    = rm07m-rsnum rspos    = rm07m-rspos shkzg    = shkzg bwart    = xrkpf-bwart kzneb    = rm07m-kzneb TABLES…

BSEG will contains all items data. try to make use of this FM AC_DOCUMENT_RECORD. or 1 2 3 4 5…

Use below ABAP function, you can calculate days. 1 2 3 4 5 6 7 8 9 10 11 12…

Using ABAP fuction “Z_GET_EOH_VALUE”, we can get Begining Stock, Begining AMT, Ending Stock, Ending AMT. 1 2 3 4 5…