Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Exit MB1A EXIT_SAPLMBMB_001

former_member654002
Participant
0 Kudos
370

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

0 REPLIES 0