Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

C1CA0001 - EHS: Determining report type for material safety data sheets

C1CA0001 - EHS: Determining report type for material safety data sheets

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

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 module C1CA_SD_INTERFACE_TO_EHS_NEW. For more information, see the documentation for the function module 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 information on error situations (delivery note number from SD, for example) that is output in the error mail.





BAL Application Log Documentation   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2599 Date: 20211201 Time: 014041     sap01-206 ( 38 ms )