PM BAPI RFC Used the same way in S/4HANA

BAPI_EQUI_CREATE Create Equipment

Creates an equipment master record with general data, equipment-specific data and, optionally, fleet data and an installation location. It is used for equipment migration and for interfaces that register new assets. Check RETURN (a single structure) and call BAPI_TRANSACTION_COMMIT; EQUIPMENT returns the new number.

Function group
ITOB_BAPI_EQ
Remote-enabled (RFC)
Yes
Type
BAPI

Importing parameters

ParameterTypeDescriptionRequired
EXTERNAL_NUMBERBAPI_ITOB_PARMS-EQUIPMENTExternal equipment number—
DATA_GENERALBAPI_ITOBGeneral dataYes
DATA_SPECIFICBAPI_ITOB_EQ_ONLYEquipment-specific dataYes
DATA_FLEETBAPI_FLEETFleet object data—
VALID_DATEBAPI_ITOB_PARMS-INST_DATEValid-from date—
DATA_INSTALLBAPI_ITOB_EQ_INSTALLInstallation data—

Exporting parameters

ParameterTypeDescription
EQUIPMENTBAPI_ITOB_PARMS-EQUIPMENTNumber of the created equipment
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
EXTENSIONINBAPIPAREXCustomer extension (input)—
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_CREATE'
  EXPORTING
    data_general = lv_data_general
    data_specific = lv_data_specific
  IMPORTING
    equipment = lv_equipment
    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
    extensionin = lt_extensionin
    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