Fonction SAP BAPI_OBJCL_EXISTENCECHECK - Classification BAPI: Check Existence of Classification

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
OBJECTKEY BAPI1003_KEY-OBJECT C 50 Object, Concatenated Key
OBJECTTABLE BAPI1003_KEY-OBJECTTABLE C 30 Object Table

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 Error Messages

Functionality
This BAPI checks the existence of a classification, on a specific dateif required. The classification must be defined by the class name,class type, classification status, key of the classified object, andobject table. The default value for the date is the system 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 (ObjectKey) must be transferred in internal format,before application of conversion exits. For example, a material numbermust be transferred with leading zeros.

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

Description
Class number

Description
Class type

Description
Date

Default
System date

Description
Object, concatenated key

Description
Object table

Description
Error messages