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

MSED4F02 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT MSED4F02

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:

SEGMENT_CREATE_CHECK CALL FUNCTION 'SEGMENT_CREATE_CHECK' EXPORTING segtyp = g_header-segtyp EXCEPTIONS ddic_structure_already_exist = 1 check_failed = 2 OTHERS = 3.

SEGMENT_CREATE CALL FUNCTION 'SEGMENT_CREATE' EXPORTING segmenteditor = 'X' IMPORTING segmentdefinition = g_definition TABLES segmentstructure = gt_structure CHANGING segmentheader = g_header * DEVCLASS = sed4struc-sgdevclass order = sed4struc-order EXCEPTIONS lock_error = 1 creation_failed = 2 no_authority = 3 transport_error = 4 OTHERS = 5.

SEGMENT_MODIFY CALL FUNCTION 'SEGMENT_MODIFY' CHANGING segmentheader = g_header devclass = sed4struc-sgdevclass order = sed4struc-order EXCEPTIONS segment_not_existing = 1 lock_error = 2 change_failed = 3 no_authority = 4 transport_error = 5 OTHERS = 6.

SEGMENTDEFINITION_MODIFY CALL FUNCTION 'SEGMENTDEFINITION_MODIFY' TABLES segmentstructure = gt_structure CHANGING segmentdefinition = g_definition order = sed4struc-order EXCEPTIONS no_authority = 1 segment_not_existing = 2 lock_error = 3 change_failed = 4 transport_error = 5 OTHERS = 6.

SEGMENT_MODIFY CALL FUNCTION 'SEGMENT_MODIFY' CHANGING segmentheader = g_header devclass = sed4struc-sgdevclass order = sed4struc-order EXCEPTIONS segment_not_existing = 1 lock_error = 2 change_failed = 3 no_authority = 4 transport_error = 5 OTHERS = 6.

SEGMENTDEFINITION_APPEND CALL FUNCTION 'SEGMENTDEFINITION_APPEND' EXPORTING segmenttyp = g_header-segtyp IMPORTING segmentdefinition = g_definition TABLES segmentstructure = gt_structure CHANGING order = sed4struc-order EXCEPTIONS no_authority = 1 segment_not_existing = 2 change_failed = 3 transport_error = 4 lock_error = 5 OTHERS = 6.

POPUP_TO_CONFIRM_DATA_LOSS ** CALL FUNCTION 'POPUP_TO_CONFIRM_DATA_LOSS' NOT YET in BCO!!!!!!! ** exPORTING ** TITEL = text-chg ** imPORTING ** ANSWER = p_answer ** EXCEPTIONS ** OTHERS = 0.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-los textline2 = text-sav titel = text-chg IMPORTING answer = p_answer EXCEPTIONS OTHERS = 0.

RS_DD_DTEL_SHOW CALL FUNCTION 'RS_DD_DTEL_SHOW' EXPORTING objname = gt_structure-rollname EXCEPTIONS object_not_found = 1 object_not_specified = 2 permission_failure = 3 OTHERS = 4.

DDUT_TYPE_TO_LENGTH CALL FUNCTION 'DDUT_TYPE_TO_LENGTH' EXPORTING type = p_rollname IMPORTING destlen = p_expleng EXCEPTIONS not_found = 1 conversion_impossible = 2 OTHERS = 3.

SEGMENT_NAMING_CHECK CALL FUNCTION 'SEGMENT_NAMING_CHECK' EXPORTING segtyp = pi_object modus = c_nmode_create.

SEGMENT_READ CALL FUNCTION 'SEGMENT_READ' EXPORTING segmenttyp = pi_object IMPORTING result = l_result devclass = l_devclass.

TR_TADIR_POPUP_ENTRY_E071 CALL FUNCTION 'TR_TADIR_POPUP_ENTRY_E071' EXPORTING wi_e071_pgmid = c_pgmid_r3tr wi_e071_object = c_obj_tabl wi_e071_obj_name = l_obj_name * WI_E071_GENNUM = ' ' * WI_MESSAGE_ENTER_DEVCLASS = ' ' wi_read_only = l_display wi_tadir_devclass = l_devclass * WI_TADIR_GENFLAG = ' ' * WI_TADIR_MASTERLANG = ' ' * IMPORTING * WE_TADIR = * ES_TDEVC = EXCEPTIONS display_mode = 1 exit = 2 global_tadir_insert_error = 3 no_repair_selected = 4 no_systemname = 5 no_systemtype = 6 no_tadir_type = 7 reserved_name = 8 tadir_enqueue_failed = 9 devclass_not_found = 10 tadir_not_exist = 11 object_exists = 12 internal_error = 13 object_append_error = 14 tadir_modify_error = 15 object_locked = 16 no_object_authority = 17 OTHERS = 18.

SEGMENT_READ CALL FUNCTION 'SEGMENT_READ' EXPORTING segmenttyp = p_pi_object * IMPORTING * RESULT = * DEVCLASS = * SEGMENTHEADER = TABLES segmentdefinition = int_segmentdefinition * SEGMENTSTRUCTURE = EXCEPTIONS no_authority = 1 segment_not_existing = 2 OTHERS = 3.

TEXT_TRANSLATION_CALL CALL FUNCTION 'TEXT_TRANSLATION_CALL' EXPORTING object_name = p_segtyp objekt_type = 'TABT' * SOURCELANG = SY-LANGU * TARGETLANG = 'EN' .



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