# BAPI_BUS2001_DELETE — Delete Project Definition

> Deletes a project definition. It is used in clean-up programs and in interfaces that roll back projects created by mistake. Call BAPI_PS_INITIALIZATION first, then BAPI_PS_PRECOMMIT and BAPI_TRANSACTION_COMMIT only when ET_RETURN has no type E or A messages.

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

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| I_PROJECT_DEFINITION | BAPI_BUS2001_NEW-PROJECT_DEFINITION | Project definition | Yes |

## Tables parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| ET_RETURN | BAPIRET2 | Return messages | - |
| EXTENSIONIN | BAPIPAREX | Customer fields (inbound) | - |

## Call template (ABAP)

```abap
CALL FUNCTION 'BAPI_BUS2001_DELETE'
  EXPORTING
    i_project_definition = lv_i_project_definition
  TABLES
    et_return = lt_et_return
    extensionin = lt_extensionin.
```

## Related tables

PROJ

