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: 

FM name

Former Member
0 Kudos

Hi all,

How i get the name of FM which i am currently processing .

Thanks in advance for all your help.

Regards,

Anukool

1 ACCEPTED SOLUTION

david_escofettrenado
Participant
0 Kudos

You can use FM 'SYSTEM_CALLSTACK'. You will obtain FM name on table ET_CALLSTACK.

Best Regards.

8 REPLIES 8

Former Member
0 Kudos

pls be clear on your query?!!

0 Kudos

Any system variable where i get the FM name which i am processing?

0 Kudos

you can get the Function module's function group using SY-REPID.

0 Kudos

No, there is no system variable. But you can use SY-REPID to know thw main program name.

Former Member
0 Kudos

If you are inside debug, you can find the name of current FM if you click on Calls Tab.

former_member188685
Active Contributor
0 Kudos

in Debug mode you can find that from the Call Stack tab.

is it that you are expecting..?

Former Member
0 Kudos

Hi,

You will get the name of the FM currently executedin debug mode in call stack mode.

Regards

Pragya

david_escofettrenado
Participant
0 Kudos

You can use FM 'SYSTEM_CALLSTACK'. You will obtain FM name on table ET_CALLSTACK.

Best Regards.