SAPMBA04 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 SAPMBA04 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: APPL = Application
Title: Application analysis: Maintain analysis tree
Text Symbol: 001 = Delete sub-nodes from
Text Symbol: 002 = Delete all sub-nodes?
Text Symbol: 003 = Repeated nodes
Text Symbol: 004 = Node already existed, choose other nodes
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BAM4_AUTHORITY_CHECK CALL FUNCTION 'BAM4_AUTHORITY_CHECK'.
ENQUEUE_E_BAMUIT CALL FUNCTION 'ENQUEUE_E_BAMUIT' EXPORTING appl = appl EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = 'SAPMBA04' callback_user_command = 'MAIN_TREE_COMMAND' callback_text_display = 'MAIN_DISPLAY' status = 'TREE1' " 'STANDARD' screen_start_column = 10 screen_start_line = 0 screen_end_column = 85 EXCEPTIONS OTHERS = 1.
RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' TABLES nodetab = treelist EXCEPTIONS tree_failure = 1 id_not_found = 2 wrong_relationship = 3 OTHERS = 4.
RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING node_id = treelist-id EXCEPTIONS not_found = 1 OTHERS = 2.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = 'Delete all sub-nodes of'(001) textline2 = curr_node titel = 'Delete sub-node ?'(002) IMPORTING answer = answer.
RS_TREE_GET_CURRENT_TREE CALL FUNCTION 'RS_TREE_GET_CURRENT_TREE' TABLES * NODELIST = nodeinfo = treelist EXCEPTIONS OTHERS = 1.
RS_TREE_SET_CURRENT_TREE *call function 'RS_TREE_SET_CURRENT_TREE' * tables * NODELIST = * nodeinfo = treelist * exceptions * others = 1.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = 'Duplicate Node'(003) txt1 = 'Node already exists, enter a different node.'(004)
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = 'Duplicate Node'(003) txt1 = 'Node already exists, enter a different node.'(004)
RS_TREE_ADD_NODE CALL FUNCTION 'RS_TREE_ADD_NODE' EXPORTING new_name = ui-node insert_id = old_parent relationship = relation * LINK = ' ' * NEW_TYPE = ' ' display_attributes = dattr IMPORTING new_id = nid * node_info = EXCEPTIONS id_not_found = 1 OTHERS = 2.
RS_TREE_SET_NODE CALL FUNCTION 'RS_TREE_SET_NODE' EXPORTING node_info = treenode EXCEPTIONS id_not_found = 1 OTHERS = 2.
RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING node_id = treenode-id EXCEPTIONS not_found = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SAPMBA04 - Application analysis: Maintain analysis tree SAPMBA04 - Application analysis: Maintain analysis tree SAPMBA03 - Application Analysis: Initial Transaction ST14 with Analysis Tree SAPMBA03 - Application Analysis: Initial Transaction ST14 with Analysis Tree SAPMBA02 - Application Analysis: Table and Source Code Analysis SAPMBA02 - Application Analysis: Table and Source Code Analysis