Mastering SAP SD Stock Transport Orders (STO): A Step-by-Step Guide

Mastering SAP SD Stock Transport Orders (STO): A Step-by-Step Guide

Stock Transport Orders (STOs) in SAP Sales and Distribution (SD) are critical for managing the movement of goods between plants or storage locations within an organization. Whether you’re transferring materials between company-owned facilities or handling intercompany stock transfers, mastering STOs ensures smooth logistics, accurate inventory tracking, and compliance with financial and operational policies.

This guide provides a step-by-step breakdown of SAP SD Stock Transport Orders, covering everything from configuration and creation to execution and troubleshooting. By the end, you’ll have a practical, actionable understanding of how to optimize STO processes in your SAP system.

Understanding Stock Transport Orders (STOs) in SAP SD

Before diving into execution, it’s essential to grasp the fundamental concepts behind STOs, their types, and their role in SAP SD and MM (Materials Management) integration.

What Is a Stock Transport Order (STO)?

A Stock Transport Order (STO) is a document used in SAP to manage the transfer of materials between two plants or storage locations within the same company or across different companies (intercompany transfers). Unlike standard sales orders, STOs are internal transactions that do not involve external customers but still require proper documentation for inventory and accounting purposes.

Key characteristics of STOs:

  • Used for internal stock movements (e.g., from Plant A to Plant B).
  • Can be one-step or two-step (more on this later).
  • Integrates with MM (Materials Management) for goods issue and receipt.
  • Impacts financial accounting (e.g., stock valuation, cost center postings).

Types of Stock Transport Orders

SAP supports four primary types of STOs, each serving different business scenarios:

| STO Type | Transaction Code | Use Case |
||||
| One-Step STO | ME21N (MM) / VA01 (SD) | Single transaction for goods issue and receipt (no intermediate storage). |
| Two-Step STO | ME21N (MM) / VA01 (SD) | Goods issue and receipt are separate steps (useful for transit storage). |
| Intercompany STO | VA01 (SD) | Transfer between legally separate companies (requires billing). |
| Subcontracting STO | ME21N (MM) | Sending materials to a vendor for processing (returns as finished goods). |

Example Scenario:
– A manufacturing plant in Germany (Plant 1000) needs to send raw materials to a production facility in France (Plant 2000).
– If both plants belong to the same company → One-step or two-step STO.
– If they belong to different legal entities → Intercompany STO.

Key Differences: STO vs. Standard Sales Order

While STOs and standard sales orders (SO) share similarities in SAP SD, they differ in critical ways:

| Feature | Stock Transport Order (STO) | Standard Sales Order (SO) |
||||
| Customer | Internal (e.g., receiving plant) | External (e.g., end customer) |
| Billing | Only for intercompany STOs (optional) | Mandatory for revenue recognition |
| Goods Movement | Goods issue (MM) + goods receipt (MM) | Goods issue (SD) + delivery (SD) |
| Pricing | Typically no pricing (internal transfer) | Pricing conditions apply (e.g., discounts) |
| Accounting Impact | Stock valuation changes (no revenue) | Revenue recognition + COGS posting |

Why This Matters:
Misclassifying an STO as a standard SO (or vice versa) can lead to inventory discrepancies, incorrect financial postings, and compliance issues. Always verify the transaction type before processing.

Configuring Stock Transport Orders in SAP

Proper configuration is the foundation of efficient STO processing. This section covers master data setup, transaction types, and movement types—the three pillars of STO configuration.

Step 1: Define Plants and Storage Locations

Before creating STOs, ensure that the sending and receiving plants/storage locations are correctly configured in SAP.

Path:
SPRO → IMG → Enterprise Structure → Definition → Logistics Execution → Define, Copy, Delete, Check Plant

Key Settings:

  1. Plant Parameters (e.g., address, responsible person).
  2. Storage Location Assignment (e.g., link storage locations to plants).
  3. MRP (Material Requirements Planning) Settings (if applicable).

Example:

  • Plant 1000 (Berlin) → Storage Location 0001 (Raw Materials)
  • Plant 2000 (Paris) → Storage Location 0002 (Finished Goods)

Pro Tip:
Use transaction MM03 to verify material availability in the sending plant before creating an STO.

