Fonction SAP BAPI_CLASS_DELETE - BAPI: Delete Class

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CHANGENUMBER BAPI1003_KEY-CHANGENUMBER C 12 X Change Number
CLASSNUM BAPI_CLASS_KEY-CLASSNUM C 18 Class
CLASSTYPE BAPI_CLASS_KEY-CLASSTYPE C 3 Class Type

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

Functionality
This BAPI deletes the class with the name and class type that youenter. If the class has been changed with Engineering ChangeManagement, you can enter a change number.
Note
BAPI_CLASS_DELETE deletes a class and all assignments. If you do notwant this, you must first call a suitable module that checks whetherthe class has assignments (e.g.CLAF_ALLOCATIONS). Exception: If theclass inherited characteristics from a higher-level class, orlower-level classes exist that inherit the characteristics and arevaluated, a message is issued and the class is not deleted, to preventinconsistencies.

Further information
If the BAPI runs successfully, table RETURN contains no messages oftype 'E'.
This BAPI does not change the the database. To change the database,call BAPI BapiService.TransactionCommit.