Ansicht
Dokumentation

/SEHS/C1F0_PHRASES_UPDATE - EHS-ERP: Change Phrases

/SEHS/C1F0_PHRASES_UPDATE - EHS-ERP: Change Phrases

Vendor Master (General Section)   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality from the Point of View of the Initiator

This function module is part of the application programming interfaces (APIs) in EH&S for phrases. It is used to update phrase data.

Which data is updated?

Only data for which valid keys are specified in the interface tables is updated. Here, keys mean the fields of the structure RCGUKEY and the corresponding foreign keys (RECNROOT, RECNMST, and so on). The foreign keys required are determined in each case by the corresponding category of the data record to be updated. Regardless of the data to be updated, the header record of the corresponding phrase (X_API_HEADER_TAB) must always additionally be specified.

How is the data record to be updated determined?

The individual indicators I_FLG_xxx specify which phrase data is updated. In accordance with the individual indicators, the entry tables must additionally be transferred to the corresponding phrase header as follows:

I_FLG_HEADER X_API_HEADER_TAB
I_FLG_TEXT X_API_TEXT_TAB
I_FLG_TEXT_LONGTEXT X_API_TEXT_LONGTEXT_TAB
I_FLG_REF X_API_REF_TAB
I_FLG_JOIN X_API_JOIN_TAB

Miscellaneous

The update API is generally used in conjunction with the read API C1F0_PHRASES_READ. One of the reasons for this is that the read API can determine the key data required for the update and set the corresponding lock mode to the data records. If the read API is not used before the update API, you must ensure in another way that the corresponding locks have been set beforehand.

Further information

  • Type group ESPAP
  • Type group ESPPH




Parameters

E_FLG_ERROR
E_FLG_LOCKFAIL
E_FLG_WARNING
I_ADDINF
I_FLG_CHECK_ONLY
I_FLG_HEADER
I_FLG_JOIN
I_FLG_KEY_DATE_SWITCH_ONLY
I_FLG_LOCK_CATALOG
I_FLG_REF
I_FLG_SPLIT_WITHOUT_CHANGENO
I_FLG_TEXT
I_FLG_TEXT_LONGTEXT
I_LSADM
I_VALFR
I_VALTO
X_API_HEADER_TAB
X_API_JOIN_TAB
X_API_REF_TAB
X_API_TEXT_LONGTEXT_TAB
X_API_TEXT_TAB

Exceptions

CONVMODE_SET_FAILED
INTERNAL_ERROR
INTERVAL_ACCESS_ERROR
KEYDATE_OR_CHANGENUMBER_ERROR
NO_OBJECT_SPECIFIED
PARAMETER_ERROR

Function Group

S/SAPLC1F0

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

Length: 3027 Date: 20240426 Time: 093008     sap01-206 ( 69 ms )