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

BAPI_EQUI_CHANGE Change Equipment

Changes the master data of an existing equipment. Every data structure has an X structure (DATA_GENERALX, DATA_SPECIFICX, DATA_FLEETX); set the flag for each field you change, otherwise it is not updated. Use VALID_DATE for time-dependent data and commit with BAPI_TRANSACTION_COMMIT.

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

Importing parameters

ParameterTypeDescriptionRequired
EQUIPMENTBAPI_ITOB_PARMS-EQUIPMENTEquipment numberYes
DATA_GENERALBAPI_ITOBGeneral dataYes
DATA_GENERALXBAPI_ITOBXGeneral data change flagsYes
DATA_SPECIFICBAPI_ITOB_EQ_ONLYEquipment-specific dataYes
DATA_SPECIFICXBAPI_ITOB_EQ_ONLYXSpecific data change flagsYes
DATA_FLEETBAPI_FLEETFleet object data—
DATA_FLEETXBAPI_FLEETXFleet data change flags—
VALID_DATEBAPI_ITOB_PARMS-INST_DATEValid-from date—
VALID_TIMEBAPI_ITOB_PARMS-INST_TIMEValid-from time—

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
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_CHANGE'
  EXPORTING
    equipment = lv_equipment
    data_general = lv_data_general
    data_generalx = lv_data_generalx
    data_specific = lv_data_specific
    data_specificx = lv_data_specificx
  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
    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