CA
BAPI
RFC
Used the same way in S/4HANA
BAPI_OBJCL_DELETE Classification: Delete Object Assignment
Removes the assignment of an object to a class together with its characteristic values. It is used to clean up wrong classifications or before re-assigning objects to another class in migration programs. Check RETURN and call BAPI_TRANSACTION_COMMIT; with a change number the deletion is recorded with change history.
- Function group
- CLBPA
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| OBJECTKEY | BAPI1003_KEY-OBJECT | Object key (concatenated) | — |
| OBJECTTABLE | BAPI1003_KEY-OBJECTTABLE | Object table | Yes |
| CLASSNUM | BAPI1003_KEY-CLASSNUM | Class | Yes |
| CLASSTYPE | BAPI1003_KEY-CLASSTYPE | Class type | Yes |
| CHANGENUMBER | BAPI1003_KEY-CHANGENUMBER | Change number | — |
| KEYDATE | BAPI1003_KEY-KEYDATE | Key date | — |
| OBJECTKEY_LONG | BAPI1003_KEY-OBJECT_LONG | Object key (long form) | — |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| RETURN | BAPIRET2 | Return messages | Yes |
Call template (ABAP)
A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.
CALL FUNCTION 'BAPI_OBJCL_DELETE'
EXPORTING
objecttable = lv_objecttable
classnum = lv_classnum
classtype = lv_classtype
TABLES
return = lt_return.Related tables
Can't find the report you need?
We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.