It’s often required to transfer stock between plants in a same company code. For example, if one plant has stock, which ...
Table of Contents Introduction ........................................................................................................................... 2 Configuration ......................................................................................................................... 2 Assign supply plant and receiving plant to same company code ........................................................ 2 Setup Stock Transport Order ............................................................................................................. 3 Define Purchase Order Document Type ............................................................................................... 3 Define Shipping Data for Plants ........................................................................................................ 5 Create receiving plant as a customer ................................................................................................... 5 Create supplying plant as a vendor ...................................................................................................... 7 Create Checking Rule ...................................................................................................................... 10 Define Checking Rule ...................................................................................................................... 11 Assign Delivery Type and Checking Rule .......................................................................................... 12 Assign Document Type, One-‐Step Procedure and under delivery Tolerance .................................... 13 Define Allocation for Stock Transport Orders (AFS) ......................................................................... 15 Define Rule for Determination of Shipping Point ............................................................................. 16 Test example ......................................................................................................................... 18 Create STO PO .................................................................................................................................... 19 Create outbound delivery .................................................................................................................. 20 Stock requirement list (MD04) after delivery creation (Before PGI) .................................................. 21 Pick / PGI of outbound delivery .......................................................................................................... 23 Stock Requirement List (MD04) after PGI .......................................................................................... 23 Create inbound delivery ..................................................................................................................... 25 Goods receipt at receiving plant ........................................................................................................ 26
Introduction It’s often required to transfer stock between plants in a same company code. For example, if one plant has stock, which is required by the other plant, you need to have a mechanism in SAP to do that. As part of the SAP process, you should be able to track the stock in transit and print all documents required for that as well. Plant to plant stock movement in SAP is known as Stock Transport Orders in SAP (STO). Let’s see how we can configure this STO process. Business Scenario: Let’s say I want to transfer stock from Plant “A300” to Plant “A301”.
Configuration Assign supply plant and receiving plant to same company code •
Both supplying plant (A300) and receiving plant (A301) has to be assigned to the same company code
IMG Path:
Setup Stock Transport Order Define Purchase Order Document Type IMG Path:
•
Standard SAP has delivered below PO types for different purposes; o For Intra company STO’s -‐ UB o Inter company STO’s -‐ NB
Since our focus is on Intra company (Within same company) stock transport orders, let’s look at the purchase order type configuration for “UB”
•
Allowed item category is “U”
This item category should be assigned to the respective purchase requisition type as shown below.
Most of the stock transport order configuration is created under below IMG path.
IMG Path:
Define Shipping Data for Plants This IMG node is used to assign the sales area and the customer number of the receiving plant. In our example, plant “A301” is the receiving plant. Therefore we need to assign that as a customer here to the plant “A301”. Therefore, before doing this configuration, we need to define plant “A301” as a customer master. Create receiving plant as a customer Transaction: XD01
•
Assign above customer to respective plant (Receiving plant) in the below IMG node.
IMG Path:
•
Select your receiving plant and go into details using
button
•
Assign the customer number to the correct sales area
Create supplying plant as a vendor Transaction: XK01 In our example, the supplying plant is “A300”. Therefore I need to create it as a vendor. In the vendor master record, under “Purchasing” option, I need to assign the plant code. •
Go to Purchasing Data view
•
Go to below menu option to assign this vendor as supplying plant
•
Save the vendor master
Create Checking Rule In order to execute the availability check at the supplying plant, you can create a availability check rule in this IMG path. Alternatively you can use an existing rule as well. IMG Path:
Define Checking Rule In this IMG node, you can assign above created checking rule to the availability check and configure settings of ATP. IMG Path:
Eg:
Details:
Assign Delivery Type and Checking Rule In the below IMG node, you need to assign the delivery type and the checking rule that should be determined based on the supplying plant and purchase order type combination. In standard SAP, there are 2 different delivery types available for below purposes. • •
Stock Transfer Without Billing – NL Stock Transfer With Billing – NLCC (Eg: Intercompany STO)
IMG Path:
Since our example is intra company STO, we need to assign delivery type “NL” for the combination of purchase order type “UB” and supplying plant “A300”
Note: For Intra Company STO process, assigning a delivery type in the above configuration is not mandatory.
Assign Document Type, One-‐Step Procedure and under delivery Tolerance Under this IMG path, you can configure below;
•
If the supplying and receiving plants belong to the same company code, choose the document type “UB”. Physical stock transfer will be carried without a billing document
•
If the supplying and receiving plants belong to different company codes, choose the document type “NB”. Physical stock transfer will be carried out with delivery and billing document
IMG Path:
In the same configuration you can specify, how the logistic process should be managed within SAP. If the business wants to do the goods receipt as soon as the supply plant outbound delivery is PGI’d, then select the below setting. That is known as the one-‐step process. In that case, you will not need to do goods receipt for the STO PO.
In case if you want to track the goods in transit, do not select the “One-‐step” check box. In such a case, user will have to manually do goods receipt for STO PO.
Define Allocation for Stock Transport Orders (AFS) Below IMG node is only relevant for IS-‐AFS systems only. This is to run the allocation run in background for STO deliveries in the supplying plant.
You need to create an entry for the STO PO type, supplying plant combination
You can achieve same in below configuration node under AFS allocation run as well.
Define Rule for Determination of Shipping Point Under this IMG node, you can specify how the shipping point should be determined for the outbound delivery of the supplying plant. i,e, based on the combination of plant, loading group, and shipping condition. IMG Path:
Based on the business requirement, set it as plant dependent or storage location dependent shipping point determination.
Once above configuration is in place, system will determine the correct shipping point from below IMG setting. Shipping condition is determined from the customer master, where as, loading group from the material master.
Test example •
Create a STO PO from receiving plant (A301) to the supplying plant (A300)
Before we create any transactional data, let’s look at the existing stock situation in both plants: •
“MMBE” transaction for material “AW01” in Plant “A300” (Supply plant)
•
MMBE transaction for material “AW01” in Plant “A301” (Receiving plant) – 0 Quantity available
Create STO PO Now let’s create a STO PO from plant “A301” to plant “A300”. • • •
Vendor: Supplying plant (A300) Plant in the STO PO line item: Receiving plant (A301) PO Type: UB
Refer below highlited fields in the STO PO. STO Purchse Order # -‐ 4500000487
Since we have assign an allocation type for this STO purchase order type (UB), the allocation takes place in background automatically. Create outbound delivery
•
Create outbound delivery from supply plant – A300 for this STO PO 4500000487
Transaction: VL10B
•
Outbound delivery got created from plant A300.
Now let’s look at the outbound delivery for more information. As you can see below, delivery was created for the ship to party “A301” (Which is out receiving plant). Delivery type determined as “NL” and the shipping point determined correctly as “A300”
Stock requirement list (MD04) after delivery creation (Before PGI) •
Supplying plant “A300” –
As you see below, this STO PO is listed in “D” tab
•
Receiving plant “A301” –
As you can see below, same STO PO is listed under “A” tab as a incoming purchase order for plant “A301”
Pick / PGI of outbound delivery • Do pick and PGI for this delivery – 80000389 Transaction: VL02N You can configure output determination to print your transport documents from the delivery document. Click here to learn more about output type configuration in SAP. Stock Requirement List (MD04) after PGI • Supplying plant “A300” – As you see below, our STO PO is no longer listed under supply plant A300.
•
Receiving plant “A301” –
Since we haven’t done the goods receipt at receiving plant (A301), this PO is still listed under “A” tab as a incoming purchase order
If you look at the STO PO history tab, you will be able to see the movement type used for this purpose.
Create inbound delivery Depend on your business requirement; you can create an inbound delivery using this STO PO number. This inbound delivery is used as an Advanced Shipping Notification to the receiving plant (ASN) Transaction: VL31N
Goods receipt at receiving plant • Once PGI takes plant in the supply plant, we can do the goods receipt at the receiving plant Transaction: MIGO
Once good receipt is completed, you can see the stock is moved to “A301” plant as below
Author: Anupa Wijesinghe E-‐Mail:
[email protected] /
[email protected] Website: www.learnsaptips.com View my profile in LinkedIn Follow me on Twitter Disclaimer This article is done based on my research and readings, unless otherwise stated. The views expressed are my own and not of anyone else. Author accepts no liability for the content of the articles in this website or for the consequences of any actions taken on the basis of the information provided. Using this information is at the users own discretion and responsibility.