# 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.

- Modules: MM
- Type: BAPI
- Function group: MB_BUS2093
- Remote-enabled (RFC): Yes
- S/4HANA status: Used the same way in S/4HANA
- URL: https://nekuhub.com/en/functions/bapi-reservation-delete/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| RESERVATION | BAPI2093_RES_KEY-RESERV_NO | Reservation number | Yes |
| TESTRUN | BAPI2093_TEST | Test run (no update) | - |

## Tables parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| RETURN | BAPIRET2 | Return messages | - |

## Call template (ABAP)

```abap
CALL FUNCTION 'BAPI_RESERVATION_DELETE'
  EXPORTING
    reservation = lv_reservation
  TABLES
    return = lt_return.
```

## Related tables

RESB, RKPF

