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

BAPI_RESERVATION_DELETE Delete Reservation

Deletes a manual reservation identified by its number. Clean-up programs and interfaces call it when the demand behind a reservation is no longer valid. Use TESTRUN to check first, read RETURN and call BAPI_TRANSACTION_COMMIT to make the deletion effective.

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

Importing parameters

ParameterTypeDescriptionRequired
RESERVATIONBAPI2093_RES_KEY-RESERV_NOReservation numberYes
TESTRUNBAPI2093_TESTTest run (no update)—

Tables parameters

ParameterTypeDescriptionRequired
RETURNBAPIRET2Return messages—

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_RESERVATION_DELETE'
  EXPORTING
    reservation = lv_reservation
  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