Fonction SAP BAPI_OBJCL_GETDETAIL - Classification BAPI: Read Classification Information on Object

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLASSNUM BAPI1003_KEY-CLASSNUM C 18 Class Number
CLASSTYPE BAPI1003_KEY-CLASSTYPE C 3 Class Type
KEYDATE BAPI1003_KEY-KEYDATE D 8 SY-DATUM X Date
LANGUAGE BAPIFIELDSCACL-BAPILANGUA C 1 SY-LANGU X Language Key
OBJECTKEY BAPI1003_KEY-OBJECT C 50 Object Key, Concatenated
OBJECTTABLE BAPI1003_KEY-OBJECTTABLE C 30 Classification BAPI - Key Fields
UNVALUATED_CHARS FLAG C 1 SPACE X Output Characteristics Without Assigned Values

Paramètre Reférence Type Long. Description
STANDARDCLASS BAPI1003_KEY-STDCLASS C 1 Indicator: Standard Class
STATUS BAPI1003_KEY-STATUS C 1 Classification Status

Paramètre Reférence Long. Facultatif Description
ALLOCVALUESCHAR BAPI1003_ALLOC_VALUES_CHAR 124 Alphanumeric Values
ALLOCVALUESCURR BAPI1003_ALLOC_VALUES_CURR 104 Currency Values
ALLOCVALUESNUM BAPI1003_ALLOC_VALUES_NUM 96 Numeric Values
RETURN BAPIRET2 548 Error Messages


Funktionalität
This BAPI returns detailed information on a classification. The objectkey (ObjectKey), object table (ObjectTable), class name (ClassNum),class type (ClassType), and (if required) a date are imported. Thedefault date is the system date.
Information on the class is output in structure AllocDetail. The otherexport tables contain the values assigned to the classification,according to the data type of the characteristics. The values fornumeric, time, and date characteristics are in table AllocValuesNum,the values for character and boolean characteristics in tableAllocValuesChar, and the values for currency characteristics in tableAllocValuesCurr.
If the BAPI runs successfully, table RETURN contains no messages oftype 'E'.
Note
The object key (ObjectKey) must be transferred in internal format,before conversion exits. For example, a material number must betransferred with leading zeros.
This BAPI can only be used with objects that are not classes.
This BAPI only returns assigned values from classification, notassigned values from configuration.

Description
Indicator: standard class

Description
Classification status

Description
Class number

Description
Class type

Description
Date

Default
System date

Description
Object key, concatenated

Description
BAPI for classification - key fields

Description
Assigned alphanumeric values

Description
Assigned currency values

Description
Assigned numeric values

Description
Error messages

1401724Performance when filtering relevant materials
585778BAPI_OBJCL_GETDETAIL - No value descriptions