PM
BAPI
RFC
Used the same way in S/4HANA
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.
- Function group
- ITOB_BAPI_EQ
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
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)
A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.
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
Can't find the report you need?
We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.