Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> UserExit>C1CA0003



Index

C1CA0003

EH&S: Customer Exits
You use this SAP enhancement to check a defined quantity of substances in relation to their request for MSDS shipping. The substances to be checked in the R/3 component Product Safety (EHS-SAF) must all be assigned to the same delivery note material from the R/3 component Sales and Distribution (SD). Substances with a material safety data sheet requirement must be entered with their internal record numbers in the E_SDS_RECN_SUBSTANCE_TAB table, and are processed there by the appropriate function.

The customer exit is found in the function group XC1A. You call the customer exit in the function C1CA_SD_INTERFACE_TO_EHS_NEW.

The standard procedure for the determination of substances with MSDS shipping requirement is found in the documentation for the following function modules:

  • C1CA_SUBTAB_FOR_SDS_DIST
  • C1CA_SUB_SDS_DIST_CHECK

Note:

If you have set up a standard properties tree, transfer the standard substance characteristic category, and the standard characteristic for the material safety data sheet.

You can use the other interface parameters from the enhancement component to select substances.

Interface parameters Meaning

I_REPORT_VERSION_DATE key date for report version

I_CUSDATA customer data

I_REASON order reason

I_MATERIAL_DATA material data

I_INITIATOR sender

I_INFO_FOR_ERROR_MAIL contextual information for error handling

I_RECN_SUBSTANCE_TAB table with internal record numbers of

substances

I_RECINFO_TAB MSDS recipient data

I_SDDATA_TAB table with SD-specific data

Error handling:

As the process runs in the background, you cannot react directly to an error situation.

In the function group C1CA, the function module C1CA_INTERFACE_ERR_MESSAGE supports error handling. You use this function module to send error mails to persons responsible. The recipients of these mails are specified in Product Safety Customizing.

The import parameter I_INFO_FOR_ERROR_MAIL contains contextual information on error situations (for example, delivery note number from SD, and so on) that is output in the error mail.


Function/Program:
  • EXIT_SAPLC1CA_003: EHS: Creating a table with all substances for MSDS shipping

02-Oct-2005