Ansicht
Dokumentation

CBGL_LB10_LSLT_UPDATE - NOTRANSL: EHS: Ändern der Zuordungnen Etikettenpapiere zu Etikettentypen

CBGL_LB10_LSLT_UPDATE - NOTRANSL: EHS: Ändern der Zuordungnen Etikettenpapiere zu Etikettentypen

ROGBILLS - Synchronize billing plans   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is part of the Application Programming Interface (API) of the work area of the EH&S component Industrial Hygiene and Safety. It is used to update work area data.

Which data is updated?

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

How is the data record to be updated determined?

Which work area data is updated is specified by the I_FLG_XXX indicators. In accordance with the indicators the input tables must additionally be transferred to the corresponding work area header as follows:

                               | Corresponding
Indicator                      | table parameter
-------------------------------|----------------------------
I_FLG_HEADER                   | X_API_HEADER_TAB
 |                            |
  |--I_FLG_EXP_PROFILE         | X_API_EXP_PROFILE_TAB
  |--I_FLG_INFO_JOIN           | X_API_INFO_JOIN_TAB
  |--I_FLG_IH_DATA             | X_API_IH_DATA_TAB
  |                            | X_API_PROP_DATA_TAB
  |--I_FLG_ACTION              | X_API_ACTION_TAB
  |    |                       |
  |    |--I_FLG_ACTION_LTXT    | X_API_ACTION_LTXT
  |                            |
  |--I_FLG_DESCRIPTION         | X_API_DESCRIPTION_TAB
  |    |                       |
  |    |--I_FLG_DESCR_LONGTEXT | X_API_DESCR_LONGTEXT_TAB
  |                            |
  |--I_FLG_ACLOC               | X_API_ACLOC_TAB
  |    |                       |
  |    |--I_FLG_ACLOCNAM       | X_API_ACLOCNAM_TAB
  |                            |
  |--I_FLG_FREETEXT            | X_API_FREETEXT_TAB
  |    |                       |
  |    |--I_FLG_FREETEXT_LTXT  | X_API_FRERETEXT_LTXT_TAB
  |--I_FLG_WAQS_ASSIG          | X_API_WAQS_TAB
  |--I_FLG_PATTERN_ASSIG       | X_API_WAPT_TAB
  |--I_FLG_ACPATT_ASSIG        | X_API_PTCP_TAB

The calling program determines the subobjects to be updated by setting the corresponding indicators to "TRUE" ("TRUE" and "FALSE" are defined as constants in the Include CBUI09). Then the calling program determines the corresponding table parameters with the subobjects to be updated. The data and in particular the keys must be specified fully.

Output

Boolean parameters indicate that errors occurred when the subobjects were being processed. The following errors can occur:

  • Lock error: E_FLG_LOCKFAIL = TRUE

  • Processing error: E_FLG_ERROR = TRUE

  • Processing warning: E_FLG_WARNING = TRUE

Possible exceptions

  • NO_OBJECT_SPECIFIED: No objects were specified for updating

  • PARAMETER_ERROR: Table for specified object missing

  • INTERNAL_ERROR: Internal processing error

  • CONVMODE_SET_FAILED: Character conversion error

Further information

  • Type group ESPAP
  • Type group CIHWA




Parameters

E_FLG_ERROR
E_FLG_LOCKFAIL
I_ADDINF
I_FLG_CHECK_ONLY
X_IOTAB
X_IOTAB_DEL

Exceptions

INTERNAL_ERROR

Function Group

CBGL_LB10

General Data in Customer Master   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 8644 Date: 20240523 Time: 095550     sap01-206 ( 62 ms )