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

find main program from user exit

Former Member
0 Likes
1,414

Hi,

I am trying to find the main program meant for IT0001 maintenance.

Is there any means to find a main program from user exit apart from the Where Used List process.

Please suggest.

Regards,

Binay.

1 ACCEPTED SOLUTION
Read only

JoffyJohn
Active Contributor
0 Likes
973

in se16 tcode :

take table : MODSAPVIEWIn NAME

field give the exit name and get MEMBER field value

for eg:

SAP extension name MBCF0002

TYP E

MEMBER EXIT_SAPMM07M_001

Language E

the program name is SAPMM07M

3 REPLIES 3
Read only

Former Member
0 Likes
973

Hi,

Suppose you know the name of the Function Module Exit .

Ex : "EXIT_SAPLFCPD_001"

Here the main program is "SAPLFCPD". The middle part of the exit name.

Else if you know the name of the enhancement, see its Function module exit name in SMOD transaction and follow the above procedure.

Please assign points if helpful.

Read only

Clemenss
Active Contributor
0 Likes
973

Hi binay,

use system field SY-CPROG

or call FM SYSTEM_CALLSTACK

for the whole callstack, i.e. SYSTEM_CALLSTACK called from SE37 test results in


PROGNAME                                 EVENTTYPE    EVENTNAME

SYSTEM_CALLSTACK==============FT         FORM         FUNCTION_CALL
SAPLSEUJ                                 FUNC         SFCS_FA_FUNCTION_INVOCE
SAPLSEUJ                                 FUNC         SFCS_FA_TEST_FUNCTION
RS_TESTFRAME_CALL                        EVENT        START-OF-SELECTION

Regards,

Clemens

Read only

JoffyJohn
Active Contributor
0 Likes
974

in se16 tcode :

take table : MODSAPVIEWIn NAME

field give the exit name and get MEMBER field value

for eg:

SAP extension name MBCF0002

TYP E

MEMBER EXIT_SAPMM07M_001

Language E

the program name is SAPMM07M