Picture this. In about 30,000 programs in system, checking on wherever word ‘Kennedy’ is hardcoded and if so, it had to be replaced with ‘Johnson’. It was done for 5 programs and nobody remembers them.

To scan string (even regular expression), program RPR_ABAP_SOURCE_SCAN is a standard executable report that comes to aid. Some major features –

  1. Lot of search options are available. Restriction on package name being one of such options
  2. Regular expressions can be used for search
  3. Search on includes is possible
  4. +/- ‘n’ lines can be displayed for every successful search
  5. Comments can be ignored

Another similar program is RS_ABAP_SOURCE_SCAN. While screens are different, they achieve the same up to a great extent.

 

~S