SAP Function BAPI_OBJCL_GETSTATUS - Classification BAPI: Classification Status of Object

Parameter Reference Type Length Default Optional Text
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 Key, Concatenated
OBJECTTABLE BAPI1003_KEY-OBJECTTABLE C 30 Name of Database Table for Object

Parameter Reference Type Length Text
STATUS BAPI1003_KEY-STATUS C 1 Classification Status

Parameter Reference Length Optional Text
RETURN BAPIRET2 548 Error Messages


Function
This BAPI returns the status of a classification, which is described bythe object key (ObjectKey), object table (ObjectTable), class name(ClassNum), class type (ClassType), and a date if required(KeyDate).The default date is the system date.
If the BAPI runs successfully, table RETURN contains no messages oftype 'E'.
Note
The object key (ObjectKey) must be transferred in internal format,before conversion exits. For example, a material number must betransferred with leading zeros.
This BAPI can only be used with objects that are not classes.

Description
Classification status

Description
Class number

Description
Class type

Description
Date

Default
System date

Description
Object key, concatenated

Description
Name of database table for object

Description
Error messages