Step 2: Configure Transaction Types for STOs

STOs use specific transaction types in SAP SD and MM. The most common are:

| Transaction Type | Description | Default in SAP |
||||
| UB | One-step STO (no intermediate storage) | Yes |
| NB | Two-step STO (with transit storage) | Yes |
| U1 | Intercompany STO (with billing) | Custom |

Configuration Path:
SPRO → IMG → Materials Management → Purchasing → Purchase Order → Define Document Types

Steps to Configure:

  1. Copy an existing document type (e.g., NB for two-step STO).
  2. Assign a number range (e.g., 50000000-59999999).
  3. Define default values (e.g., purchasing organization, plant).

Example:
– Create a custom STO type ZSTO for high-priority transfers with a separate number range.

Step 3: Set Up Movement Types for Goods Issue/Receipt

Movement types determine how stock is debited (goods issue) and credited (goods receipt) in SAP.

Common Movement Types for STOs:
| Movement Type | Description | Transaction |
||||
| 301 | Goods issue for one-step STO | MB1B (Goods Issue) |
| 303 | Goods issue for two-step STO | MB1B |
| 101 | Goods receipt (one-step STO) | MB01 |
| 103 | Goods receipt (two-step STO) | MB01 |

Configuration Path:
SPRO → IMG → Materials Management → Inventory Management and Physical Inventory → Movement Types → Copy, Change Movement Types

Best Practice:

  • Restrict movement types to authorized users to prevent errors.
  • Use OMJJ to define allowed movement types per plant.

Creating and Processing Stock Transport Orders

Now that the system is configured, let’s walk through the end-to-end process of creating and executing an STO.

Step 1: Creating an STO in SAP (VA01 or ME21N)

STOs can be created in SD (VA01) or MM (ME21N), depending on the type.

Method 1: Using VA01 (SD Module)

  1. Transaction: VA01
  2. Order Type: Select UB (one-step) or NB (two-step).
  3. Enter Sending Plant (e.g., 1000).
  4. Enter Receiving Plant (e.g., 2000).
  5. Add Materials (with quantities).
  6. Save (system generates STO number, e.g., 50000001).

Example:
– Transfer 100 units of Material M-100 from Plant 1000 (Berlin) to Plant 2000 (Paris).

Method 2: Using ME21N (MM Module)

  1. Transaction: ME21N
  2. Document Type: NB (for two-step STO).
  3. Vendor: Enter the receiving plant as the vendor (e.g., 2000).
  4. Add Items (material, quantity, storage location).
  5. Save (system generates PO number, e.g., 4500000001).

Key Difference:

  • VA01 (SD) is used for intercompany STOs (with billing).
  • ME21N (MM) is used for intracompany STOs (no billing).

Step 2: Goods Issue (Outbound Process)

Once the STO is created, the next step is goods issue from the sending plant.

Transaction: MB1B (Goods Issue for STO)

Steps:

  1. Enter Movement Type (e.g., 301 for one-step, 303 for two-step).
  2. Input STO/Purchase Order Number (e.g., 50000001).
  3. Confirm quantity and storage location.
  4. Post the goods issue.

Verification:

  • Check stock in MMBE (Stock Overview).
  • Ensure the material document is generated (e.g., 5000000001).

Common Error:
– “No stock available” → Check reservations in MB22 or MRP in MD04.

Step 3: Goods Receipt (Inbound Process)

The final step is goods receipt at the receiving plant.

Transaction: MB01 (Goods Receipt for STO)

Steps:

  1. Enter Movement Type (e.g., 101 for one-step, 103 for two-step).
  2. Input STO/Purchase Order Number.
  3. Confirm quantity and storage location.
  4. Post the goods receipt.

Verification:

  • Check stock in MMBE at the receiving plant.
  • Ensure the accounting document is posted (e.g., 9000000001).

Pro Tip:
– For two-step STOs, use MB1B with movement type 305 to post goods receipt from transit storage.

Advanced STO Scenarios and Troubleshooting

While basic STOs are straightforward, complex scenarios (intercompany transfers, subcontracting, and errors) require deeper expertise.

Handling Intercompany Stock Transport Orders

