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

BAPI_ENTRYSHEET_RESET_RELEASE Cancel Release of Service Entry Sheet

Cancels the release of a previously accepted service entry sheet with the given release code; the related goods receipt is reversed. Developers use it to correct wrongly accepted services or to remove the acceptance before deleting the sheet. It fails when an invoice has already been posted for the service; check RETURN and then call BAPI_TRANSACTION_COMMIT.

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

Importing parameters

ParameterTypeDescriptionRequired
ENTRYSHEETBAPIESSR-SHEET_NOEntry sheet numberYes
REL_CODEBAPIMMPARA-REL_CODERelease codeYes

Tables parameters

ParameterTypeDescriptionRequired
RETURNBAPIRETURN1Processing errors that occurred—

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_RESET_RELEASE'
  EXPORTING
    entrysheet = lv_entrysheet
    rel_code = lv_rel_code
  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