MSLDBF20 is a standard ABAP INCLUDE 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 MSLDBF20 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.
Title: Subroutines for Creating and Displaying Tree (Structure)
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RS_TREE_POP * CALL FUNCTION 'RS_TREE_POP' * EXCEPTIONS * EMPTY_STACK = 1 * OTHERS = 2.
RS_TREE_POP * CALL FUNCTION 'RS_TREE_POP' * EXCEPTIONS * EMPTY_STACK = 1 * OTHERS = 2.
RS_TREE_CREATE CALL FUNCTION 'RS_TREE_CREATE' EXPORTING ROOT_NAME = NODE-NAME * ROOT_TYPE = DISPLAY_ATTRIBUTES = L_NODE_ATTR IMPORTING ROOT_ID = NODE-ID EXCEPTIONS OTHERS = 1.
RS_TREE_ADD_NODE CALL FUNCTION 'RS_TREE_ADD_NODE' EXPORTING NEW_NAME = NODE-NAME INSERT_ID = L_TABLE_ID-ID RELATIONSHIP = C_RELATIONSHIP_LAST_SON DISPLAY_ATTRIBUTES = L_NODE_ATTR IMPORTING NEW_ID = NODE-ID.
RS_TREE_PUSH * CALL FUNCTION 'RS_TREE_PUSH' * EXCEPTIONS * OTHERS = 0.
RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING NODE_ID = ID_ROOT_REAL ALL = C_TRUE EXCEPTIONS OTHERS = 1.
RS_TREE_CONTROL_PREPARE * CALL FUNCTION 'RS_TREE_CONTROL_PREPARE' * EXPORTING * CONTROL_PATTERN = 'PH' "deflt: STREE_CTL_GENERIC * HIERARCHY_HEADER = 'Knoten' * LIST_ITEM_HEADER = 'Tabelle/Struktur' * MULTIPLE_SELECTION = C_TRUE "stree_true * ITEM_SELECTION = C_TRUE ** SUPPRESS_NODE_ICON = STREE_FALSE * CALLBACK_PROGRAM = L_PROGRAM_MAIN ** callback_item_display = ** COLOR_MAPPING = ** TYPE_MAPPING = ** IMPORTING ** SUBSCREEN_PROGRAM = ** SUBSCREEN_DYNNR = * EXCEPTIONS * NOT_AVAILABLE = 1 * OTHERS = 2 * .
RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING CALLBACK_PROGRAM = L_PROGRAM_MAIN "SY-REPID gibt Probl.
RS_TASK_OVERVIEW CALL FUNCTION 'RS_TASK_OVERVIEW'.
LDB_CONVERT_LDBNAME_2_DBPROG CALL FUNCTION 'LDB_CONVERT_LDBNAME_2_DBPROG' EXPORTING LDB_NAME = WA_LDBN_DEFINITION-LDBNAME FLAG_EXISTENCE_CHECK = C_FALSE IMPORTING PUT_NAME = L_PUT_NAME_NO_NUMBER NXXX_NAME = L_NXXX_NAME EXCEPTIONS WRONG_POSITION_OF_SLASHES = 1 LDB_NAME_TOO_LONG = 2 OTHERS = 3.
RS_DELETE_PROGRAM * CALL FUNCTION 'RS_DELETE_PROGRAM' * EXPORTING CORRNUMBER = L_CORRECTION_NUMBER * PROGRAM = L_PUT_NAME * SUPPRESS_CHECKS = ' ' * SUPPRESS_COMMIT = ' ' * SUPPRESS_POPUP = C_TRUE * WITH_INCLUDES = C_FALSE * EXCEPTIONS ENQUEUE_LOCK = 1 * OBJECT_NOT_FOUND = 2 * PERMISSION_FAILURE = 3 * REJECT_DELETION = 4 * OTHERS = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MSLDBF20 - Subroutines for Creating and Displaying Tree (Structure) MSLDBF10 - General Subroutines : Deleting, Copying LDBs MSLDBF08 - Subroutines: Generate Database Program SAPDBdba MSLDBF07 - Subroutines: Generate DBdbaSEL Selections MSLDBF06 - Subroutines: Selections, Program, Selection Texts MSLDBF02 - General Subroutines : String Processing for Generation