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

Getting SY-TCODE in Scripts.

Former Member
0 Likes
614

Dear Friends,

I want to the know the Transaction code sy-Tcode in scripts to print accoording to the tcoden at runtime. Kindly help me out.

regards

Omer.

4 REPLIES 4
Read only

Former Member
0 Likes
536

Hi

/: IF &SY-TCODE& =

  • Bye Bye

/: ENDIF

Max

Read only

Former Member
0 Likes
536

HI

USE SYSTEM VARIABLE sy-tcode to display transaction

code

&sy-tcode&

ReGARDS

aMOLE

Read only

anversha_s
Active Contributor
0 Likes
536

hi mohamed,

try this,

&SY-TCODE&.

u will get the sy-tcode in side the script.

rgds

anver

mark all helpful answers

Read only

shishupalreddy
Active Contributor
0 Likes
536

Hi ,

yOU CAN USE THIS place holder in script editor of the corresponding window to get the current tcode .

&SYST-TCODE&

mark helpful answers