RPR_ABAP_SOURCE_SCAN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for ABAP Source Code Scanner,, To search ABAP program code/screen flow logic for specific texts (strings) Here several texts can be entered for which the system searches...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RPR_ABAP_SOURCE_SCAN into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: UNAM = D Last changed by
Selection Text: SUBC = D Program type
Selection Text: SSTRING = Find string
Selection Text: REPNAME = D Program name
Selection Text: RB_DYN = Screen flow logic
Selection Text: RB_CODE = ABAP program(s)
Selection Text: RB_ALL = ABAP and screen
Selection Text: PLUSMINU = Found location +/- x lines
Selection Text: MODIASS = Change modification assistent
Selection Text: MASK = Masked search
Selection Text: INCLU = Expand INCLUDEs
Selection Text: DYNNR = Screen
Selection Text: DEVCLASS = D Development class
Selection Text: COMMENT = Ignore comment lines
Selection Text: CNAM = D Created by
Selection Text: APPL = D Application
Title: Scan ABAP Report Sources
Text Symbol: T02 = Time:
Text Symbol: T01 = Date:
Text Symbol: M03 = Invalid cursor position
Text Symbol: M02 = Hits for string
Text Symbol: M01 = not found
Text Symbol: H01 = Source scan for string:
Text Symbol: A30 = Search area
Text Symbol: A20 = Search Criteria
Text Symbol: A10 = Report/Screen selection
Text Symbol: 006 = String
Text Symbol: 005 = Source Code Line Screen
Text Symbol: 004 = Screen
Text Symbol: 003 = Enter search string
Text Symbol: 002 = Source Code Line Report
Text Symbol: 001 = Line Source Code (
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GET_INCLUDES * CALL FUNCTION 'GET_INCLUDES' * EXPORTING * progname = irdir-name * TABLES * incltab = itab_ii.
EDITOR_PROGRAM * CALL FUNCTION 'EDITOR_PROGRAM' * EXPORTING * display = 'X' * program = ftab-repname * topline = ftab-line_no * EXCEPTIONS * OTHERS = 1.
RS_SCRP * CALL FUNCTION 'RS_SCRP' * EXPORTING * abl_line = dtab-line_no * dynnr = dtab-dynnr * progname = dtab-repname * wanted_mode = 'SHOW' * EXCEPTIONS * already_exists = 1 * not_found = 2 * not_executed = 3 * OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.