SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Report Tree(BC-SRV-REP) SAP BC

MSERPF00 SAP ABAP INCLUDE - General Subroutines







MSERPF00 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 MSERPF00 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 MSERPF00. "Basic submit
SUBMIT MSERPF00 AND RETURN. "Return to original report after report execution complete
SUBMIT MSERPF00 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: General Subroutines


INCLUDES used within this REPORT MSERPF00

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:

ENQUEUE_ESSERP CALL FUNCTION 'ENQUEUE_ESSERP' EXPORTING TREE_ID = P_TREE_ID * ID = ' ' EXCEPTIONS FOREIGN_LOCK = 01 SYSTEM_FAILURE = 02.

DEQUEUE_ESSERP CALL FUNCTION 'DEQUEUE_ESSERP' EXPORTING TREE_ID = P_TREE_ID.

ENQUEUE_ESSERPNODE CALL FUNCTION 'ENQUEUE_ESSERPNODE' EXPORTING TREE_ID = TREE_ID NODE = P_NODE SUSER = L_USER EXCEPTIONS FOREIGN_LOCK = 01 SYSTEM_FAILURE = 02.

DEQUEUE_ESSERPNODE CALL FUNCTION 'DEQUEUE_ESSERPNODE' EXPORTING TREE_ID = TREE_ID NODE = P_NODE SUSER = L_USER.

K_RW_APPLICATION_TREE_GET CALL FUNCTION 'K_RW_APPLICATION_TREE_GET' EXPORTING I_APPL = APPL_ID IMPORTING E_TREE = L_LONG_TREE_ID EXCEPTIONS NO_TREE_SET = 01. "#EC *

RS_TREE_SET_CURRENT_TREE CALL FUNCTION 'RS_TREE_SET_CURRENT_TREE' TABLES NODELIST = P_SNODE.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING ALL = 'X' NODE_ID = L_ROOT_ID EXCEPTIONS NOT_FOUND = 01.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING ALL = SPACE NODE_ID = L_ROOT_ID EXCEPTIONS NOT_FOUND = 01.

RS_TREE_CREATE CALL FUNCTION 'RS_TREE_CREATE' EXPORTING ROOT_NAME = TREE_ID.

RS_TREE_SET_CURRENT_LAYOUT CALL FUNCTION 'RS_TREE_SET_CURRENT_LAYOUT' EXPORTING FIRST_NODE = P_ROOT_ID "root of subtree TABLES LAYOUT = L_SEUTEXPAND.

RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING CALLBACK_PROGRAM = C_MAIN_PROGRAM CALLBACK_TEXT_DISPLAY = C_TEXT_FORM "name of form for texts CALLBACK_USER_COMMAND = C_EVENT_FORM "name of form at events CHECK_DUPLICATE_NAME = '1'"eindeutige Namen LOWER_CASE_SENSITIVE = ' ' MODIFICATION_LOG = 'X' NODE_LENGTH = 30 RETURN_MARKED_SUBTREE = C_TRUE SUPPRESS_NODE_OUTPUT = ' '.

RS_TREE_GET_CURRENT_TREE CALL FUNCTION 'RS_TREE_GET_CURRENT_TREE' TABLES NODEINFO = OLD_SNODE.

RS_TREE_SET_NODE CALL FUNCTION 'RS_TREE_SET_NODE' EXPORTING NODE_INFO = I_NODE_INFO "read in rename_node EXCEPTIONS ID_NOT_FOUND = 1 OTHERS = 2.

DSYS_OUTLINE_BROWSE CALL FUNCTION 'DSYS_OUTLINE_BROWSE' EXPORTING DOKLANGU = SY-LANGU HOMETEXT = 'Reportingtree'(100) OUTLINE = OUTLINE EXCEPTIONS OUTLINE_NOT_FOUND = 01.

RS_TREE_GET_MODIFICATION_LOG CALL FUNCTION 'RS_TREE_GET_MODIFICATION_LOG' TABLES ADD_NODES = L_ADD_NODES DEL_NODES = L_DEL_NODES MOD_NODES = L_MOD_NODES.

RS_REPORTINGTREE_NODE_AUTH CALL FUNCTION 'RS_REPORTINGTREE_NODE_AUTH' EXPORTING AUTHGROUP = L_ACT_AUTH EXCEPTIONS NO_SUBMIT_AUTH = 01.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TEXTLINE1 = 'Node changed'(020) TEXTLINE2 = 'Save previously?'(021) TITEL = 'Change -> Display'(019) IMPORTING ANSWER = L_ANSWER.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TEXTLINE1 = 'Tree changed'(023) TEXTLINE2 = 'Save previously?'(021) TITEL = 'Back'(022) IMPORTING ANSWER = L_ANSWER.

RS_TREE_SET_CURRENT_TREE





CALL FUNCTION 'RS_TREE_SET_CURRENT_TREE' TABLES NODEINFO = P_OLD_SNODE.

RS_LIST_FROM_SERPLISTS CALL FUNCTION 'RS_LIST_FROM_SERPLISTS' EXPORTING I_SREPOLIST = L_I_SREPOLIST TABLES T_LISTOBJECT = L_I_LISTOBJECT EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

RS_LIST_TO_SERPLISTS_NO_DIALOG CALL FUNCTION 'RS_LIST_TO_SERPLISTS_NO_DIALOG' EXPORTING I_SREPOLIST = L_I_SREPOLIST TABLES T_LISTOBJECT = L_I_LISTOBJECT EXCEPTIONS EXPORT_FAILURE = 1 OTHERS = 2.

SUSR_AUTHORITY_CHECK_S_TCODE CALL FUNCTION 'SUSR_AUTHORITY_CHECK_S_TCODE' EXPORTING TCODE = 'SA38' IMPORTING RC = L_SUBRC.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = 'SA38' EXCEPTIONS OK = 0 OTHERS = 4.

RS_TREE_ADD_NODE CALL FUNCTION 'RS_TREE_ADD_NODE' EXPORTING NEW_NAME = P_NEW_NODES-NAME INSERT_ID = P_SELECTED_NODE-ID RELATIONSHIP = P_NEW_NODES-RELATIONSHIP IMPORTING NODE_INFO = L_NODE_INFO EXCEPTIONS ID_NOT_FOUND = 1 OTHERS = 2.

RS_TREE_GET_MODIFICATION_LOG CALL FUNCTION 'RS_TREE_GET_MODIFICATION_LOG' TABLES ADD_NODES = L_ADD_NODES DEL_NODES = L_DEL_NODES MOD_NODES = L_MOD_NODES.

K_RW_REPORT_ADD CALL FUNCTION 'K_RW_REPORT_ADD' EXPORTING I_TYPE = SREPOTYPES-REPORTTYPE IMPORTING E_TYPE = SREPOVARI-REPORTTYPE E_VARIANT = SREPOVARI-VARIANT E_EXTDREPORT = SREPOVARI-EXTDREPORT E_REPORT = SREPOVARI-REPORT EXCEPTIONS NO_REPORT = 01 USER_ABEND = 02. "#EC *



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