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: 

BADI - ME_GUI_PO_CUST

Former Member
0 Kudos

Hello,

Can anybody please help with an example on how to implement menu exit using this BADI definition->ME_GUI_PO_CUST.

I have created a BADI Implementaion for this BADI and the standard methods of the Interface -IF_EX_ME_GUI_PO_CUST are visibie.

HOwever I am not able to implement any of the methods of the Z implementation which I created. I can see some pseudo code in the class -CL_EXM_IM_ME_GUI_PO_CUST.

Thanks in anticipation.

Gaurav

Edited by: Rob Burbank on Sep 8, 2010 10:07 AM

1 REPLY 1

sitakant_tripathy2
Active Participant
0 Kudos

Hi Gaurav,

first of all you will have to find the menu exit for the required screen...for this you need to go to the GUI Status of the relevant screen and then check for any function code starting ++...

If you find the function code starting ++ then put this in the function code tab of the BADI implementation alongwith the program name....once done you can write the respective handler in the EXECUTE method of the BADI.....If you need access to the current program data then you will have to read the MODEL instance of the Purchanse order and get the respective data...

Please keep in mind that the ME21N transaction has a very deep model layer and you might have to debug and analyse a bit before reaching to the respective data segment...

Hope this helps ...

Sitakant