SAP Reports / Programs | Logistics - General | Logistics Basic Data | Bills of Material(LO-MD-BOM) SAP LO

CSDSSE01 SAP ABAP INCLUDE - BOM Distribution, Send Direct: Common Code







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


Text pool values


Title: BOM Distribution, Send Direct: Common Code


INCLUDES used within this REPORT CSDSSE01

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:

ALE_MODEL_INFO_GET CALL FUNCTION 'ALE_MODEL_INFO_GET' EXPORTING message_type = p_mestyp receiving_system = p_logsys * SENDING_SYSTEM = ' ' * VALIDDATE = SY-DATUM TABLES model_data = ale_model EXCEPTIONS no_model_info_found = 1 own_system_not_defined = 2 OTHERS = 3.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING display = disp IMPORTING select_value = mescod TABLES fields = t_help_value valuetab = values.

ALE_MODEL_INFO_GET CALL FUNCTION 'ALE_MODEL_INFO_GET' EXPORTING message_type = p_mestyp TABLES model_data = ale_model EXCEPTIONS no_model_info_found = 0 own_system_not_defined = 0 OTHERS = 0.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING tabname = 'TBDLS' fieldname = 'LOGSYS' IMPORTING select_value = logsys TABLES fields = t_help_value valuetab = values.

MASTER_IDOC_CREATE_BOMMAT CALL FUNCTION 'MASTER_IDOC_CREATE_BOMMAT' EXPORTING matnr = obst-matnr werk = obst-werks stlan = obst-stlan stlal = obst-stlal datuv = obst-datuv ale_datuv = obst-ale_datuv ale_aennr = obst-ale_aennr rcvprn = p_logsys "#EC DOM_EQUAL mescod = p_mescod dlock_ignore = p_dlign smd_tool = ' ' * message_type = p_mestyp "note731473 IMPORTING created_comm_idocs = created_comm_idocs EXCEPTIONS general_bom_failure = 1 no_bom_found = 2 general_ale_failure = 3 customer_error = 4 OTHERS = 5.

MASTER_IDOC_CREATE_BOMORD CALL FUNCTION 'MASTER_IDOC_CREATE_BOMORD' EXPORTING vbeln = obst-vbeln vbposi = obst-vbpos matnr = obst-matnr werk = obst-werks stlan = obst-stlan stlal = obst-stlal datuv = obst-datuv ale_datuv = obst-ale_datuv ale_aennr = obst-ale_aennr rcvprn = p_logsys "#EC DOM_EQUAL mescod = p_mescod dlock_ignore = p_dlign smd_tool = ' ' * message_type = p_mestyp "note731473 IMPORTING created_comm_idocs = created_comm_idocs EXCEPTIONS general_bom_failure = 1 no_bom_found = 2 general_ale_failure = 3 customer_error = 4 OTHERS = 5.

MASTER_IDOC_CREATE_BOMDOC CALL FUNCTION 'MASTER_IDOC_CREATE_BOMDOC' EXPORTING doc_number = obst-doknr doc_type = obst-dokar doc_part = obst-doktl doc_version = obst-dokvr datuv = obst-datuv ale_datuv = obst-ale_datuv ale_aennr = obst-ale_aennr rcvprn = p_logsys "#EC DOM_EQUAL mescod = p_mescod dlock_ignore = p_dlign smd_tool = ' ' * message_type = p_mestyp "note731473 IMPORTING created_comm_idocs = created_comm_idocs EXCEPTIONS general_bom_failure = 1 no_bom_found = 2 general_ale_failure = 3 customer_error = 4 OTHERS = 5.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL' "note0207466 EXCEPTIONS "note0207466 OTHERS = 0. "note0207466

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL' "note0207466 EXCEPTIONS "note0207466 OTHERS = 0. "note0207466

RFC_CF_IS_GUI_ON CALL FUNCTION 'RFC_CF_IS_GUI_ON' "start note_1650686 IMPORTING on = lv_on.

MASTERIDOC_CREATE_PALMAT CALL FUNCTION 'MASTERIDOC_CREATE_PALMAT' EXPORTING rcvprn = p_logsys "#EC DOM_EQUAL mescod = p_mescod * SMD_TOOL = ' ' * message_type = p_mestyp "note731473 IMPORTING created_comm_idocs = soci TABLES plant_allocs = plant_allocs EXCEPTIONS general_bom_failure = 1 no_bom_found = 2 different_boms = 3 general_ale_failure = 4 customer_error = 5 OTHERS = 6.

MASTERIDOC_CREATE_PALMAT CALL FUNCTION 'MASTERIDOC_CREATE_PALMAT' EXPORTING rcvprn = p_logsys "#EC DOM_EQUAL mescod = p_mescod * SMD_TOOL = ' ' * message_type = p_mestyp "note731473 IMPORTING created_comm_idocs = soci TABLES plant_allocs = plant_allocs EXCEPTIONS general_bom_failure = 1 no_bom_found = 2 different_boms = 3 general_ale_failure = 4 customer_error = 5 OTHERS = 6.

RFC_CF_IS_GUI_ON CALL FUNCTION 'RFC_CF_IS_GUI_ON' "start note_1650686 IMPORTING on = lv_on.

RFC_CF_IS_GUI_ON CALL FUNCTION 'RFC_CF_IS_GUI_ON' "start note_1650686 IMPORTING on = lv_on.

MASTER_IDOC_CREATE_STTMAT CALL FUNCTION 'MASTER_IDOC_CREATE_STTMAT' EXPORTING rcvprn = p_logsys "#ECDOM_EQUAL mescod = p_mescod dlock_ignore = p_dlign * SMD_TOOL = ' ' * message_type = p_mestyp "note731473 IMPORTING created_comm_idocs = created_idocs TABLES config_mats = stocktype_mats EXCEPTIONS general_bom_failure = 1 no_bom_found = 2 different_boms = 3 general_ale_failure = 4 customer_error = 5 no_ref_found = 6.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-031 titel = text-030 IMPORTING answer = answer EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-031 titel = text-032 cancel_display = ' ' IMPORTING answer = answer EXCEPTIONS OTHERS = 0.



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