Fonction SAP BAPI_INTERNALORDER_SAVEREPLICA - Replicate Individual Internal Order (ALE)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
MASTERDATA BAPI2075_MASTERDATA_ALE u 606 Master Data for Internal Order
STATUSHEADER BAPI2075_STATUSHEADER_ALE u 20 Status (Header)

Paramètre Reférence Long. Facultatif Description
OBJECTSTATUS BAPI2075_OBJECTSTATUS_ALE 18 Status (Objects)
RETURN BAPIRET2 548 Error Messages

Notes
The BAPI_INTERNALORDER_SAVEREPLICA function module is only usedinternally for internal orders (in SAP ALE business processes). Tocreate a new internal order, you therefore need to use theBAPI_INTERNALORDER_CREATE function module. This executes a completecheck on the order before you save.

Functionality
You can replicate an internal order (order category 01 and 02) using theBAPI_INTERNALORDER_SAVEREPLICA in an ALE business process within anexternal SAP system (so called receiver system).
Furthermore, the system sets the corresponding status for the order inthe same receiver system.
The "Availability control active" and "Budget tolerances exceeded"statuses are always set to inactive in the receiver system. This isregardless of the status in the order master system. The reason forthis, is that an order can only have a budget in its own master system,meaning that an availability control is not possible in the receiversystem.
The system checks whether the organization units entered in the order(such as company code, controlling area and so on) are valid for thecurrent date.
Further checks are not carried out in the receiver system. This meansthat no authorization checks or status checks of any kind are carriedout.
An order already in the receiver system is only overwritten if itsmaster system corresponds to the logical system in theMASTERDATA-LOGSYSTEM field.
If the order was assigned to a WBS element that does not exist in theorder receiver system, then the assignment is disregarded during replicaassignment. The "Assigned WBS element" field in the order master staysblank.
If the "Deletion indicator can be archived" status is contained in theOBJECTSTATUS import table, and is marked as active, the correspondingorder in the receiver system is deleted, including all its dependenttables.

Further information
For further information, see documentation in ALE business processes forinternal orders.

Description
In the ALE scenario for internal orders, the importing structureMASTERDATA contains relevant master data fields for internal orders.
Fields that can be derived from other transferred fields are notincluded.
For internal orders, there are other fields that are always filled withthe same (constant) value, and therefore are not contained inMASTERDATA.
There are for example, no fields that are only relevant to other ordertypes (such as production orders).

Description
General status information on the order, particularly the statusprofile of the order.

Description
INCLUDE ALE_SAVEREPLICA_STATUS OBJECT DOKU ID TX

Description
INCLUDE ALE_SAVEREPLICA_RETURN OBJECT DOKU ID TX

353492BAPI_INTERNALORDER... exception/message handling