Application Development and Automation 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: 
Read only

Add custom Push button in ME21N T-Code?

Former Member
0 Likes
2,094

Dear ABAP Experts,

                I have a requirement , when the user will create PO(in Standard ME21N t-code) Delivery/Invoice tab user want to add new push button 'NEW_DATA' . When the user click on 'NEW_DATA' Push button then one new screen will appear. In that new screen(which had some input and check box fields which are field manually).

At the end ,whenever the user click on SAVE Icon then all these new screen details will save in custom (Z or Y) table. 

How can i do this Issue ?

Thanks & Regards,

K.Chinna..

Dear ABAP Experts,

                I have a requirement , when the user will create PO(in Standard ME21N t-code) Delivery/Invoice tab user want to add new push button 'NEW_DATA' . When the user click on 'NEW_DATA' Push button then one new screen will appear. In that new screen(which had some input and check box fields which are field manually).

At the end ,whenever the user click on SAVE Icon then all these new screen details will save in custom (Z or Y) table. 

How can i do this Issue ?

Thanks & Regards,

K.Chinna..

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,265

First look at BAdI ME_PROCESS_PO_CUST which is triggered during ME21N execution, and which carry the method POST where you could tirgger the database update.

Then look at BAdI ME_GUI_PO_CUST which can drive customer screens in this transaction. (There is also an old customer-exit enhancement MM06E005.)

Don’t hesitate to use search tool at scn, there are many samples and discussion on those BAdI alsio read carefully their documentations.

Regards,

Raymond

Read only

former_member202818
Active Contributor
0 Likes
1,265

Hi Chinna,

Create a variant transaction for me21n, in which you must have a screen variant for screen 1226 of program SAPLMEGUI.

You can simply do this using SHD0.

And use GUIXT to add a new button.

Write your other logic in program using enhancement.

Regards

Sreekanth

Read only

0 Likes
1,265

Dear Sreekanth,

In SAPLMEGUI program you suggested me that do SHD0 and add GUIXT to add new button.

What is SHD0 and GUIXT ?

How can i do this ? please explain me step by step ?



Regards,

K.Chinna

Read only