Free cookie consent management tool by TermsFeed Blog - Eursap's SAP Tips: Finding a string in all ABAP programs - a useful Trick | Eursap
Upload SAP CV Upload SAP Job Hiring? Let's discuss Improve my CV Promote my CV

Eursap's SAP Tips: Finding a string in all ABAP programs - a useful Trick

Nov 24,2020 | Written by Jon Simmonds

Eursap's SAP Tips: Finding a string in all ABAP programs - a useful Trick.

Calling all ABAPers! Do you sometimes need to find where a specific string is used in your system but don’t know where to start?

Perhaps you are creating an organisational object, like a plant or a company code, as a copy of an existing object. If you have not had rock solid governance over your SAP system, then it is highly possible that you might have hard coded values for your organisational object in various programs, user exits or function modules.

So how do you find these? There are thousands of programs, function modules and other ABAP objects – surely you can’t search them all?

Help is at hand. SAP have an ABAP program, RPR_ABAP_SOURCE_SCAN, which you can run which will help. This program can scan all programs, function modules and classes for the string you are looking for.

One thing to be aware of: this program can easily take hours if you run it with a “*” in the Program Name, for example.

To improve performance, restrict your selection to certain programs e.g. to search all the sales orders user exits, use “MV45A*” as a selection.

Enjoy!

Author: Jon Simmonds, Senior IT Architect

Looking for an SAP Job?
SAP Jobs
Looking to hire SAP Talent?
Hire Now