Fonction SAP BAPI_OBJCL_GET_KEY_OF_OBJECT - Classification BAPI: Key of Object

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLASSTYPE BAPI1003_KEY-CLASSTYPE C 3 Class Type
CREATE_MISSING_KEY BAPI1003_KEY-FLAG C 1 X Generate Missing GUID
OBJECTNAME BAPI1003_KEY-OBJECT C 50 Key of Object to be Classified
OBJECTTABLE BAPI1003_KEY-OBJECTTABLE C 30 Name of Database Table for Object

Paramètre Reférence Type Long. Description
CLOBJECTKEYOUT BAPI1003_KEY-OBJECT_GUID N 18 Internal Object Number

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 Return Parameters

Functionality
This BAPI returns the key of an object (ObjectKey). To do this, theobject (Object), object table (ObjectTable), and class type (ClassType)must be transferred. This key is needed to address objects when usingbusiness object ObjectClassification.
If an object is to be classified in a class type for the first time,the object does not yet have a key. Before you can classify it, youmust use this BAPI to generate a key. To do this, set parameter'CreateMissingKey' to 'X'. The result table then contains a messagetelling you whether an existing key is displayed or a new key has beengenerated.

Description
Internal object number (as in table INOB)

Description
Class type

Description
Generate missing GUID

Description
Name of database table for object

Description
Return parameters