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

Scanning for a String in SAP Repository?

Former Member
0 Likes
5,389

Hello all,

soon we have a company code merge in our company.

So we need a tool to scan all sources on the System where the Company code is hard in the code.

i.E: Reports, Function Modules, SAP Script Forms, Methods of Objects etc.

To Program this piece of code may not the problem for me, but before I start I wanted to ask if there is a "official" solution from SAP.

For Reports I found the following Report:

RPR_ABAP_SOURCE_SCAN

Just that you get a feeling what I am searching for.

Greets,

Lars

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,675

Hi Lars,

     I suppose the program RPR_ABAP_SOURCE_SCAN can be used for searching a string in objects other than reports also. If you see the input for the program, it has a field Program Type which will give you wide range of options.

~Athreya

6 REPLIES 6
Read only

Former Member
0 Likes
2,676

Hi Lars,

     I suppose the program RPR_ABAP_SOURCE_SCAN can be used for searching a string in objects other than reports also. If you see the input for the program, it has a field Program Type which will give you wide range of options.

~Athreya

Read only

0 Likes
2,675

Hi Athreya,

yes I see now. But it doesnt work  with SAP Script and Smartforms, but for this there is maybe an other solution, or I program it by myself.

Lars

Read only

0 Likes
2,675

For Smartforms, you can scan function groups /1BCDWB/SF*

If you have report RS_ABAP_SOURCE_SCAN in your system as well, use that one, it's newer and has a few more features.

Not sure if there is something for SAPScripts, get rid of these anyway on this occasion

Thomas

Read only

0 Likes
2,675

I would but thats not in my decision 😉

I found out our Smartforms are clean. For the SAP Scripts i write a Small ABAP.

Thanx a lot..

Read only

Former Member
0 Likes
2,675

Hi,

for this scope, also, you can verify transaction code_scanner.

Check this and see if it is ok for your request.

If your problem is solved, closed this issue, please.

Regards

Ivan

Read only

Former Member
0 Likes
2,675

Hi,

You can try with AFX_CODE_SCANNER instead of RPR_ABAP_SOURCE_SCAN.

Thanks,

Namrata