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
| Parameter | Type | Description | Required |
|---|---|---|---|
| MASTERDATA | BAPI2075_MASTERDATA_ALE | Order master data | Yes |
| STATUSHEADER | BAPI2075_STATUSHEADER_ALE | Status header | Yes |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| OBJECTSTATUS | BAPI2075_OBJECTSTATUS_ALE | Object statuses | Yes |
| RETURN | BAPIRET2 | Return messages | Yes |
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.