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

FM name

Former Member
0 Likes
1,068

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
Read only

david_escofettrenado
Participant
0 Likes
1,042

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

Best Regards.

8 REPLIES 8
Read only

Former Member
0 Likes
1,042

pls be clear on your query?!!

Read only

0 Likes
1,042

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

Read only

0 Likes
1,042

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

Read only

0 Likes
1,042

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

Read only

Former Member
0 Likes
1,042

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

Read only

Former Member
0 Likes
1,042

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

is it that you are expecting..?

Read only

Former Member
0 Likes
1,042

Hi,

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

Regards

Pragya

Read only

david_escofettrenado
Participant
0 Likes
1,043

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

Best Regards.