SAP MM TUTORIAL

Mastering the SAP MM Subcontracting Process in S/4HANA: Special Stock 'O' Lifecycle

Master the SAP MM subcontracting process in S/4HANA. Understand master data, PO creation with item category L, component provision, goods receipt for special stock 'O', and financial implications.

Anshuman Behuria
Anshuman BehuriaLead SAP Mentor ยท theTechMentor
Updated
Mastering the SAP MM Subcontracting Process in S/4HANA: Special Stock 'O' Lifecycle
ModuleSAP MM
Read time14 min
LevelConsultant
T-codes covered

CS01CS02ME11ME21NMIGOMMBEMB51ME2O

As an SAP MM consultant in India, you'll frequently encounter complex procurement scenarios, and subcontracting is one of the most common and critical. It's not just about procuring an item; it's about managing your raw materials provided to a third-party vendor, tracking their consumption, and ensuring accurate inventory and financial postings. In S/4HANA, while the core principles remain, understanding the nuances of special stock 'O' and integrating it correctly is paramount.

This article will guide you through the entire SAP MM subcontracting process, from master data setup to goods receipt and financial impact. We'll demystify item category 'L', special stock 'O', and provide practical insights on monitoring, troubleshooting, and handling common scenarios like by-products and scrap. By the end, you'll be able to confidently implement and manage subcontracting processes in S/4HANA.

โšก Key takeaways
  • SAP MM subcontracting in S/4HANA uses Item Category 'L' in POs and Special Stock 'O' for components at the vendor.
  • Accurate master data, including Material Masters, BOM (<code>CS01</code> with planned scrap), and Subcontracting Info Records (<code>ME11</code>), is crucial.
  • Components are provided to the vendor via <code>MIGO 541</code> or directly from <code>ME2O</code>, moving them to Special Stock 'O'.
  • Goods Receipt of the finished product (<code>MIGO 101 O</code>) automatically consumes components (<code>543 O</code>) from Special Stock 'O'.
  • Financial postings involve debiting finished goods inventory, crediting GR/IR for service cost, and debiting consumption accounts while crediting component inventory (<code>OBYC</code> keys <code>BSX</code>, <code>WRX</code>, <code>GBB-VBO</code>, <code>BSV</code>).
  • Monitor subcontracting using <code>ME2O</code> for component status and address discrepancies using <code>MIGO 542 O</code> (returns) or <code>544 O</code> (scrapping).
Process at a glance
  1. 1Master Data SetupDefine BOM for finished goods and create subcontracting info records for pricing.
  2. 2PO Creation (ME21N)Create a purchase order with item category 'L' for the finished product.
  3. 3Component Provision (MIGO 541 / ME2O)Issue components to the subcontractor, tracking them as special stock 'O'.
  4. 4GR of Finished Good (MIGO 101 O)Receive the finished product from the subcontractor, consuming components automatically.
  5. 5Invoice Verification (MIRO)Process the vendor invoice for the subcontracting services rendered.

01Understanding SAP MM Subcontracting: Why and How

Subcontracting is a manufacturing process where you provide components to a vendor, and they perform specific operations or assemble a finished product using those components. The vendor then returns the finished product to you. This is common in industries like automotive, electronics, and engineering, especially when specialized labor, machinery, or certifications are required that your own plant doesn't possess.

In SAP MM, this scenario is handled using a specific procurement type: the subcontracting purchase order. The key identifiers here are:

The goal is to ensure your inventory records accurately reflect the components at the vendor and that the cost of subcontracting services, plus component consumption, is correctly accounted for when the finished product is received. This process is distinct from standard procurement, where you simply order and receive a finished good.

02Master Data Configuration for SAP MM Subcontracting

Accurate master data is the foundation of a smooth subcontracting process. Without it, you'll face errors in PO creation, component consumption, and financial postings.

1. Material Master (T-code: MM01/MM02)

