SAP Reports / Programs

RS_STREE_REMOTE_COMPARE SAP ABAP Report - Copare structures in two systems







RS_STREE_REMOTE_COMPARE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RS_STREE_REMOTE_COMPARE 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_STREE_REMOTE_COMPARE. "Basic submit
SUBMIT RS_STREE_REMOTE_COMPARE AND RETURN. "Return to original report after report execution complete
SUBMIT RS_STREE_REMOTE_COMPARE 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: SUBSTRU = Expand substructures
Selection Text: STRU_ID = Structure ID
Selection Text: RFC_DEST = RFC link
Selection Text: ERR_ONLY = Display errors only
Title: Copare structures in two systems
Text Symbol: 003 = The structure is identical in the two systems
Text Symbol: 002 = Remote system structure result:
Text Symbol: 001 = System structure result:


INCLUDES used within this REPORT RS_STREE_REMOTE_COMPARE

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:

STREE_HIERARCHY_READ CALL FUNCTION 'STREE_HIERARCHY_READ' EXPORTING STRUCTURE_ID = STRU_ID * FILTER_ID = ' ' READ_ALSO_TEXTS = 'X' * LANGUAGE = SY-LANGU * ALL_LANGUAGES = ' ' DISPLAY_MODE = 'D' * IMPORTING * MESSAGE = TABLES LIST_OF_NODES = NODES1L1 LIST_OF_REFERENCES = REFS1 LIST_OF_TEXTS = TEXTS1.

STREE_STRUCTURE_INSERT_SUBSTRU CALL FUNCTION 'STREE_STRUCTURE_INSERT_SUBSTRU' EXPORTING * FILTER_ID = ' ' READ_ALSO_REFERENCES = 'X' READ_ALSO_TEXTS = 'X' * LANGUAGE = SY-LANGU TABLES I_STRUCTURE = NODES1L1 E_STRUCTURE = NODES1 E_REFERENCES = REFS1L2 E_TEXTS = TEXTS1L2 * USER_PARAMETERS = .

STREE_HIERARCHY_READ CALL FUNCTION 'STREE_HIERARCHY_READ' DESTINATION RFC_DEST EXPORTING STRUCTURE_ID = STRU_ID * FILTER_ID = ' ' READ_ALSO_TEXTS = 'X' * LANGUAGE = SY-LANGU * ALL_LANGUAGES = ' ' DISPLAY_MODE = 'D' * IMPORTING * MESSAGE = TABLES LIST_OF_NODES = NODES2L1 LIST_OF_REFERENCES = REFS2 LIST_OF_TEXTS = TEXTS2.

STREE_STRUCTURE_INSERT_SUBSTRU CALL FUNCTION 'STREE_STRUCTURE_INSERT_SUBSTRU' DESTINATION RFC_DEST EXPORTING * FILTER_ID = ' ' READ_ALSO_REFERENCES = 'X' READ_ALSO_TEXTS = 'X' * LANGUAGE = SY-LANGU TABLES I_STRUCTURE = NODES2L1 E_STRUCTURE = NODES2 E_REFERENCES = REFS2L2 E_TEXTS = TEXTS2L2 * USER_PARAMETERS = .

SCT2_GET_RFC_DESTINATION_POPUP CALL FUNCTION 'SCT2_GET_RFC_DESTINATION_POPUP' * EXPORTING * IV_POPUP_START_X = 5 * IV_POPUP_START_Y = 5 * IV_INFO_TXT_OBJ = ' ' * IV_INFO_BUTTON = ' ' * IV_TITLE = ' ' * IMPORTING * EV_RFC_DEST_TEXT = * ES_RFC_DEST_INFO = CHANGING CV_RFC_DEST = RFC_DEST EXCEPTIONS RFC_DEST_NOT_FOUND = 1 CANCEL_BUTTON_PRESSED = 2 OTHERS = 3.

STREE_EXTERNAL_SEARCH CALL FUNCTION 'STREE_EXTERNAL_SEARCH' * EXPORTING * DISPLAY_F4_POPUP = 'X' * MULTIPLE_SELECTION = ' ' * DEFAULT_VALUE_TEXT = ' ' * TITLE_OF_WINDOW = ' ' * TITLE_OF_FRAME1 = ' ' * TITLE_OF_FRAME2 = ' ' * TITLE_OF_F4_POPUP = ' ' * RESULT_DISPLAY_ALL_SEL_PARAMET = ' ' * RESULT_DISPLAY_TREE_TYPE = ' ' * RESULT_DISPLAY_LAST_USER = ' ' * RESULT_DISPLAY_LAST_DATE = ' ' * RESULT_DISPLAY_LAST_RELEASE = ' ' * RESULT_DISPLAY_FIRST_USER = ' ' * RESULT_DISPLAY_FIRST_DATE = ' ' * RESULT_DISPLAY_FIRST_RELEASE = ' ' IMPORTING * MESSAGE = SELECTED_TREE_HEADER = SELECTED_TREE_HEADER SELECTED_TREE_TEXT = SELECTED_TREE_TEXT TABLES STRUCTURE_TYPES = STRUCTURE_TYPES * STRUCTURES_FOUND = * SELECTED_FIELDS = * EXCLUDED_STRUCTURE_IDS = * SELECTED_TREE_HEADERS = * SELECTED_TREE_TEXTS = .



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