Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

user exit in ME21N

hi everybody

I have added 2 additional fields(zzqty, zzprice) at item level in PO, Ive also added the subscreen in me21N

My requirement is that these 2 fields should be copied from the fields menge and netpr for each line

I have coded the following in the user exit

EXIT_SAPMM06E_016

DATA: ekpo type ekpo.

ekpo = i_ekpo.

ekpo-zzqty = i_ekpo-netpr.

ekpo-zzprice = i_ekpo-netpr.

FREE MEMORY ID 'CUS_AKTYP'.

EXPORT aktyp FROM I_AKTYP TO MEMORY ID 'CUS_AKTYP'.

EXIT_SAPMM06E_018

data: ekpo type ekpo.

move-corresponding ekpo to e_ci_ekpo.

but its not working

can somebody tell me wat im missing?

Tags:
Not what you were looking for? View more on this topic or Ask a question