Both the finished product and the components require specific settings:

2. Bill of Material (BOM) (T-code: CS01/CS02)

The BOM is critical for subcontracting. It defines which components (and how much of each) are required to produce one unit of the finished product.

  1. Go to transaction CS01 to create a new BOM (or CS02 to change).
  2. Enter the finished product material number, plant, and BOM Usage (e.g., '1' for production).
  3. In the item overview, list all components with their required quantities.
  4. Crucially, enter the scrap percentage for each component if there's planned scrap during the subcontractor's process. This scrap will be consumed automatically.

Table: Key BOM Fields for Subcontracting

Field NameDescriptionImportance for Subcontracting
MaterialFinished product codeThe material being produced by the subcontractor.
PlantManufacturing plantDetermines where the BOM is valid.
BOM Usagee.g., '1' (Production)SAP uses this to determine relevant BOMs for MRP, production, and subcontracting.
Component MaterialRaw materials/semi-finished goodsThe materials you provide to the subcontractor.
QuantityRequired per finished unitExact amount needed to produce one unit of the finished product.
Operation Scrap (%)Planned scrap rateAutomatically consumes this percentage of component quantity when the finished good is received.

3. Subcontracting Info Record (T-code: ME11/ME12)

While not strictly mandatory for PO creation, a subcontracting info record is highly recommended. It helps to default pricing conditions for the subcontracting service (not the components) and provides a central place for vendor-material specific details.

To create one, use ME11, select the 'Subcontracting' category (represented by 'L' in the radio buttons), and maintain the pricing conditions. This ensures consistent pricing for the subcontracting activity.

03Creating the Subcontracting Purchase Order (PO)

The subcontracting purchase order is created using transaction ME21N, just like a standard PO, but with one critical difference: the item category.

  1. Go to transaction ME21N.
  2. Enter the Vendor, Purchasing Organization, Purchasing Group, and Company Code.
  3. In the Item Data section, enter the finished material, quantity, and plant.
  4. For the Item Category field, select 'L' (Subcontracting). This is the key differentiator.
  5. Once 'L' is selected, a new tab, 'Components', will appear at the item level.
  6. Click on the 'Components' tab. The system will automatically explode the Bill of Material (BOM) linked to the finished product and propose the required components and quantities.
  7. You can adjust the component quantities here if needed, for example, if the vendor requires more or less for a specific batch.
  8. Save the purchase order.

The system will now know that for this PO, you need to provide the listed components to the vendor, and upon receipt of the finished product, these components will be consumed from special stock 'O'. Refer to How to Configure a Complete Purchase Order Cycle in SAP S/4HANA: Step-by-Step Guide for more details on general PO configuration.

04Providing Components to the Subcontractor: Special Stock 'O'

Once the subcontracting PO is created, the next step is to send the necessary components to your subcontractor. This process moves the components from your own unrestricted stock into a special stock segment at the vendor's location, known as Special Stock 'O'.

There are two primary ways to provide components:

1. Goods Issue using MIGO (Movement Type 541)

This is the most common method. You manually issue the components to the vendor:

  1. Go to transaction MIGO.
  2. Select 'Goods Issue' and 'Other'.
  3. Enter Movement Type 541.
  4. On the detail screen, enter the finished material (from the PO), the plant, and the vendor. The system will then allow you to specify the individual components and their quantities.
  5. Post the document.

After posting, the components' stock will decrease from your plant's unrestricted-use stock and increase in the 'stock provided to vendor' (special stock 'O') for that specific vendor. You can verify this in MMBE (Stock Overview) or MB51 (Material Document List) with movement type 541.

2. Using the Subcontracting Monitor (ME2O)

