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: 

table for the subroutines

Former Member
0 Kudos

Hi All,

Is there any table is there to find all the subroutines, bcoz there is a exit i know and i want to see the code in that exit.

regards

sai

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Try the table MODSAP.

awrd points if useful

Bhupal

3 REPLIES 3

Former Member
0 Kudos

Try the table MODSAP.

awrd points if useful

Bhupal

Former Member
0 Kudos

How to find FM user exit by FM name:

1. In table MODSAP,

enter the FM name in the field MEMBER.

(U will get the enhancement name in the field NAME)

2. Then enter this enhancement name

in the table MODACT

in the field MEMBER.

(U will get the CMOD project name in the field NAME)

How to find BADI

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.

Former Member
0 Kudos

Hi Krishna,

you can give the Exit name you have in transaction 'SE37' (Transaction for function modules).

On double clicking the Include name in the given exit you will be able to find the code written in it.

for instance you have exit ' EXIT_SAPLEINM_007'

open it in se37, you may find an Include ' INCLUDE ZXM06U20.' , by double clicking on this include you can trace the code written in it

Regards,

Farheen.