2020 May 19 6:31 PM
Hi,
I am trying to change the Document Cost Center in MB1A using EXIT_SAPLMBMB_001.
Anyone have some suggestion for the code i can use?
I tryed to update MSEG but when i use the Debug the cursor did not stop in EXIT_SAPLMBMB_001.
loop at xmseg.
if xmseg-BWART = '201'.
if xmseg-WERKS = 'DIEL'.
if xmseg-LGORT = '0001'.
update mseg
set kostl = 'AEBA'.
endif.
endif.
endif.
endloop.
Thank you and best regards
João Lages Fernandes