Ansicht
Dokumentation

C1CA_SDS_LANGUAGE_VERSION - EHS: Determines the language version of the MSDS

C1CA_SDS_LANGUAGE_VERSION - EHS: Determines the language version of the MSDS

Fill RESBD Structure from EBP Component Structure   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function module C1CA_SDS_LANGUAGE_VERSION is used for each material safety data sheet to determine the language version in which the material safety data sheet is to be sent.

  1. To do this, the following data is read from the material safety data sheet structure CVDRECINFO:
  • The country allocated to the recipient

  • The communication language allocated to the recipient

The data for the relevant contact person is read first. If these have not been maintained, the customer data is used.
  1. The system then checks if the recipient's language is one of the languages selected in the IMG activity Assign language keys to country keys (table TCGRL).
The following scenarios can occur:
  • If the recipient language is not one of those in table TCGRL, the recipient language is added in the internal table E_RECLANGU_TAB to the languages that were selected for the destination country in table TCGRL.

  • If no other languages have been maintained in TCGRL for the destination country, the recipients receive the material safety data sheet in the language assigned directly to them only (this is allocated when a customer is created, or when a contact person is created for a customer).

Finally, the following data are included in the internal table E_RECLANGU_TAB:
  • The language version to be used in shipping

The language versions determined from the country entered in the IMG activity Assign language keys to country keys
  • The material safety data sheet recipient ID

  • The IDs of the relevant contact persons

  • The country-dependent lead time for report shipping

  • The communication language of the MSDS recipient that could not be determined from the TCGRL table.

Note:

If no communication language is maintained for the material safety recipient, the system language is used as the communication language and an error mail with ERRCODE = SD1 is sent to the person responsible with a corresponding note referring to incomplete data maintenance.

Example

Notes

Further information





Parameters

E_RECLANGU_TAB
I_INFO_FOR_ERROR_MAIL
I_REASON
I_RECINFO_TAB
I_REPTYPE

Exceptions

SDS_LANGUAGE_VERSION_FAILED

Function Group

C1CA

CPI1466 during Backup   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3408 Date: 20240523 Time: 125635     sap01-206 ( 54 ms )