If you want to perform route determination in a distributed system landscape with multiple SCM systems (SAP Supply Chain Management (SAP SCM)), you must ensure that all these systems have the same master data. Otherwise, you might get 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 via the relevant SAP APO system too.
● Route determination is called from various EWM systems for outbound delivery orders.
● You have set the Realtime Distrib. indicator in Customizing for SCM Basis under Routing Guide ® General Settings for Route Determination. 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:
a. 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
b. In the model view, generate the partner profiles that you have created. To do so, choose Environment ® Generate Partner Profiles in the distribution model.
c. Transfer the distribution model from the master system to the other systems. To do so, choose Edit ® Model View ® Distribute 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
● Maintain Zones for Routes
● Carrier Profile for the Routing Guide
Alternatively, you can call the distribution program using transaction /SCTM/RG_MD_DISTRI.