SAP Reports / Programs | Environment, Health and Safety | Product Safety(EHS-SAF) SAP EHS

RC1SDDIS SAP ABAP Report - EH&S: Link Report Shipping to SD Delivery







RC1SDDIS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program is used to process the output SDB when it is created from an SD delivery...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RC1SDDIS 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 RC1SDDIS. "Basic submit
SUBMIT RC1SDDIS AND RETURN. "Return to original report after report execution complete
SUBMIT RC1SDDIS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: EH&S: Link Report Shipping to SD Delivery
Text Symbol: 001 = An error has occurred. For more
Text Symbol: 002 = information, start the report RC1SDAPL.
Text Symbol: 003 = Error. Start the report RC1SDAPL.
Text Symbol: 004 = Error when writing the log for the sales document item
Text Symbol: 005 = Error when writing the messages to the application log


INCLUDES used within this REPORT RC1SDDIS

INCLUDE RC1SDTOP.


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:

C1CA_SD_READ_ENVPARA * CALL FUNCTION 'C1CA_SD_READ_ENVPARA' * DESTINATION LG_DESTINATION * EXPORTING * I_PARAM = IC_ENV_PARAM-RDO_TRACE * IMPORTING * E_VALUE = L_VALUE * EXCEPTIONS * VALUE_READ_FAILED = 1 * OTHERS = 2.

RS_FUNCTION_ACTIVE_CHECK CALL FUNCTION 'RS_FUNCTION_ACTIVE_CHECK' EXPORTING funcname = l_funcname IMPORTING active = l_active EXCEPTIONS OTHERS = 0. "Rem.: it's sufficient to eval. the result

C1CF_LIKP_READ CALL FUNCTION 'C1CF_LIKP_READ' EXPORTING i_delivery_id = x_likp-vbeln * Begin Correction Nov. 2012 1791761 *******************

C1CF_VBUK_READ CALL FUNCTION 'C1CF_VBUK_READ' EXPORTING i_order_id = x_likp-vbeln * Begin Correction 10.09.2012 1753339 *******************

C1CF_LIPS_READ CALL FUNCTION 'C1CF_LIPS_READ' EXPORTING i_delivery_id = x_likp-vbeln i_posnr = x_lips-posnr * Begin Correction Nov. 2012 1791761 *******************

C1CF_MAT_SALES_TEXT CALL FUNCTION 'C1CF_MAT_SALES_TEXT' EXPORTING * I_TDOBJECT = IC_TDOBJECT_VBBP * I_ENVPARAM_TDID = IC_ENV_PARAM-TDID_DELPOS i_tdobject = 'VBBP' "#EC NOTEXT i_envparam_tdid = l_envparam_tdid "#EC NOTEXT i_tdname = l_tdname i_tdspras = l_tdspras TABLES e_tline_tab = l_tline_tab EXCEPTIONS no_data_found = 1 envparam_not_found = 2 OTHERS = 3.

C1CA_SD_INTERFACE_TO_EHS_NEW * CALL FUNCTION 'C1CA_SD_INTERFACE_TO_EHS_NEW' * DESTINATION LG_DESTINATION * EXPORTING * I_REASON = I_REASON * I_CUSDATA = I_CUSDATA * I_NAST = I_NAST * TABLES * I_SDDATA_TAB = I_SDDATA_TAB * I_DATA_TAB = I_DATA_TAB * I_RECINFO_TAB = I_RECINFO_TAB * I_MSG_TAB = L_MSG_TAB * EXCEPTIONS * COMMUNICATION_FAILURE = 1 * SYSTEM_FAILURE = 2 * EHS_CALL_FAILED = 3 * OTHERS = 4.

RS_FUNCTION_ACTIVE_CHECK CALL FUNCTION 'RS_FUNCTION_ACTIVE_CHECK' EXPORTING funcname = l_funcname IMPORTING active = l_active EXCEPTIONS OTHERS = 0. "Rem.: it's sufficient to eval. the result

NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING msg_arbgb = espsd_c_sd_msg-msgid msg_nr = espsd_c_sd_msg-msgno msg_ty = espsd_c_sd_msg-msgty msg_v1 = l_msgv1 msg_v2 = l_msgv2 msg_v3 = '' msg_v4 = '' EXCEPTIONS OTHERS = 1.

C1CF_CUS_DATA_GET_FORM_KNA1 CALL FUNCTION 'C1CF_CUS_DATA_GET_FORM_KNA1' CHANGING x_customerdata = e_cusdata EXCEPTIONS cus_data_determination_failed = 1 OTHERS = 2.

C1CF_MSDS_RECEIVER_READ CALL FUNCTION 'C1CF_MSDS_RECEIVER_READ' EXPORTING i_parnr = i_nast-parnr i_vkorg = i_likp-vkorg i_vtweg = i_lips-vtweg i_spart = i_lips-spart TABLES e_msds_receiver_tab = l_msds_receiver_tab EXCEPTIONS no_data_found = 1 OTHERS = 2.

C1CF_RFC_MSG_WRITE CALL FUNCTION 'C1CF_RFC_MSG_WRITE' DESTINATION lg_destination EXPORTING i_objky = i_objky i_uname = sy-uname i_tcode = sy-tcode i_repid = l_repid TABLES i_msg_tab = l_msg_tab EXCEPTIONS msg_write_failed = 1 OTHERS = 2.

RS_FUNCTION_ACTIVE_CHECK CALL FUNCTION 'RS_FUNCTION_ACTIVE_CHECK' EXPORTING funcname = l_funcname IMPORTING active = l_active EXCEPTIONS OTHERS = 0. "Rem.: it's sufficient to eval. the result

C1CE_RECINFOTAB_FILL_NEW CALL FUNCTION 'C1CE_RECINFOTAB_FILL_NEW' EXPORTING i_customer_id = l_customer_id i_code_for_sds_receiver = l_code_for_sds_receiver TABLES e_recinfo_tab = l_recinfo_tmp_tab EXCEPTIONS recinfo_determination_failed = 1 OTHERS = 2.



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