Using ME21N/ME22N with own Fields from MARA
i need help to insert some fields from MARA in
the Tcode ME21/2N. For example MARA-GROES or MARA-ZEINR
in the Item-List.
Can i use the exit MM06E005, and has anybody a
Thanks for help
We have a new Problem. We have to store the new Fields
in the EKPO. I use EXIT_SAPMM06E_013 with xekpo-ZZEINR
but it doesn't work correct.
Has anyone an idea?
Message was edited by: Dieter Gröhn
Ferry Lianto replied
1. Insert new field ZZ_ZEINR with component type<b> DZEINR</b> in structure CI_EKPODB via SE11. Save and activated once done.
2. Go to <b>SE51</b> (Screen Painter), enter program <b>SAPLXM06</b> and screen number <b>0111</b> and click on change and select maintain in original language.
3. Click on <b>Layout</b> button and create text field and input/output field for EKPO_CI-ZZ_ZEINR. Save and activated.
4. Go to SE37 and enter function module <b> EXIT_SAPMM06E_016</b> and click on include <b>ZXM06U41</b>. In here you can code something like this. Save and activated once done.
CLEAR: EKPO_CI-ZZ_ZEINR. SELECT SINGLE * FROM MARA WHERE MATNR = I_EKPO-MATNR. IF SY-SUBRC = 0. EKPO_CI-ZZ_ZEINR = MARA-ZEINR. ENDIF.
Hope this will help.