# BAPI_EQUI_INSTALL — Install Equipment

> Installs an equipment at a functional location or in a superior equipment, as given in DATA_INSTALL. It is the counterpart of BAPI_EQUI_DISMANTLE in component exchange scenarios. INHERITANCE_FLAGS controls which location data the equipment takes over; 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-install/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| EQUIPMENT | BAPI_ITOB_PARMS-EQUIPMENT | Equipment number | Yes |
| DATA_INSTALL | BAPI_ITOB_EQ_INSTALL_EXT | Installation location (functional location or superior equipment) | Yes |
| 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_INSTALL'
  EXPORTING
    equipment = lv_equipment
    data_install = lv_data_install
  IMPORTING
    data_general_exp = lv_data_general_exp
    data_specific_exp = lv_data_specific_exp
    return = lv_return.
```

## Related tables

EQUI, EQUZ, ILOA

