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
| Parameter | Type | Description | Required |
|---|---|---|---|
| ENTRYSHEET | BAPIESSR-SHEET_NO | Entry sheet number | Yes |
| REL_CODE | BAPIMMPARA-REL_CODE | Release code | Yes |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| RETURN | BAPIRETURN1 | Processing 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.