If you want to perform route determination in a distributed system landscape with multiple SAP Supply Chain Management (SAP SCM) systems, you must ensure that all these systems have the same master data. Otherwise, you might receive different results when you call route determination from the different systems. This is particularly important if your planning system (SAP Advanced Planning and Optimization (SAP APO)) and your execution system (Extended Warehouse Management (EWM)) lie in different SCM systems.
As part of route determination, you need to distribute master data in the following cases:
Route determination is called in SAP Customer Relationship Management (SAP CRM) during the SAP APO availability check for sales orders.
Route determination is called from an ERP system during the conversion of unchecked deliveries to checked deliveries. Here the call occurs through the relevant SAP APO system too.
Route determination is called from various EWM systems for outbound delivery orders.
For the distribution of master data, the following prerequisites must be met:
You have selected the Realtime Distrib.
checkbox in Customizing for SCM Basis under . In this case, the master data
is distributed automatically when you change or create it in your master system.
You have created and transferred a distribution model. The following steps are necessary to do this:
Create a distribution model in the master system. To do this, call transaction BD64. Enter the following BAPIs:
Route->SaveReplicaMulti
TSPProfile->TSPProfileSavereplica
TransportCostProfil->TransportCostsSaveReplica
Zone->SavereplicaMulti
In the model view, generate the partner profiles that you have created. To do so, choose
.Transfer the distribution model from the master system to the other systems. To do so, choose
in the distribution model.Distribution can occur automatically or you can trigger it manually. If you want to trigger the distribution manually, choose the appropriate menu option in the following transactions:
Maintain Route
(transaction /SCTM/ROUTE
)
Maintain Zones for Routes
(transaction /SCTM/ZONE
)
Carrier Profile for the Routing Guide
(transaction /SCTM/TSPP
)
Alternatively, you can call the distribution program using transaction /SCTM/RG_MD_DISTRI.