Skip to Content
0
May 19, 2020 at 05:31 PM

Exit MB1A EXIT_SAPLMBMB_001

231 Views

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