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: 

What transaction am I executing?

Former Member
0 Kudos

Hi guys!

I have created a transaction with parameters called ‘ZVA05’ . This transaction call to transaction ‘VA05’ with VBCOM-KUNDE and VBCOM-MATNR. When I have tried to debug ‘ZVA05’ I can’t know if I am executing VA05 or ‘ZVA05’.

Somebody can’t tell me if there is a parameter that can tell me this information.

Thanks a lot.

Best regards.

Ana.

5 REPLIES 5

egenoves
Participant
0 Kudos

Hello,

sy-tcode gives you the transaction code currently executing,

Regards

hiriyappa_myageri
Participant
0 Kudos

Hi You can use sy-tcode system variable to know which transaction you are using .

0 Kudos

sy-tcode when you execute a transaction parameter is VA05, never ZVA05.

This is the problem

0 Kudos

Hi compare both T-codes in SE93. Check All In formations.

0 Kudos

If I have undestood right your issue , then check FM SYSTEM_CALLSTACK, maybe it helps you to determine if ZVA05 has been called.

I'm not on a terminal with GUI logon so i can't verify what i'm writing, but i'm pretty sure this FM gives you the calling methods stack, like in the new debugger. If the FM gives transactions values , just check if exist an entry with the value desired,

Hope it helps