The ME2O transaction (SC Stock Monitoring for Vendor) is a powerful tool to manage components. It provides an overview of all components required for open subcontracting POs, components already provided, and remaining requirements. You can issue components directly from here.

  1. Go to transaction ME2O.
  2. Enter the Vendor and/or Plant. Execute.
  3. The report shows all components needed for open POs, with quantities already provided and quantities still to be provided.
  4. Select the lines for components you want to issue.
  5. Click on 'Post Goods Issue'. The system will generate the necessary 541 movement.

ME2O is generally preferred for its comprehensive overview and ease of use, especially for managing multiple subcontracting orders and ensuring timely component provision. It also helps in identifying missing components.

05Goods Receipt of Finished Product and Component Consumption

When the subcontractor completes the processing and sends back the finished product, you perform a goods receipt in SAP. This crucial step not only brings the finished product into your inventory but also automatically consumes the components from the special stock 'O' at the vendor.

  1. Go to transaction MIGO.
  2. Select 'Goods Receipt' and 'Purchase Order'.
  3. Enter the subcontracting Purchase Order number.
  4. The system will propose the finished product with Movement Type 101. Crucially, because it's a subcontracting PO, the system also automatically proposes the consumption of components with Movement Type 543 O.
  5. Check the quantities. If the received quantity of the finished product is less than ordered, adjust the quantity.
  6. Verify that the 'Components' tab shows the planned consumption based on the BOM and the received quantity.
  7. Post the document.

Upon posting:

It's important to understand that the system automatically handles the component consumption based on the BOM explosion and the quantity of the finished product received. This ensures inventory accuracy for both the finished good and the components at the subcontractor's site.

06Financial & Inventory Postings in S/4HANA: A Deep Dive

The financial impact of subcontracting is where many new consultants get confused. In S/4HANA, with the Universal Journal (SAP S/4HANA Universal Journal (ACDOCA): Architecture & Configuration Guide), all financial postings are streamlined, but the underlying logic remains consistent with MM-FI integration via OBYC.

When you perform a Goods Receipt (MIGO) for the finished product from a subcontracting PO, two main accounting events occur:

1. Goods Receipt of Finished Product (Movement Type 101 O)

This entry debits your inventory of the finished good and credits GR/IR (Goods Receipt/Invoice Receipt) for the subcontracting service cost. The valuation for the finished good includes the cost of components consumed AND the service charges from the vendor.

2. Consumption of Components (Movement Type 543 O)

This entry credits your inventory of the components (from special stock 'O') and debits a consumption account for the value of these components, which effectively adds their cost to the finished product.

The net effect is that the finished product's inventory value correctly reflects both the direct material costs (components) and the cost of the external processing service. If Material Ledger is active, actual costing will further refine these values by including price differences, especially relevant for highly integrated manufacturing scenarios (SAP S/4HANA Material Ledger & Actual Costing: Valuation Masterclass).

07Handling By-Products and Scrap in Subcontracting

Real-world subcontracting often involves more than just consuming main components. You might have planned by-products or unplanned scrap. SAP MM provides mechanisms to manage these effectively.

By-Products (Movement Type 545)

A by-product is a material produced incidentally during the manufacturing of another product, usually of minor value compared to the main product. If your subcontracting process generates by-products, you can configure them in the Bill of Material (BOM).

  1. In CS02 (Change BOM), add the by-product material as a negative quantity item (e.g., -1 PC).
  2. When you perform the Goods Receipt for the finished product (MIGO 101 O), the system will automatically propose the by-product as a positive receipt (Movement Type 545 O).
  3. This will increase your inventory of the by-product and credit its value to the cost of the main product.

Accounting for By-Products:

Scrap Handling (Movement Type 544)

Scrap is generally categorized as planned or unplanned.

Accounting for Unplanned Scrap (544 O):

08Monitoring and Troubleshooting SAP MM Subcontracting

Effective monitoring is crucial for successful subcontracting, especially when dealing with multiple vendors and complex BOMs. Discrepancies can lead to incorrect inventory, financial errors, and production delays.

Key Monitoring Transactions:

