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

BAPI_INTERNALORDER_SAVEREPLICA Replicate Individual Internal Order (ALE)

Saves internal order master data and statuses received from another system through ALE in the receiving system. It is usually not called directly; it runs in IDoc inbound processing for the INTERNALORDER message type. In distributed landscapes make sure order number ranges and order types are defined the same way in both systems.

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

Importing parameters

ParameterTypeDescriptionRequired
MASTERDATABAPI2075_MASTERDATA_ALEOrder master dataYes
STATUSHEADERBAPI2075_STATUSHEADER_ALEStatus headerYes

Tables parameters

ParameterTypeDescriptionRequired
OBJECTSTATUSBAPI2075_OBJECTSTATUS_ALEObject statusesYes
RETURNBAPIRET2Return messagesYes

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_INTERNALORDER_SAVEREPLICA'
  EXPORTING
    masterdata = lv_masterdata
    statusheader = lv_statusheader
  TABLES
    objectstatus = lt_objectstatus
    return = lt_return.

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