SAP Reports / Programs

RS_STREE_CHANGE_MASTER_LANG SAP ABAP Report - Change Structure Master Language







RS_STREE_CHANGE_MASTER_LANG 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_CHANGE_MASTER_LANG 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_CHANGE_MASTER_LANG. "Basic submit
SUBMIT RS_STREE_CHANGE_MASTER_LANG AND RETURN. "Return to original report after report execution complete
SUBMIT RS_STREE_CHANGE_MASTER_LANG 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: PA_LANG = New Master Language
Selection Text: PA_STRID = Structure ID
Title: Change Structure Master Language


INCLUDES used within this REPORT RS_STREE_CHANGE_MASTER_LANG

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 = pa_strid read_also_texts = 'X' all_languages = 'X' IMPORTING message = lv_message TABLES list_of_nodes = lt_list_of_nodes list_of_references = lt_list_of_references list_of_texts = lt_list_of_texts.

TR_OBJECT_CHECK CALL FUNCTION 'TR_OBJECT_CHECK' EXPORTING wi_ko200 = lv_ko200 IMPORTING we_order = lv_order we_task = lv_task EXCEPTIONS cancel_edit_other_error = 1 show_only_other_error = 2 OTHERS = 3.

STREE_STRUCTURE_EXIST CALL FUNCTION 'STREE_STRUCTURE_EXIST' EXPORTING structure_id = pa_strid read_from_database = 'X' IMPORTING structure_header = lv_header.

STREE_STRUCTURE_SAVE CALL FUNCTION 'STREE_STRUCTURE_SAVE' EXPORTING header = lv_header description = lv_description * EXTENSION = ' ' * NO_TRANSPORT_CHECK = ' ' transport_order = lv_order * IMPORTING * NEW_HEADER = * STRUCTURE_TADIR = * MESSAGE = TABLES * VISIBLE_NODE_TYPES = * ACTIVE_NODES = extension_sequence = lt_extension_sequence * STRUCTURE_DESCRIPTIONS = * DOUBLE_NODES = .

TRINT_CHANGE_TADIR_MASTERLANG CALL FUNCTION 'TRINT_CHANGE_TADIR_MASTERLANG' EXPORTING wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'SHI3' wi_tadir_obj_name = lv_objname wi_tadir_masterlang = pa_lang EXCEPTIONS object_has_no_tadir = 1 no_modification_of_head_syst = 2 obj_specification_not_unique = 3 pgmid_object_not_allowed = 4 masterlang_not_allowed = 5 OTHERS = 6.

STREE_EXTERNAL_TRANSPORT CALL FUNCTION 'STREE_EXTERNAL_TRANSPORT' EXPORTING structure_id = pa_strid transport_order = lv_order * IMPORTING * MESSAGE = * TABLES * USER_PARAMETERS = * ADDITIONAL_LANGUAGES = .

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_DEVCLASS = ' ' * RESULT_DISPLAY_RESPONSIBLE = ' ' * 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 = lv_header * SELECTED_TREE_TEXT = .



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