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

Problem with transaction code SY-TCODE

Former Member
0 Likes
2,030

Hi all,

My program is written in the OO way and the transaction code is created such that it is a method of a class (OO transactioN). However, when I try to run the program and debug it, the SY-TCODE is returning the value OS_APPLICATION rather than the transaction code being created. THe problem is, the transaction code is created by the client since I do not have the authority to it.

Any idea?

4 REPLIES 4
Read only

varma_narayana
Active Contributor
0 Likes
1,047

Hi

You can find the Transaction codes in tables TSTC , TSTCT.

Or you can check it in Tcode SE93.

See whether the Name of this OO transaction is OS_APPLICATION.

bcoz SY-Tcode will store the Current Tcode.

<b>reward if Helpful</b>

Read only

0 Likes
1,047

I have checked in TSTC with my actual tcode (ZTEST). The record exists, but under the program field (PGMNA), it was blank.

Read only

uwe_schieferstein
Active Contributor
0 Likes
1,047

Hello Mil

Display your class using transaction SE80 and check whether you can see a transaction node in the hierarchy display of the class.

If you test the class (either using SE80 or SE24) you will not see the transaction code assigned to the '<main>' method of your class.

Regards

Uwe

Read only

matt
Active Contributor