Contents
Introduction
Master Data
1. Creating Supplying Plant as Vendor
2. Creating Receiving Plant as Customer
3.
Configuration Guide
1. Define Document Type
2. Set up Stock Transport Order
2.1 Define Shipping Data for Plants
2.2 Create Checking Rule
2.3 Define Checking Rule
2.4 Assign Delivery Type and Checking Rule
2.5 Assign Document Type , One Step Procedure, Under delivery Tolerance
2.6 Define Allocation Type for STO
2.7
Transactional Data
3.1 Create Intercompany Purchase Order
3.2 Create Outbound Delivery
3.3 PGI Outbound Delivery
3.4 Goods receive the Purchase order
Introduction
Companies with plants in multiple locations typically have the requirement to transfer stock between plants, The STO(stock transport order) process is used to handle this transfer systematically in SAP.
However if these plants belong to different Company Codes then we need to use intercompany STO process. This requires several configuration steps and prerequisites to be in place for this solution to work and entities can benefit from the ability to monitor stock in transit , traceability through document flow and ability to account for delivery costs on the stock transport order.
We will discuss the prerequisites and configuration that needs to be in place in achieve the intercompany STO process in SAP.
Master data
In order to carry out the STO process the two plants that stock transfer is taking place, I,E one plant that supplying the stock and the other plant that is receiving stock need to be set up as a Vendor and a Customer respectively.
1. Creating Supplying Plant as Vendor
Tcode: XK01
Here you will set up a regular intercompany vendor as following setting.
On the purchasing Data screen on the vendor master, add the relevant plant as shown below.
(Pic 1)
(Pic 2)
2. Creating receiving Plant as Customer
Tcode: XD01
Here we will set up receiving plant as customer for shipping data determination.
Ensure the setting is made as below shipping tab.
(Pic 3)
Configuration Guide
The following configuration needs to be in place for intercompany process.
1. define document type
(Pic 4)
Purchase order for STO is used UB and intercompany STO you can use standard NB type, You could also define a separate z document type to differentiate these purchase orders.
2.Setup stock transport Order
(Pic 5)
All setting relevant for STO will be under this node.
2.1 Define shipping data for plant
Plant that need to be defined and shipping data added. I, E. the customer no that was created as a prerequisite needs to be added there.
(Pic 6)
2.2 Creating checking rule
(Pic 7)
Here you can define a checking rule which will be used for ATP checking, typically standard checking rules are used for intercompany STO since there is an outbound delivery involved the checking rule B is used.
(Pic 8)
Here you can assign the checking rule to the Availability check (on the material master ) and maintain relevant settings (types of stock / inward movements ATP would consider to fulfill the requirement ) for the combination.
2.4 Assign the delivery type to checking rule.
(Pic 9)
Here you assign the PO document type and Delivery type to Checking rule to used for each Supplying plant.
(Pic 10)
2.5 Assign Document type , One step procedure , underdelivery Tolerance
The assignment will restrict the use of order document types with the given Supplying plant / Plant combinations when creating purchase orders.
(Pic 11)
(Pic 12)
2.6 Define Allocation Type for STO
(Pic 13)
Transactional Data
To better understand STO process we will step by step cycle to see what transactional data is needed to complete the intercompany STO process.
3.1. Create Intercompany Purchase Order
Tcode: ME21N
(Pic 14)
Note- The shipping tab needs to be active for intercompany POs the relevant fields populated. If you can not see the tab there could be an issue with the customer being not assigned to the Vendor or shipping data not maintained and you would not be able to drop the outbound delivery .
3.2 Create Outbound Delivery
You would need to create an outbound delivery referencing the purchase order to indicate the stock movement out of the supplying plant (define as intercompany vendor here)
Tcode: VL10B
(Pic 15)
If you select the line and hit Show/Hide delivery button it should display the delivery number.
(Pic 16)
Note- you need to have sufficient unrestricted stock in the supplying plant to create outbound delivery , You can check this in Transaction MMBE. Display the stock overview or check the ATP horizon in the purchase order as below.
(Pic 17)
(Pic 18)
3.3 PGI outbound Delivery
Next step would be to carry out the post goods issue for the outbound delivery to indicate the stock leaving the supplying plant.
Tcode:VL02N
(Pic 19)
3.4 Goods receive purchase order
Once the delivery is receiving at the receiving plant you can perform a goods receipt to complete the logistics process
Tcode: MIGO
(Pic 20)
This complete the logistics part of intercompany STO process and the intercompany sales and payment invoices can be created to complete the financial postings.