SAP Reports / Programs

RPR_ABAP_SOURCE_SCAN SAP ABAP Report - Scan ABAP Report Sources







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RPR_ABAP_SOURCE_SCAN. "Basic submit
SUBMIT RPR_ABAP_SOURCE_SCAN AND RETURN. "Return to original report after report execution complete
SUBMIT RPR_ABAP_SOURCE_SCAN VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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 (


INCLUDES used within this REPORT RPR_ABAP_SOURCE_SCAN

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RPR_ABAP_SOURCE_SCAN or its description.