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

Search Hardcoded values in Prg

Former Member
0 Likes
828

Hi All,

I need to search for some Hard coded values inside the all Z PRograms.

IS there any way to do it other than manaully use Find on each of Inclueds and main prg?

I have 11 Company codes and respective VAT # for each.

I have more than 1000 Prgrams with minimum 5-6 includes in each.

Please suggest a way out.

Regards

Ramesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
753

Hi

Check the std program

RPR_ABAP_SOURCE_SCAN

to search for the particular command in program source code

Regards

Anji

Hi All,

I need to search for some Hard coded values inside the all Z PRograms.

IS there any way to do it other than manaully use Find on each of Inclueds and main prg?

I have 11 Company codes and respective VAT # for each.

I have more than 1000 Prgrams with minimum 5-6 includes in each.

Please suggest a way out.

Regards

Ramesh

4 REPLIES 4
Read only

Former Member
0 Likes
753

go to transaction SLIN, type the program name for which you ned to remove the hard cocded values , uncheck all the checkboxes and check only the

" Character strings " check box... it will list all the hardcoded values in program...

Read only

Former Member
0 Likes
754

Hi

Check the std program

RPR_ABAP_SOURCE_SCAN

to search for the particular command in program source code

Regards

Anji

Read only

Former Member
0 Likes
753

Hi,

You can use the program RS_ABAP_SOURCE_SCAN to scan report source code.

Reward points if helpful,

regards,

jinesh.

Read only

Former Member
0 Likes
753

go to tcode SLIN

remove all hardcoded values

check only check box

regards

Giridhar