Ansicht
Dokumentation

/TDAG/CP_LB08R_SUBSTANCES_CRE - EHS: Anlegen von Spezifikationsdaten

/TDAG/CP_LB08R_SUBSTANCES_CRE - EHS: Anlegen von Spezifikationsdaten

General Material Data   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is part of the Application Programming Interface (API) in EH&S for specifications. It is used for creating specification data.

Since dependencies between new specification data to be created cannot yet be displayed via foreign keys (since the new data do not yet have keys and cannot therefore be referenced using foreign keys), the specification data is transferred to the function in a complex structure. In this structure, the dependencies exist implicitly and do not therefore need to be expressed explicitly by means of (foreign) keys.

You can find a description of the construction of the complex structure used, ESPRH_API_SUB_TAB_TYPE, in the type group ESPRH.

Which specification is created?

In order to create a new specification, the required entry fields in the work area HEAD must be filled in the parameter X_API_SUB_TAB.

If the parameter X_API_SUB_TAB does not contain a value, the exception NO_OBJECT_SPECIFIED is triggered.

Which data is created for the specification?

The individual indicators I_FLG_xxx specify the specification data to be created, one indicator corresponding to one or more tables or work areas within the complex structure of X_API_SUB_TAB as follows:

I_FLG_HEADER HEAD
I_FLG_REFSUBS REFSUB_TAB
I_FLG_IDENT IDENT_TAB-HEAD
I_FLG_IDENT_SUBLIST IDENT_TAB-SUBLIST_TAB
I_FLG_IDENT_LONGTEXT IDENT_TAB-LONGTEXT
I_FLG_MATJOIN MAT_TAB
I_FLG_PROP PROP_TAB-HEAD
PROP_TAB-DATA_TAB-PROP
I_FLG_PROP_DATA PROP_TAB-DATA_TAB-DATA
I_FLG_PROP_COMP PROP_TAB-DATA_TAB-COMP_TAB
I_FLG_PROP_DETAILS PROP_TAB-DATA_TAB-USAGE_TAB
I_FLG_PROP_REL PROP_TAB-DATA_TAB-REL
I_FLG_PROP_SOURCE PROP_TAB-DATA_TAB-SOURCE
I_FLG_PROP_FTEXT PROP_TAB-DATA_TAB-FREETEXT_TAB-HEAD
I_FLG_PROP_FTEXT_LONGTEXT PROP_TAB-DATA_TAB-FREETEXT_TAB-LONGTEXT
I_FLG_PROP_TAB07 PROP_TAB-DATA_TAB-TAB07_TAB
I_FLG_PROP_TAB0B PROP_TAB-DATA_TAB-TAB0B_TAB
I_FLG_PROP_TAB0D PROP_TAB-DATA_TAB-TAB0D_TAB
I_FLG_PROP_TAB0F PROP_TAB-DATA_TAB-TAB0F_TAB

If an indicator is set to TRUE, the corresponding data is created in the database, provided that the respective data record does not yet have any internal keys (RECN).

Further information

  • Type group ESPAP
  • Type group ESPRH




Parameters

E_FLG_ERROR
E_FLG_LOCKFAIL
E_FLG_WARNING
I_ADDINF
I_FLG_APPLSCP
I_FLG_ATWRT_HAS_INT_FORMAT
I_FLG_CHECK_ONLY
I_FLG_HEADER
I_FLG_HEADER_USAGE
I_FLG_IDENT
I_FLG_IDENT_LONGTEXT
I_FLG_IDENT_SUBLIST
I_FLG_IDENT_USAGE
I_FLG_KEY_DATE_SWITCH_ONLY
I_FLG_MATJOIN
I_FLG_NO_AUTH_CHECK
I_FLG_OWNID_SRSID_KEEP
I_FLG_PROP
I_FLG_PROP_CARR
I_FLG_PROP_COMP
I_FLG_PROP_DATA
I_FLG_PROP_FTEXT
I_FLG_PROP_FTEXT_LONGTEXT
I_FLG_PROP_HEADER
I_FLG_PROP_PACK
I_FLG_PROP_REL
I_FLG_PROP_SOURCE
I_FLG_PROP_SPROV
I_FLG_PROP_TAB07
I_FLG_PROP_TAB0B
I_FLG_PROP_TAB0D
I_FLG_PROP_TAB0F
I_FLG_PROP_USAGE
I_FLG_REFSUBS
I_FLG_TPLREL
I_FLG_VAL_CHECK_BY_STATUS
I_LSADM
I_VALFR
I_VALTO
X_API_SUB_TAB

Exceptions

CONVMODE_SET_FAILED
INTERNAL_ERROR
INTERVAL_ACCESS_ERROR
KEYDATE_OR_CHANGENUMBER_ERROR
NO_OBJECT_SPECIFIED
PARAMETER_ERROR
STATUS_AND_VAL_AT_SAME_TIME

Function Group

G/SAPLCP_LB08R

Fill RESBD Structure from EBP Component Structure   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 5296 Date: 20240424 Time: 081241     sap01-206 ( 75 ms )