SAP Reports / Programs

RS_ABAP_SOURCE_SCAN SAP ABAP Report - Source Scan ABAP Report







RS_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 Search ABAP program code/screen flow logic for certain texts (strings)...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 RS_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 RS_ABAP_SOURCE_SCAN. "Basic submit
SUBMIT RS_ABAP_SOURCE_SCAN AND RETURN. "Return to original report after report execution complete
SUBMIT RS_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 .
Selection Text: SUBC = D .
Selection Text: REPNAME = D .
Selection Text: P_CLASS = D .
Selection Text: FUNCGRP = D .
Selection Text: DEVCLASS = D .
Selection Text: APPL = D .
Selection Text: SSTRING = String searched for
Selection Text: RB_DYN = Screen Flow Logic
Selection Text: RB_CODE = ABAP Program(s)
Selection Text: RB_ALL = ABAP and Dynpro
Selection Text: P_VERS = Version Database
Selection Text: P_REGEX = String is regular expression
Selection Text: PLUSMINU = Found Location +/- x Lines
Selection Text: MODIASS = Modification Assistant Changes
Selection Text: INCLU = Explode INCLUDEs
Selection Text: DYNNR = Screen
Selection Text: COMMENT = Ignore Comment Lines
Selection Text: CNAM = Program Author
Title: Source Scan ABAP Report
Text Symbol: A30 = Search Range
Text Symbol: A20 = Search Criteria
Text Symbol: A13 = Class Selection
Text Symbol: A12 = Function Group Selection
Text Symbol: A11 = Pack.Selection
Text Symbol: A10 = Report/Dynpro Selection
Text Symbol: A05 = Search Term
Text Symbol: 005 = Version
Text Symbol: 004 = Program:
Text Symbol: 002 = Source Scan for String:
Text Symbol: 001 = Hits


INCLUDES used within this REPORT RS_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:

RS_SCRP_SHOW_VERS CALL FUNCTION 'RS_SCRP_SHOW_VERS' EXPORTING infolna = ls_infolna infolnb = ls_infolnb objname = lv_object_name versno = is_alv_item-versno EXCEPTIONS OTHERS = 0.

SVRS_GET_REPS_FROM_OBJECT CALL FUNCTION 'SVRS_GET_REPS_FROM_OBJECT' EXPORTING object_name = lv_object_name object_type = 'REPS' versno = is_alv_item-versno iv_no_release_transformation = gc_x TABLES repos_tab = lt_abap trdir_tab = lt_trdir EXCEPTIONS no_version = 1 OTHERS = 2.

RS_SCRP CALL FUNCTION 'RS_SCRP' EXPORTING abl_line = is_alv_item-line_no dynnr = is_alv_item-dynnr progname = is_alv_item-repname wanted_mode = 'SHOW' EXCEPTIONS OTHERS = 0.

EDITOR_PROGRAM CALL FUNCTION 'EDITOR_PROGRAM' EXPORTING appid = 'PG' display = gc_x program = is_alv_item-repname line = is_alv_item-line_no topline = is_alv_item-line_no EXCEPTIONS OTHERS = 0.

RS_PROGRAM_VERSIONS CALL FUNCTION 'RS_PROGRAM_VERSIONS' EXPORTING progname = is_alv_header-repname EXCEPTIONS OTHERS = 0.

RS_SCRP_VERSION CALL FUNCTION 'RS_SCRP_VERSION' EXPORTING dynnr = is_alv_header-dynnr progname = is_alv_header-repname no_update = gc_x.

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING program = sy-repid restriction = ls_restrict EXCEPTIONS OTHERS = 0.

REPOSITORY_INFO_SYSTEM_F4 CALL FUNCTION 'REPOSITORY_INFO_SYSTEM_F4' EXPORTING object_type = 'PROG' object_name = cv_repname suppress_selection = 'X' IMPORTING object_name_selected = cv_repname EXCEPTIONS cancel = 0.

RS_HELP_HANDLING CALL FUNCTION 'RS_HELP_HANDLING' EXPORTING dynpfield = lv_fname dynpname = sy-dynnr object = 'FG ' progname = sy-repid suppress_selection_screen = 'X'.

F4_DD_ALLTYPES CALL FUNCTION 'F4_DD_ALLTYPES' EXPORTING object = cv_class_name suppress_selection = gc_x display_only = space only_types_for_clifs = gc_x IMPORTING result = cv_class_name.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text.

SVRS_GET_REPS_FROM_OBJECT CALL FUNCTION 'SVRS_GET_REPS_FROM_OBJECT' EXPORTING object_name = lv_object_name object_type = 'REPS' versno = iv_versno iv_no_release_transformation = 'X' TABLES repos_tab = rt_abap trdir_tab = lt_trdir EXCEPTIONS no_version = 1 OTHERS = 2.

SVRS_GET_VERSION_DYNP_40 CALL FUNCTION 'SVRS_GET_VERSION_DYNP_40' EXPORTING object_name = lv_object_name versno = iv_versno TABLES d022s_tab = lt_d022s EXCEPTIONS OTHERS = 1.

SVRS_GET_VERSION_DIRECTORY_46 CALL FUNCTION 'SVRS_GET_VERSION_DIRECTORY_46' EXPORTING objname = lv_objname objtype = lv_objtype TABLES lversno_list = lt_vrsn version_list = lt_vrsd EXCEPTIONS OTHERS = 1.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = percentage text = text.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'SEARCH DYNPRO SOURCES...'.

RS_GET_ALL_INCLUDES CALL FUNCTION 'RS_GET_ALL_INCLUDES' EXPORTING program = lv_program TABLES includetab = lt_inc_tmp EXCEPTIONS OTHERS = 0.

FUNCTION_INCLUDE_CONCATENATE CALL FUNCTION 'FUNCTION_INCLUDE_CONCATENATE' CHANGING program = lv_program complete_area = lv_fgroup EXCEPTIONS OTHERS = 1.

SAPGUI_PROGRESS_INDICATOR





CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'GET INCLUDES...'.



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 RS_ABAP_SOURCE_SCAN or its description.