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

Get Function Module name

Former Member
0 Likes
2,300

Dear gurus,

Does anyoneof you know how to get the name of the actual Function Module is being executed?

SY-CPROG returns the calling program, and SY-REPID does the same with the Function Group name (with 'SAPL' at the beginning).

Thanks a lot in advance,

Eloi

1 ACCEPTED SOLUTION
Read only

michael_kozlowski
Active Contributor
0 Likes
1,938

check out FM SYSTEM_CALLSTACK when want to do programtically.

3 REPLIES 3
Read only

FredericGirod
Active Contributor
1,938

Hi,

have a look of the table : TFDIR

regards

Fred

Read only

former_member215561
Participant
0 Likes
1,938

Hi,

In debug mode go to standard tab and see the Fm against the function

Read only

michael_kozlowski
Active Contributor
0 Likes
1,940

check out FM SYSTEM_CALLSTACK when want to do programtically.