Fonction SAP BAPI_OBJCL_DELETE - Classification BAPI: Delete Assignment

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CHANGENUMBER BAPI1003_KEY-CHANGENUMBER C 12 X Change Number
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 Object Table

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

Function
This BAPI deletes a classification and its assigned values. Theclassification is described by the object key (ObjectKey), object table(ObjectTable), class name (ClassNum), and class type (ClassType), plusoptional parameters date (KeyDate) and change number (ChangeNumber) ifrequired. The default value for the date is the system date, on whichall classifications are valid.
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.

Caution
This BAPI does not change the database. To change the database, callBAPI BapiService.TransactionCommit afterwards.
This BAPI can only be used with objects that are not classes.

Description
Change number

Description
Class number

Description
Class type

Description
Date

Default
System date

Description
Object key, concatenated

Description
Object table

Description
Error messages

597758BAPI_OBJCL_CHANGE: Termination RAISE_EXCEPTION
594658BAPI_OBJCL_CHANGE: Value not found (C1801)