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: 

how to add new field to mb21 tcode

Former Member
0 Kudos

hi experts ,

guide me how to add new field to mb21 standard transaction .

tell me the step by step processor ...

thanks

6 REPLIES 6

Former Member
0 Kudos

Hello Mr.Varun,

Can you be more clear when you are asking question ??

Explain clearly what i s your requirement .

Thanks .

sivaganesh_krishnan
Contributor
0 Kudos

Hi varun,

Use MM06E005 enhancement to add fields in screen of ME21N

SAPMM06E 0101 CUSTSCR1 SAPLXM06 0101 Subscreen: PO header

SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen:  PO item

SAPMM06E 0201 CUSTSCR1 SAPLXM06 0201 Subscreen: agreement header

SAPMM06E 0211 CUSTSCR1 SAPLXM06 0211 Subscreen: agreement item

SAPMM06E 0301 CUSTSCR1 SAPLXM06 0301 Subscreen: RFQ header

SAPMM06E 0311 CUSTSCR1 SAPLXM06 0311 Subscreen: RFQ item

Hope this helps,

sivaganesh.

sivaganesh_krishnan
Contributor
0 Kudos

do look into this pdf , it has detailed explanation on adding field into me21n/22n/23n .

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/100675db-2464-2e10-319c-fb9f37c41...

Former Member
0 Kudos

hi varun,

try this...

goto 'CL_EXITHANDLER' in se24, inside it goto 'GET_INSTANCE' and place a breakpoint at line 14 and open ur t-code. ABAP debugger wil start. check the value of the variable 'exit_name'.

it will give u the BADI name.

implement that BADI. u'll get code to add fields on net, just search.

regards

Adarsh.

Former Member
0 Kudos

Hi,

can you please give some Information. Did you ask for MB21, some reponse are for ME21N?

Regards, Dieter

raymond_giuseppi
Active Contributor
0 Kudos
  • For customer exits, only one found executed at save, so no.
  • For BAdI, MB_RESERVATION_BADI doeesn't allow a customer subsifeld and MB_RESERVATION_SCR is SAP reserved,

So you may have to "play" with implicit enhancement spots.

Regards,

Raymond