Fonction SAP BAPI_OBJCL_EXISTENCECHECK_KEY - Classification BAPI: Check Existence of a Classification (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

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

Functionality
This BAPI checks the existence of a classification, on a specific dateif required. The classification must be defined by the class name andthe key of the classified object. The default value for the date is thesystem date.
Table RETURN can contain the following message types:
,,Type 'E': Object is a class
,,Type 'S' : Classification exists and is valid
,,Type 'I' : Classification does not exist or is not valid

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

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

Description
Class number

Description
Date

Default
System date

Description
Return parameters