‎2010 Jul 24 4:00 PM
Hi
I execute a tcode1 . And while in that tcode1, I select the sub menu in the help menu. This sub menu is a custom one with a tcode2. Tcode2 calls a program. I would like to get tcode1 when I am in this progam. Somehow i get only Tcode2. Is there a way to get tcode1 which is the main tcode ?
Thanks
Bindu
‎2010 Jul 24 7:56 PM
SY-CPROG
The name of the calling program in an external routine, otherwise the name of the current program.
based on that you can hit TSTC table and get the transaction code for that program... "some includes does not have T codes!"