SAP Reports / Programs | Basis Components | Middleware | ALE Integration Technology(BC-MID-ALE) SAP BC

MSED5F02 SAP ABAP INCLUDE - Form routines for SAPMSED5







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


Text pool values


Title: Form routines for SAPMSED5


INCLUDES used within this REPORT MSED5F02

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:

RS_TREE_GET_NODE CALL FUNCTION 'RS_TREE_GET_NODE' EXPORTING NODE_ID = NODE_ID IMPORTING NODE_INFO = GT_SEGMENTS EXCEPTIONS ID_NOT_FOUND = 01.

SEGMENT_READ CALL FUNCTION 'SEGMENT_READ' EXPORTING SEGMENTTYP = PI_SEGTYP IMPORTING SEGMENTHEADER = L_HEADER EXCEPTIONS OTHERS = 1.

RS_TREE_DELETE_NODE CALL FUNCTION 'RS_TREE_DELETE_NODE' EXPORTING NODE_ID = PI_ID.

EDI_SEGMENT_INSERT_CHECK CALL FUNCTION 'EDI_SEGMENT_INSERT_CHECK' EXPORTING FLAGS = SED5STRUC NODE = PI_CNODE IMPORTING INSERT_OK = L_ANSWER AS_CHILD = L_AS_CHILD TABLES I_SEGMENTS = GT_SEGMENTS I_ATTRIBUTES = GT_ATTR.

RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' EXPORTING INSERT_ID = PI_CNODE-ID RELATIONSHIP = L_RELATION TABLES NODETAB = GT_SEGMENTS.

RS_TREE_GET_CURRENT_TREE CALL FUNCTION 'RS_TREE_GET_CURRENT_TREE' TABLES NODELIST = GT_TNODE_SHORT.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'Y' TEXTLINE1 = LINE1 TEXTLINE2 = LINE2 TITEL = TITLE START_COLUMN = 25 START_ROW = 6 IMPORTING ANSWER = L_ANSWER.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING TEXTLINE1 = LINE1 TEXTLINE2 = LINE2 TITEL = TITLE IMPORTING ANSWER = L_ANSWER.

EXTTYPE_READ CALL FUNCTION 'EXTTYPE_READ' EXPORTING PI_CIMTYP = L_CIMTYP IMPORTING PE_ATTRIBUTES = L_COPY_ATTR TABLES PT_SYNTAX = GT_CIMSYN PT_PRE_SYNTAX = GT_PREV_CIMSYN EXCEPTIONS OTHERS = 1.

EXTTYPE_READ CALL FUNCTION 'EXTTYPE_READ' EXPORTING PI_CIMTYP = L_CIMTYP IMPORTING PE_ATTRIBUTES = L_PREV_ATTR TABLES PT_SYNTAX = GT_CIMSYN * PT_PRE_SYNTAX = EXCEPTIONS OTHERS = 1.

IDOCTYPE_READ CALL FUNCTION 'IDOCTYPE_READ' EXPORTING PI_IDOCTYP = L_IDOCTYP TABLES PT_SYNTAX = GT_IDOCSYN.

IDOCTYPE_CORR_CHECK CALL FUNCTION 'IDOCTYPE_CORR_CHECK' EXPORTING PI_IDOCTYP = L_IDOCTYP * PI_TRKORR = * PI_DEVCLASS = EXCEPTIONS DISPLAY_ONLY = 1.

EXTTYPE_CORR_CHECK CALL FUNCTION 'EXTTYPE_CORR_CHECK' EXPORTING PI_CIMTYP = L_CIMTYP * PI_TRKORR = * PI_DEVCLASS = EXCEPTIONS DISPLAY_ONLY = 1.

TR_TASK_OVERVIEW CALL FUNCTION 'TR_TASK_OVERVIEW' EXPORTING IV_CATEGORY = 'SYST' IMPORTING EV_ORDER = SED5STRUC-STDCORR EV_TASK = SED5STRUC-STDTASK EXCEPTIONS INVALID_USERNAME = 01 INVALID_CATEGORY = 02 INVALID_CLIENT = 03 INTERNAL_ERROR = 04.

RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' TABLES NODETAB = GT_TNODE EXCEPTIONS TREE_FAILURE = 01 ID_NOT_FOUND = 02 WRONG_RELATIONSHIP = 03.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = TEXT-305 DIAGNOSE_OBJECT = C_DOC_UNCLOSE_IDOC TEXT_QUESTION = TEXT-302 TEXT_BUTTON_1 = TEXT-010 TEXT_BUTTON_2 = TEXT-011 DEFAULT_BUTTON = '2' IMPORTING ANSWER = L_ANSWER EXCEPTIONS TEXT_NOT_FOUND = 0 OTHERS = 0.

IDOCTYPE_UNCLOSE CALL FUNCTION 'IDOCTYPE_UNCLOSE' EXPORTING PI_IDOCTYP = L_IDOCTYP.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = TEXT-305 DIAGNOSE_OBJECT = C_DOC_UNCLOSE_EXT TEXT_QUESTION = TEXT-303 TEXT_BUTTON_1 = TEXT-010 TEXT_BUTTON_2 = TEXT-011 DEFAULT_BUTTON = '2' IMPORTING ANSWER = L_ANSWER EXCEPTIONS TEXT_NOT_FOUND = 0 OTHERS = 0.

EXTTYPE_UNCLOSE





CALL FUNCTION 'EXTTYPE_UNCLOSE' EXPORTING PI_CIMTYP = L_CIMTYP.



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