Fonction SAP BAPI_OBJCL_DELETE_KEY - Classification BAPI: Delete Assignment (Key)

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
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 deletes a classification and its assigned values. Theclassification is defined by the object key (ObjectKey) and the classname (ClassNum), plus the optional parameters date (KeyDate) and changenumber (ChangeNumber). The default value for the date is the systemdate, on which all classifications are valid.
If the BAPI runs successfully, table RETURN contains no messages oftype 'E'.

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

Caution
This BAPI does not change the database. To do this, BAPIBapiService.TransactionCommit must be called afterward.
This BAPI can only be used with objects that are not classes.

Description
Change number

Description
Class number

Description
Date

Description
Return parameters