# BAPI_EQUI_GETDETAIL — Read Equipment

> Reads the general, equipment-specific and fleet data of an equipment. Custom reports and outbound interfaces use it instead of joining EQUI, EQUZ and ILOA themselves. Pass the equipment number with leading zeros and check RETURN.

- 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-getdetail/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| EQUIPMENT | BAPI_ITOB_PARMS-EQUIPMENT | Equipment number | Yes |

## Exporting parameters

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

## Tables parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| EXTENSIONOUT | BAPIPAREX | Customer extension (output) | - |

## Call template (ABAP)

```abap
CALL FUNCTION 'BAPI_EQUI_GETDETAIL'
  EXPORTING
    equipment = lv_equipment
  IMPORTING
    data_general_exp = lv_data_general_exp
    data_specific_exp = lv_data_specific_exp
    data_fleet_exp = lv_data_fleet_exp
    return = lv_return
  TABLES
    extensionout = lt_extensionout.
```

## Related tables

EQKT, EQUI, EQUZ, ILOA

