EH&S: Customer Exits
You can use this SAP enhancement to define a function exit to determine the report type defined for material safety data sheets in Product Safety Customizing under Maintain report types (table TCGL1). This function must be activated if any other value is used apart from the MSDS specified there.
The customer exit is found in the function group XC1A. You call it in the function C1CA_SD_INTERFACE_TO_EHS_NEW. The following import parameters can be used to select the report type: Import parameter Meaning
I_REASON order reason I_CUSDATA customer data I_MATERIAL_DATA material data I_INITIATOR sender I_SDDATA_TAB table with delivery note data I_DATA_TAB date table
I_RECINFO_TAB table with MSDS recipient data Error handling: Because the process runs in the background, you cannot react directly to an error. The function module C1CA_INTERFACE_ERR_MESSAGE in the function group C1CA
supports error handling. You can use this function module to send error mails to the persons responsible. The recipient of these mails is specified in Product Safety Customizing. The import parameter I_INFO_FOR_ERROR_MAIL contains contextual
Function/Program: - EXIT_SAPLC1CA_001: EHS: Determining report type for material safety data sheets
|