# BAPI_EQUI_DISMANTLE — Dismantle Equipment

> Dismantles an equipment from its functional location or superior equipment at the given date and time. It is used in interfaces that report component exchanges or moves to the workshop. Check RETURN and commit with BAPI_TRANSACTION_COMMIT.

- Modules: PM
- Type: BAPI
- Function group: ITOB_BAPI_EQ
- Remote-enabled (RFC): Yes
- S/4HANA status: Used the same way in S/4HANA
- URL: https://nekuhub.com/en/functions/bapi-equi-dismantle/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| EQUIPMENT | BAPI_ITOB_PARMS-EQUIPMENT | Equipment number | Yes |
| FUNCLOC | BAPI_ITOB_PARMS-FUNCLOC | Functional location to dismantle from | - |
| SUPEQUI | BAPI_ITOB_PARMS-EQUIPMENT | Superior equipment | - |
| DISM_DATE | BAPI_ITOB_PARMS-INST_DATE | Dismantling date | - |
| DISM_TIME | BAPI_ITOB_PARMS-INST_TIME | Dismantling time | - |
| INHERITANCE_FLAGS | INHERITANCE_FLAGS | Data inheritance flags | - |

## Exporting parameters

| Parameter | Type | Description |
|---|---|---|
| DATA_GENERAL_EXP | BAPI_ITOB | General data (result) |
| DATA_SPECIFIC_EXP | BAPI_ITOB_EQ_ONLY | Specific data (result) |
| RETURN | BAPIRET2 | Return message |

## Call template (ABAP)

```abap
CALL FUNCTION 'BAPI_EQUI_DISMANTLE'
  EXPORTING
    equipment = lv_equipment
  IMPORTING
    data_general_exp = lv_data_general_exp
    data_specific_exp = lv_data_specific_exp
    return = lv_return.
```

## Related tables

EQUI, EQUZ, ILOA

