Fonction SAP BAPI_OBJCL_GETCLASSES_KEY - Classification BAPI: Classes for Object (Key)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLOBJECTKEYIN BAPI1003_KEY-OBJECT_GUID N 18 Internal Object Number
KEYDATE BAPI1003_KEY-KEYDATE D 8 SY-DATUM X Key date
LANGUAGE BAPIFIELDSCACL-BAPILANGUA C 1 SY-LANGU X Language Key
READ_VALUATIONS BAPI1003_KEY-FLAG C 1 X Read Assigned Values

Paramètre Reférence Long. Facultatif Description
ALLOCLIST BAPI1003_ALLOC_LIST 103 Assignment List
ALLOCVALUESCHAR BAPI1003_ALLOC_VALUES_CHAR 124 X Assigned CHAR and BOOL Values
ALLOCVALUESCURR BAPI1003_ALLOC_VALUES_CURR 104 X Assigned CURR Values
ALLOCVALUESNUM BAPI1003_ALLOC_VALUES_NUM 96 X Assigned NUM, DATE, and TIME Values
RETURN BAPIRET2 548 Return Parameters

Functionality
This BAPI returns all classes where an object (such as a material) isclassified. This is usually exactly one class, or several classes inthe case of multiple classification.
The object is defined by the object key (ObjectKey).
Table AllocList contains the result with class (ClassNum), class type(ClassType), classification status (Status), and object information.Error messages are logged in table Return. If the BAPI runssuccessfully, this table 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 BAPIObjectClassification.GetKeyOfObject.
If these fields are defined and only one function module is to be used,use function module BAPI_OBJCL_GETCLASSES. This skips the conversion tothe object key.

Description
Normal: date

Default
Normal: system date

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

Default
Logon language

Description
Normal: if this indicator is set, the relevant assigned values are alsoread and displayed. If the values are not required, to maximize systemperformance, do not set this indicator.

Description
Assignment list

Description
Normal: values assigned to characteristics with character and BOOLformat.

Description
Normal: values assigned to characteristics with currency format.

Description
Normal: values assigned to characteristics with numeric, date, and timeformat.

Description
Return parameters