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

ParameterTypeDescriptionRequired
EQUIPMENTBAPI_ITOB_PARMS-EQUIPMENTEquipment numberYes

Exporting parameters

ParameterTypeDescription
DATA_GENERAL_EXPBAPI_ITOBGeneral data (result)
DATA_SPECIFIC_EXPBAPI_ITOB_EQ_ONLYSpecific data (result)
DATA_FLEET_EXPBAPI_FLEETFleet data (result)
RETURNBAPIRET2Return message

Tables parameters

ParameterTypeDescriptionRequired
EXTENSIONOUTBAPIPAREXCustomer 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.

Request a custom report