Intercompany STOs involve two legal entities, requiring billing and accounting postings.

Key Steps:

  1. Create STO in VA01 (Order Type: U1).
  2. Goods Issue (301) from sending plant.
  3. Goods Receipt (101) at receiving plant.
  4. Create Billing Document (VF01) for intercompany invoicing.

Example:

  • Company A (Plant 1000) sends goods to Company B (Plant 2000).
  • Billing ensures proper revenue recognition in Company A and expense posting in Company B.

Common Issue:
– “No pricing procedure determined” → Check sales organization assignment in VOR1.

Subcontracting STOs: Sending Materials to Vendors

Subcontracting STOs are used when sending materials to a vendor for processing (e.g., painting, assembly).

Process Flow:

  1. Create STO (ME21N) with Movement Type 541 (subcontracting issue).
  2. Goods Issue (MB1B) to vendor.
  3. Vendor processes materials and returns finished goods.
  4. Goods Receipt (MB01) with Movement Type 101.

Example:

  • Send 100 kg of Steel (M-200) to Vendor V-3000 for machining.
  • Receive back 50 units of Machined Parts (M-300).

Critical Check:
– Ensure subcontracting info record (ME11) exists for the vendor.

Troubleshooting Common STO Errors

Even with proper setup, errors can occur. Here’s how to resolve them:

| Error Message | Possible Cause | Solution |
||||
| “No stock available” | Insufficient stock or reservation issue | Check MB22 or run MRP (MD01) |
| “Movement type not allowed” | Incorrect movement type configuration | Verify OMJJ settings |
| “No pricing procedure” | Missing sales org. assignment | Check VOR1 or VOV8 |
| “Delivery block” | Material is blocked for delivery | Remove block in MM02 (MRP 2 view) |
| “No accounting document” | Missing G/L account assignment | Check OBYC (Transaction Keys) |

Pro Tip:

  • Use SU53 to analyze authorization errors.
  • Run SE38 (ABAP Report: RM07CUDB) to check STO consistency.

Best Practices for Optimizing STO Processes

Efficiency in STO processing reduces lead times, errors, and operational costs. Here are actionable best practices.

Automate STO Creation with MRP

Instead of manual STO creation, use MRP (Material Requirements Planning) to auto-generate STOs based on demand.

Steps:

  1. Run MRP (MD01) for the receiving plant.
  2. System generates planned orders for missing stock.
  3. Convert planned orders to STOs (MD04 → Convert).

Benefits:

  • Reduces manual effort.
  • Ensures timely replenishment.

Use Batch Management for Traceability

If your materials require batch tracking (e.g., pharmaceuticals, food), enable batch management in STOs.

Configuration:

  • OMJJ → Assign batch status to movement types.
  • MSC1N → Manage batches during goods issue/receipt.

Example:
– Transfer Batch B-2024-001 of Material M-400 with expiry date tracking.

Monitor STOs with Standard Reports

SAP provides standard reports to track STO status and performance.

| Report | Transaction | Purpose |
||||
| MB5B | MB5B | Stock in transit (two-step STOs) |
| ME2N | ME2N | Monitor STO documents |
| MC.9 | MC.9 | Material movements analysis |
| VA05 | VA05 | Sales document list (intercompany STOs) |

Pro Tip:
– Schedule MC.9 as a background job for daily STO tracking.

Conclusion: Mastering STOs for Seamless Inventory Management

Stock Transport Orders are a cornerstone of internal logistics in SAP, bridging the gap between procurement, production, and distribution. By following this guide, you now have a structured, step-by-step approach to:

✅ Understand STO types and their business applications.
✅ Configure STOs with the right transaction and movement types.
✅ Execute STOs from creation to goods receipt.
✅ Handle complex scenarios like intercompany transfers and subcontracting.
✅ Optimize processes with automation, batch management, and reporting.

Next Steps:

  • Practice in a sandbox before applying changes in production.
  • Document your STO workflows for team training.
  • Explore SAP Fiori apps (e.g., Manage Stock Transport Orders) for a modern UI experience.

By mastering STOs, you’ll reduce errors, improve inventory accuracy, and streamline internal logistics—ultimately driving operational excellence in your SAP environment.