Skip to Content
0
Former Member
Nov 13, 2013 at 01:31 PM

User exit to change PO header field in ME21n and ME22n

2383 Views

Hi ,

My requirement is to change the PO header field - incoterms (EKKO-INCO1/INCO2 ) before save based on a logic comparing the incoterms of the line items in both PO create and change mode .

But there are no User exits i can find , which could serve this purpose .

I tried : EXIT_SAPMM06E_017 , EXIT_SAPMM06E_016 , EXIT_SAPLMEKO_001, EXIT_SAPMM06E_012

All user exits have the header data as an importing / exporting parameter , instead of the changing or table parameters - without which it wouldn't be possible to pass the changes made to header fields within the user exit to be available outside .

EXIT_SAPMM06E_012 was somewhat close , but it seem to be for Z fields that were added to EKKO, and not the incoterm field.

Please let me know how to change the header field INCO1/INCO2 of PO header.