MM BAPI RFC Used the same way in S/4HANA

BAPI_ENTRYSHEET_DELETE Delete Service Entry Sheet

Sets the deletion flag on a service entry sheet that is not released. Developers use it to clean up wrongly uploaded or no longer needed service confirmations. Released sheets cannot be deleted, so cancel the release with BAPI_ENTRYSHEET_RESET_RELEASE first, check RETURN and call BAPI_TRANSACTION_COMMIT.

Function group
MLBO
Remote-enabled (RFC)
Yes
Type
BAPI

Importing parameters

ParameterTypeDescriptionRequired
ENTRYSHEETBAPIESSR-SHEET_NOEntry sheet numberYes

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_ENTRYSHEET_DELETE'
  EXPORTING
    entrysheet = lv_entrysheet
  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