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

ParameterTypeDescriptionRequired
OBJECTKEYBAPI1003_KEY-OBJECTObject key (concatenated)—
OBJECTTABLEBAPI1003_KEY-OBJECTTABLEObject tableYes
CLASSNUMBAPI1003_KEY-CLASSNUMClassYes
CLASSTYPEBAPI1003_KEY-CLASSTYPEClass typeYes
CHANGENUMBERBAPI1003_KEY-CHANGENUMBERChange number—
KEYDATEBAPI1003_KEY-KEYDATEKey date—
OBJECTKEY_LONGBAPI1003_KEY-OBJECT_LONGObject key (long form)—

Tables parameters

ParameterTypeDescriptionRequired
RETURNBAPIRET2Return messagesYes

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.

Request a custom report