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

Where-used-list between sapscript and reports

rainer_hbenthal
Active Contributor
0 Likes
1,615

Hi,

we have reports containing only form routines to be used in sapscript like

[code]

/: perform get_values in program xyz

/: using ....

/: endperform.

[/code]

The report xyz is never reported in the workloadstats as being used. The where-used-list does not give a hint neither for the report nor for the form routines where they are used in a sapscript.

How can i find out that report xyz is used in a sapscript?

//Rainer

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
951

Hi Rainer,

I believe there is no such tool. I've found a program developed by Andrea Olivieri that seems to be useful for you.

http://wiki.sdn.sap.com/wiki/display/Snippets/Simple+ABAP+-+Search+4+Keywords+%28RegEX%29+in+SAPScri...

ps: the program of the above link uses the function READ_FORM to read the sapscript source and use REGEX to scan it.

Hope it helps.

Regards,

Christian

3 REPLIES 3
Read only

Former Member
0 Likes
952

Hi Rainer,

I believe there is no such tool. I've found a program developed by Andrea Olivieri that seems to be useful for you.

http://wiki.sdn.sap.com/wiki/display/Snippets/Simple+ABAP+-+Search+4+Keywords+%28RegEX%29+in+SAPScri...

ps: the program of the above link uses the function READ_FORM to read the sapscript source and use REGEX to scan it.

Hope it helps.

Regards,

Christian

Read only

edgar_nagasaki
Contributor
0 Likes
951

Hi Rainer,

Despite it's indeed required very often I don't think we have this kind of search tool...

What you could do is to look for an entry in table TTXFP (where you can find all printing programs linked to forms) using your main program name as selection criteria. If you find something there it would be a good indicator (also it will give you the form name so you would be able to do some research in it).

Edgar

Read only

Former Member
0 Likes
951

Hi Rainer,

Look for an entry in table TNAPR ( you can find processing programs assigned to output type) using your report name as selection criteria. If you find something there, it will give you the sap script name where the particular report has been used.

~Athreya