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: 

User exit, Badi

Former Member
0 Kudos

vl31n tcode i want to add input field on screen.

so what to look for badi or user exit.

if badi is there then how to test it ?

please help

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

For finding the BADIs ... do the following process:

1. Go to class CL_EXITHANDLER ( in SE24 ).

2. Open the method GET_INSTANCE.

3. In the method put a break point on statement 'case sy-subrc'.

4. Now go to tcode vl31n.

5. It will get u into debugger.

6. 'exit_name' will give u the BADI name, check the value of this variable and keep pressing F8.

Note: this method gives u all the BADIs included in that particular transaction. So u can go to the event at which you need a BADI and then check the value of variable "exit_name" until u find the one you want.

Regards,

gaurav

2 REPLIES 2

Former Member
0 Kudos

Hi

Go to that transactin code VL31n whatever the t.code it may be...initially u knoe just this..

so go to that T.code there in system->status u can find the package...

with that package name goto if it user ext go to

CMOD - there if u press F4.

it will ask for package and press on information system from there it wil take u to subtree

where u can see all the user exits for that package nothing but for that T.code also.

Regards.

Former Member
0 Kudos

Hi

For finding the BADIs ... do the following process:

1. Go to class CL_EXITHANDLER ( in SE24 ).

2. Open the method GET_INSTANCE.

3. In the method put a break point on statement 'case sy-subrc'.

4. Now go to tcode vl31n.

5. It will get u into debugger.

6. 'exit_name' will give u the BADI name, check the value of this variable and keep pressing F8.

Note: this method gives u all the BADIs included in that particular transaction. So u can go to the event at which you need a BADI and then check the value of variable "exit_name" until u find the one you want.

Regards,

gaurav