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.
- 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).
- 1Master Data SetupDefine BOM for finished goods and create subcontracting info records for pricing.
- 2PO Creation (ME21N)Create a purchase order with item category 'L' for the finished product.
- 3Component Provision (MIGO 541 / ME2O)Issue components to the subcontractor, tracking them as special stock 'O'.
- 4GR of Finished Good (MIGO 101 O)Receive the finished product from the subcontractor, consuming components automatically.
- 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:
- Item Category 'L' (Subcontracting): Used in the Purchase Order to indicate that materials are being sent to the vendor for processing.
- Special Stock 'O' (Stock of Material Provided to Vendor): This is how SAP tracks your components physically located at the subcontractor's premises but legally owned by your company.
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:
- Finished Product: Ensure relevant views like Basic Data 1/2, Purchasing, MRP 1-4, Accounting 1/2, Costing 1/2 are maintained. MRP parameters are crucial if you plan to use MRP to drive subcontracting requirements.
- Components: Standard material master setup is usually sufficient, but pay attention to unit of measure, valuation class, and MRP settings. If components are batch-managed, ensure batch management is active on the material master (SAP MM Batch Management and Batch Determination in S/4HANA: A Masterclass).
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.
- Go to transaction
CS01to create a new BOM (orCS02to change). - Enter the finished product material number, plant, and BOM Usage (e.g., '1' for production).
- In the item overview, list all components with their required quantities.
- 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 Name | Description | Importance for Subcontracting |
|---|---|---|
| Material | Finished product code | The material being produced by the subcontractor. |
| Plant | Manufacturing plant | Determines where the BOM is valid. |
| BOM Usage | e.g., '1' (Production) | SAP uses this to determine relevant BOMs for MRP, production, and subcontracting. |
| Component Material | Raw materials/semi-finished goods | The materials you provide to the subcontractor. |
| Quantity | Required per finished unit | Exact amount needed to produce one unit of the finished product. |
| Operation Scrap (%) | Planned scrap rate | Automatically 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.
- Go to transaction
ME21N. - Enter the Vendor, Purchasing Organization, Purchasing Group, and Company Code.
- In the Item Data section, enter the finished material, quantity, and plant.
- For the Item Category field, select 'L' (Subcontracting). This is the key differentiator.
- Once 'L' is selected, a new tab, 'Components', will appear at the item level.
- 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.
- You can adjust the component quantities here if needed, for example, if the vendor requires more or less for a specific batch.
- 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:
- Go to transaction
MIGO. - Select 'Goods Issue' and 'Other'.
- Enter Movement Type
541. - 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.
- 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.
- Go to transaction
ME2O. - Enter the Vendor and/or Plant. Execute.
- The report shows all components needed for open POs, with quantities already provided and quantities still to be provided.
- Select the lines for components you want to issue.
- 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.
- Go to transaction
MIGO. - Select 'Goods Receipt' and 'Purchase Order'.
- Enter the subcontracting Purchase Order number.
- 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 Type543 O. - Check the quantities. If the received quantity of the finished product is less than ordered, adjust the quantity.
- Verify that the 'Components' tab shows the planned consumption based on the BOM and the received quantity.
- Post the document.
Upon posting:
- The finished product increases your unrestricted stock (Movement Type 101).
- The components are consumed from the vendor's special stock 'O' (Movement Type 543 O).
- If you configured planned scrap in the BOM, that scrap quantity is also consumed via Movement Type 543 O.
- The subcontracting PO history is updated.
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.
- Debit: Inventory Account (Finished Good) - Determined by Valuation Class of FG and
BSXkey inOBYC. - Credit: GR/IR Clearing Account (Subcontracting Services) - Determined by Valuation Class of FG and
WRXkey inOBYC.
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.
- Debit: Consumption of Subcontracting Components - Determined by Valuation Class of Component and
GBB-VBOkey inOBYC. - Credit: Inventory Account (Components โ special stock 'O') - Determined by Valuation Class of Component and
BSVkey inOBYC(Change in stock).
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).
- In
CS02(Change BOM), add the by-product material as a negative quantity item (e.g., -1 PC). - 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 Type545 O). - This will increase your inventory of the by-product and credit its value to the cost of the main product.
Accounting for By-Products:
- Debit: Inventory Account (By-product) -
BSX - Credit: Offset for by-product (e.g., a consumption account or an account for internal activity) -
GBB-VNG
Scrap Handling (Movement Type 544)
Scrap is generally categorized as planned or unplanned.
- Planned Scrap: As discussed earlier, this is set in the BOM (Operation Scrap %). When the finished good is received, the system automatically consumes this quantity of components via
543 O. No separate movement type is required for planned scrap itself. - Unplanned Scrap / Missing Components: Sometimes, the subcontractor reports a higher scrap quantity than planned, or components are lost. In such cases, you need to manually adjust the special stock 'O'. You can do this using
MIGOwith movement type544 O(Goods Issue for Scrapping from Subcontractor Stock). This movement reduces the special stock 'O' and posts the value to a scrap consumption account.
Accounting for Unplanned Scrap (544 O):
- Debit: Scrap Consumption Account -
GBB-VNG - Credit: Inventory Account (Components โ special stock 'O') -
BSV
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:
ME2O(SC Stock Monitoring for Vendor): This is your primary tool. It shows you:- Materials required for open POs.
- Materials already provided to the vendor (Special Stock 'O').
- Open requirements.
- Over-delivery or under-delivery of components.
You can also issue components and post consumption differences directly from this report.
MMBE(Stock Overview): Provides a real-time overview of all stock for a material, including special stock 'O' at the vendor.MB51(Material Document List): Allows you to view all material movements (e.g., 541, 101 O, 543 O, 544 O, 545 O) for a specific material or plant.ADSUBCON(Advanced Subcontracting Monitor): This S/4HANA transaction is specifically designed for more complex, multi-level subcontracting scenarios, often involving production orders or integration with embedded EWM. WhileME2Ocovers basic scenarios well,ADSUBCONoffers enhanced visibility and management capabilities, especially when dealing with multiple levels of subcontracting or by-products.
Common Issues and Troubleshooting:
- Component Stock Discrepancy at Vendor:
- Symptom:
ME2Oshows 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
MIGOwith movement type542 O(transfer posting from vendor stock to own stock) for returns or544 O(scrapping) for lost items, followed by a physical inventory count.
- Symptom:
- 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 viaME2OorMIGO 541. If components were batch-managed, ensure the correct batches were sent.
- Pricing Discrepancies:
- Symptom: Subcontracting service cost in PO/invoice differs from expected.
- Cause: Missing or incorrect subcontracting info record.
- Fix: Update or create subcontracting info record (
ME12) to ensure correct pricing is pulled into POs. Refer to SAP MM Pricing Procedure (Calculation Schema) Configuration Guide for S/4HANA.
09Interview Questions on SAP MM Subcontracting
- "Explain the complete SAP MM subcontracting process, highlighting the key master data and transaction codes."
- "What is 'Special Stock O', and how is it managed in subcontracting?"
- "How do you handle planned and unplanned scrap in a subcontracting scenario? What are the movement types involved?"
- "What are the accounting entries generated during the goods receipt of a finished product from a subcontractor?"
- "If there's a stock discrepancy for components at the subcontractor's location, how would you troubleshoot and resolve it in SAP?"
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:
- Incorrect BOM Setup: Forgetting to add components, wrong quantities, or missing planned scrap percentages. This leads to incorrect component consumption and stock discrepancies.
- Neglecting Subcontracting Info Records: While optional, not maintaining them can lead to manual pricing efforts, errors in vendor invoices, and inconsistent service costs.
- Poor Monitoring of
ME2O: Not regularly checking the subcontracting monitor can result in component shortages at the vendor, causing production delays, or excess unused components lying at the subcontractor's site. - Ignoring Unplanned Scrap: Not having a process to account for unplanned scrap or missing components leads to inflated special stock 'O' and incorrect financial valuations.
- Incorrect Valuation Class/Account Determination: Misconfiguration in
OBYCforGBB-VBOorBSVcan lead to incorrect financial postings for component consumption.
Best Practices:
- Regular BOM Review: Ensure BOMs are always up-to-date with current component requirements and planned scrap rates.
- Automate Where Possible: Leverage Source List and Quota Arrangement to automate subcontracting PO creation, especially for repetitive scenarios. Consider SAP MM Automatic Purchase Order Creation (ME59N) from Purchase Requisition for simpler POs.
- Clear Communication with Subcontractors: Establish clear agreements on component usage, scrap reporting, and by-product handling.
- Periodic Physical Inventory at Vendor: Conduct or request regular physical counts of components at the subcontractor's site to reconcile with SAP records.
- Leverage
ADSUBCONin S/4HANA: For complex or high-volume subcontracting, explore the capabilities of the advanced monitor to gain deeper insights and streamline processes.
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.