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 called programs for all zprograms?

Former Member
0 Likes
1,430

Hello dear colleagues,

I need kind of a report tree that answer the following question:

Wich transactions and external programs are called from every Ztransaction?, considering that such called program/transactions also call others.

Besides i need to know about authority check related to each call.

Is there a standard report or useful code?

Any suggestion is appreciated.

Thanks!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,349

hi,

Pass the transaction name in TCODE field to get Program name PGMNA to which it is associated with .... in TSTC table via SE16 tcode ....

Hello dear colleagues,

I need kind of a report tree that answer the following question:

Wich transactions and external programs are called from every Ztransaction?, considering that such called program/transactions also call others.

Besides i need to know about authority check related to each call.

Is there a standard report or useful code?

Any suggestion is appreciated.

Thanks!

7 REPLIES 7
Read only

Former Member
0 Likes
1,350

hi,

Pass the transaction name in TCODE field to get Program name PGMNA to which it is associated with .... in TSTC table via SE16 tcode ....

Read only

Former Member
0 Likes
1,349

Hi Lidya,

Check the below thread,

https://forums.sdn.sap.com/click.jspa?searchID=14358915&messageID=5386905

Kindly Reward Points If You Found The Reply Helpfull

Cheers,

Chaitanya.

Read only

Former Member
0 Likes
1,349

Thanks but..

I need to know not just the main program called, but also, the other programs or transactions such first transaction/program calls.

I can´t find it on tstc table.

Regards

Read only

0 Likes
1,349

Well, i've found out that table TCDCOUPLES, mantained by SE37 give me a match between "calling transaction code" & "called transaction code". That is for all standard transactions.

But, for Z* (zprograms) it needs to be mantained. My system has never had mantaintenance. So ... is there a code, (or other way) to search within each Zprogram to find wich transactions/programs are called?

Regards

Edited by: Lidya Cota on Jul 22, 2008 6:40 PM

Read only

Former Member
0 Likes
1,349

Hi,

Not sure whether it suits your requirement, you can try this

Execute RS_ABAP_SOURCE_SCAN in SE38

On Selection screen, give the program name you want to search , and in Search String for ,

give the values

SUBMIT

CALL TRANSACTION

Read only

Former Member
0 Likes
1,349

If your transactions are parameter based have a look in TSTCP.

The parameter should contain D_SREPOVARI-REPORT=Z in the string.

Cheers

Jules

Read only

Former Member
0 Likes
1,349

Hello Lydia,

You can achieve this by using transaction EWK1. This will run a string search within programs source code.

You need to search for SUBMIT and CALL TRANSACTION statements.

Hope this helps.

Regards,

Nicolas