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

Finding hardcoded Profit Center in programs

Former Member
0 Likes
662

Hi All,

I have requirement, asking me to find all the programs where profit center is hard coded.

Can any body tell me how to find ?

One thing that comes to my mind is search using WHERE USED LIST for MARC-PRCTR.

But i am not sure this will give me the information accurately.

Regards,

Robin

5 REPLIES 5
Read only

former_member404244
Active Contributor
0 Likes
587

Hi,

yes you can use that or use the program RS_ABAP_SOURCE_SCAN program.

Regards,

Nagaraj

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
587

>

> One thing that comes to my mind is search using WHERE USED LIST for MARC-PRCTR.

If this is what you want to do, god help !!

If you have specific profit centre in mind you can use the programs: AFX_CODE_SCANNER or RS_ABAP_SOURCE_SCAN to check the programs where the value was used. I personally favor the former

Read only

Former Member
0 Likes
587

Hi Robin,

the below reports are Used to find the hard code texts in the Program which are in single quotes.

RPR_ABAP_SOURCE_SCAN -Scan ABAP Report Sources

RS_ABAP_SOURCE_SCAN -Source Scan ABAP Report

Regards

Prabhudas

Read only

Former Member
0 Likes
587

Thanks All for your replies.....

I will checkout your solutions and let you know....

Regards,

Sumanth

Read only

0 Likes
587

Thanks all..... Your answers solved my problem and i have awarded points to you all....