Ansicht
Dokumentation

BAPI_OBJCL_CREATE_KEY - BAPI for Classification: Create Assignment (Key)

BAPI_OBJCL_CREATE_KEY - BAPI for Classification: Create Assignment (Key)

Vendor Master (General Section)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This BAPI creates a classification with assigned values, if it does not yet exist. The classification is defined by the required fields object key (ObjectKey) and class name (AllocDetail-Class_Num). The characteristics and their values are transferred in different tables, according to type. Numeric, time, and date characteristics are transferred in table AllocValuesNum, character and boolean characteristics in table AllocValuesChar, and currency characteristics in table AllocValuesCurr.

If the BAPI runs successfully, table RETURN contains no messages of type 'E'.

Notes

The object key ObjctKey can be generated from the key fields object, object table, and class type by BAPI ObjectClassification.GetKeyOfObject.

If these fields are defined and only one function module is to be used, use function module BAPI_OBJCL_CREATE. This skips the conversion to the object key.

Caution

This BAPI does not change the database. To do this, BAPI BapiService.TransactionCommit must be called afterward.

This BAPI can only be used with objects that are not classes.

The values processed in this BAPI are for classification only, not for configuration.





Parameters

ALLOCVALUESCHAR
ALLOCVALUESCURR
ALLOCVALUESNUM
CHANGENUMBER
CLASSIF_STATUS
CLASSNUM_NEW
CLOBJECTKEY_NEW
KEYDATE
NO_DEFAULT_VALUES
RETURN
STANDARDCLASS
STATUS

Exceptions

Function Group

CLBPA

CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2582 Date: 20240606 Time: 043402     sap01-206 ( 39 ms )