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

How to find Transaction's program name from Program ?

Former Member
0 Likes
8,623

Hello guys.

I need to find a way to get the Transaction's program name from the report (program) that I am developing. Is there any Function module or something like that, that returns me the programs name ?

Thank you in advance.

14 REPLIES 14
Read only

Former Member
0 Likes
3,200

Hi Taly Taly

The name of the program is stored in system variable sy-cprog

Is that what you were looking for?

Read only

0 Likes
3,200

No that's not the answer... There is a transaction like 'ZUID' and I need something that when I put the name of the Transaction, to return me the Programs Name... and example of this is SE93 where you write the Transaction Code, and it returns information about that transation.

But I need it to do from the Code. I need a function module or someething like that, that returns me the programs name

Read only

Former Member
0 Likes
3,200

your question is confusing. . still i'll try

open the transaction code you want say SE38 then click systems from menu bar and choose status. You should get all the required info there.

Read only

0 Likes
3,200

No that's not the answer... There is a transaction like 'ZUID' and I need something that when I put the name of the Transaction, to return me the Programs Name... and example of this is SE93 where you write the Transaction Code, and it returns information about that transation.

But I need it to do from the Code. I need a function module or someething like that, that returns me the programs name

Read only

0 Likes
3,200

let me understand again:

Your want to create a tcode : zuid which opens a screen with a input field in which you can enter any tcode and it should give you the tcode's program name as output?

The eg SE93 you used just gives the info when you click display if that's all you need why cant you use that itself?

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
3,200

Did you check TSTC table?

Read only

0 Likes
3,200

Yes I did, and it is interesting. The transaction code generates an Dynamically program with the name like: G99GJA93RJO1FL1200. I found the program in SE80, but the problem is that after a while, the Transaction may generate another program, so I can't use the program name mentioned above.

I checked the TSTC table, there is the Transaction code, but the programs name is Empty!.

Read only

0 Likes
3,200

I think it is a query or something..Can you please attach a screen shot of Se93 tcode with the parameter detail also shown

Nabhbeet

Read only

0 Likes
3,200

1. You can use table TSTC to find program name based on transaction code.

2. Use SE93 Tcode.

Regards,

Koti

Read only

0 Likes
3,200

Hi,

I am not 100% sure, but the program name looks like a Report painter program ( tcode: GRR3).

Refer this thread :

Regards,

DPM

Read only

Former Member
0 Likes
3,200

Hi,

TSTC table contains both tcode and program name,

Regards,

Read only

Former Member
0 Likes
3,200

hi Taly,

You can either use TSTC table or SE80 .

Thanks

Saurabh

Read only

Former Member
0 Likes
3,200

Hi Taly,

TSTC tcode contains program name and transaction code bpth. If there is no such FM then you can write youe own code that fetches the program name for you. You can do look up and get it.

I replied on the basis of what I understood from your post. Hope this helps.

Regards,

Priyanka

Read only

Former Member
0 Likes
3,200

Hi taly,

Check out the FM RS_TRANSACTION_SHOW , Pass object name as se38, you will get screen with information of Transaction details.

Regards,

Ravikiran.K