Common Issues and Troubleshooting:

  1. Component Stock Discrepancy at Vendor:
    • Symptom: ME2O shows stock at vendor, but the physical stock is different.
    • Cause: Incorrect component issue (541), incorrect GR (101 O leading to wrong 543 O), or physical loss/damage.
    • Fix: Use MIGO with movement type 542 O (transfer posting from vendor stock to own stock) for returns or 544 O (scrapping) for lost items, followed by a physical inventory count.
  2. Error during MIGO for Finished Product (e.g., "Deficit of SL stock for component X"):
    • Symptom: Cannot post 101 O because system indicates insufficient component stock at vendor.
    • Cause: Components were not issued (541) or issued with wrong quantity/material/vendor, or planned scrap in BOM was too high.
    • Fix: Verify ME2O. Issue missing components via ME2O or MIGO 541. If components were batch-managed, ensure the correct batches were sent.
  3. Pricing Discrepancies:

09Interview Questions on SAP MM Subcontracting

Practicing these scenarios on an S/4HANA sandbox system will solidify your understanding and help you articulate the answers clearly. For more interview preparation, check out Top 30 SAP MM Interview Questions for 2026 โ€” with Model Answers & S/4HANA Scenarios.

10Common Mistakes and Best Practices

Common Mistakes:

Best Practices:

๐ŸŽ
Free: SAP MM & EWM video course + interview kit

Get the 40+ lesson playlist, the most-asked interview questions and our 90-day roadmap on WhatsApp.

?Frequently asked questions

What is the primary purpose of item category 'L' in an SAP MM purchase order?

Item category 'L' in an SAP MM purchase order signifies a subcontracting scenario. Its primary purpose is to trigger the Bill of Material (BOM) explosion, enabling the system to identify and track components that need to be provided to the subcontractor for the manufacturing of the ordered finished product. It also sets up the framework for managing components as special stock 'O'.

How do you track components provided to a subcontractor in SAP?

Components provided to a subcontractor are tracked as 'Special Stock O' (Stock of Material Provided to Vendor). You can monitor this stock using transactions like MMBE (Stock Overview) for individual materials or ME2O (SC Stock Monitoring for Vendor), which provides a comprehensive overview of all components for open subcontracting purchase orders.

What movement types are involved in the subcontracting process?

Key movement types include 541 (Goods Issue to Subcontractor for components), 101 O (Goods Receipt for Finished Product from Subcontracting PO), 543 O (Automatic consumption of components from subcontractor stock during GR), 545 O (Goods Receipt of By-product from subcontractor), and 544 O (Goods Issue for unplanned scrapping of components from subcontractor stock).

What is the role of the Bill of Material (BOM) in SAP MM subcontracting?

The Bill of Material (BOM) defines the exact list of components and their quantities required to produce one unit of the finished product by the subcontractor. When an item category 'L' PO is created, the system uses this BOM to propose the components that need to be provided to the vendor and to automatically consume them during the goods receipt of the finished product.

How are financial postings handled for component consumption in S/4HANA subcontracting?

When components are consumed during the finished product's Goods Receipt (101 O), the system generates accounting entries. The inventory account for the components (special stock 'O') is credited via OBYC key BSV, and a consumption account for subcontracting components is debited, typically determined by OBYC key GBB-VBO. This ensures the component cost is added to the value of the finished product.

What is the difference between ME2O and ADSUBCON in S/4HANA?

ME2O (SC Stock Monitoring for Vendor) is the classic transaction providing an overview of components to be provided or already at the subcontractor. ADSUBCON (Advanced Subcontracting Monitor) is an S/4HANA-specific transaction designed for more complex, multi-level subcontracting scenarios. It offers enhanced visibility and management features, especially when integrating with production orders or EWM, going beyond the basic capabilities of ME2O.

Learn SAP hands-on with theTechMentor

Live weekday & weekend batches or 24/7 recorded courses, with S/4HANA practice server access and interview preparation.