Fonction SAP BAPI_OBJCL_GETDETAIL_KEY - Classification BAPI: Read Classification Information (Key)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLASSNUM BAPI1003_KEY-CLASSNUM C 18 Class Number
CLOBJECTKEY BAPI1003_KEY-OBJECT_GUID N 18 Internal Object Number
KEYDATE BAPI1003_KEY-KEYDATE D 8 SY-DATUM X Date
LANGUAGE BAPIFIELDSCACL-BAPILANGUA C 1 SY-LANGU X Language Key

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 Assigned CHAR and BOOL Values
ALLOCVALUESCURR BAPI1003_ALLOC_VALUES_CURR 104 Assigned CURR Values
ALLOCVALUESNUM BAPI1003_ALLOC_VALUES_NUM 96 Assigned NUM, DATE, and TIME Values
RETURN BAPIRET2 548 Return Parameters

Functionality
This BAPI returns detailed information on a classification. The objectkey (Objectey), class name (ClassNum), and a date, if required, areimported. The default value for the date is the system date.
Information on the class is output in structure AllocDetail. The otherexport tables contain the assigned values for the classification,according to the data type of the characteristics. The values fornumeric, time, and date characteristics are in table AllocValuesNum,values for character and boolean characteristics are in tableAllocValuesChar, and values for currency characteristics are in tableAllocValuesCurr.
If the BAPI runs successfully, table RETURN contains no messages oftype 'E'.

Notes
The object key ObjctKey can be generated from the key fields object,object table, and class type by BAPIObjectClassification.GetKeyOfObject.
If these fields are defined and only one function module is to be used,use function module BAPI_OBJCL_GETDETAIL. This skips the conversion tothe object key.

Caution
This BAPI can only be used with objects that are not classes.
This BAPI only returns the assigned values for classification, not forconfiguration.

Description
Standard class indicator

Description
Classification status

Description
Class number

Description
Date

Default
System date

Description
Language in which characteristic value descriptions and characteristicdescriptions are to be displayed.

Default
Logon language

Description
Assigned values of type CHAR and BOOLEAN

Description
Assigned values of type CURR

Description
Assigned values of types NUM, DATE, and TIME

Description
Return parameters