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 HELP!

Former Member
0 Kudos
216

hi to all, it already spent long time from my last post. This time I have some doubts on Menu Exits. I need to put an extra button on the menu bar of transaction va01 and vl01n. I already now how to use simple badis and filter badis.

Now my question is: does menu exit with badis allowed me to do this in a standard transaction like the ones i mentioned?

How to find that badis for any std transaction?

IF anyone has an example of any transaction please share with me, to understand the subject.

As usual, rewards points will be given for help. THANKS IN ADVANCE.

3 REPLIES 3

Former Member
0 Kudos
131

on which version u are working ?

i think for 4.7 u dont have BADIs for Va01?

u find out BADIs--->

1.SPRO->under SD-->system modifications

2.SE15->Enhancements->BADI Definitions---> give package -->F8.

Regards

Peram

Former Member
0 Kudos
131

Hi,

Check the following link:

http://www.sapmaterial.com/badi.html

Regards,

Bhaskar

Former Member
0 Kudos
131

Hi

Follow the below steps to find out what all BADI's are called when you press any button in any transaction.

1) Goto se24 (Display class cl_exithandler)

2) Double click on the method GET_INSTANCE.

3) Put a break point at Line no.25 (CASE sy-subrc).

Now

4) Execute SAP standard transaction

5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.

6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.

7) This way you will find all the BADIs called on click of any button in any transaction.

Hope it helps.....:)

Regards,

Tushar