Skip to Content
author's profile photo Former Member
Former Member

subcontracting stock

Dear All,

It seems that the stock at vendor premises (transferred through mvmt 541) is not considred in MRP. We have checked the settings for availability check & have also maintained the Source list. But it seems that system is not considering the vendor stock.

Ex: There are 35 pcs as vendor stock, unrestricted stock 0 & safety stock maintained as 10 in material master(no stock available in actual). but still MRP is generating the PR.

Please suggest the solution.



Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2009 at 09:40 AM


    You send the stock to subcontractor against a subcontracting order using movement type 541. Hence the stock becomes subcontracting order specific and it is not considered in planning.

    If you intend to use it in MRP, you need to use the BADI MD_SUBCONT_LOGIC.

    Please go thru the documentation of the BADI herebelow-

    For subcontracting, the vendor (subcontractor) is provided with materials from which the finished product or assembly is produced. With the Business Add-In (BAdI) MD_SUBCONT_LOGIC, you can control which subcontracting logic is used to plan the material requirements for the materials to be provided. To make a clear difference, the terms 'simple' and 'general' logic are used:

    The functions introduced with Release 4.0A, and those currently in use, are described as general logic. In this case, the stock and requirements to be provided in the MRP or stock/requirements list are identified for the individual subcontractors in additional planning segments, and are separated from the unrestricted use stock in the net requirements segment. You can find a detailed description of this logic in the release notes for 4.0A and also in the SAP Library (PP -> Material Requirements Planning -> Special Planning Processes -> Subcontracting).

    Simple logic was used up to and including Release 3.1I. All subcontracting stocks and requirements are managed in the net segment, which means that there are no separate subcontracting segments. This logic is generally of use for components to be provided that are specifically assigned to one subcontractor. If several subcontractors are involved, this has the undesired effect that in planning, the stock of material provided is drawn from a distant vendor to cover another vendor's requirement of material provided.

    The general logic is used in the standard. The Business Add-In allows you to switch to the simple logic for all materials or for selected materials. By doing this, you can avoid the following problems which arise from the general logic:

    Problems with third-party order processing:

    As long as the components to be provided are procured externally, they can be delivered directly to the subcontractor from the vendor from which they were ordered, with the help of the subcontracting third party order processing. One of the ways the third-party order processing can be mapped via scheduling agreement schedule lines, whereby the delivery address is set with the indicator 'subcontracting vendor' in the scheduling agreement item. This kind of third party order processing for subcontracting is not possible via material requirements planning with general logic because this can lead to inconsistencies within the MRP. The MRP no longer creates scheduling agreement schedule lines, but rather planned orders or purchase requisitions, which have no source of supply,because the order book entry is completely ignored. This must later be converted manually to the third party purchasing documents.

    Problems taking into account stock at the subcontractor:

    The stock for a subcontractor is only used to cover requirement of material provided for the same vendor. This is undesirable, for example when the warehouse of the subcontractor is integrated into the plant grounds.


    If MRP areas are active, you can process the subcontracting easily via subcontracting MRP areas. In this case, there is little sense in using the BAdI and it has little effect.

    Standard settings

    In the standard, the Business Add-In is not active.

    The Business Add-In is not filter dependent.

    The Business Add-In cannot be used multiple times


    Mahesh Patil

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 11, 2009 at 05:30 AM

    Dear SAP CONS,

    1.Sub-contracting stock is a special stock and in my understanding i dont think it will be considered during MRP run.

    2.You can define a MRP area for the sub-contractor and try to run MRP for that area alone.

    3.For your understanding you can also refer these links to explore more,about the same.



    Correct me if I'm wrong.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 11, 2009 at 05:54 AM


    Special stocks are not considered for MRP run. Subcontracting stock is a special stock(O), hence is not considered for MRP. If you want then you need to create MRP area with subcontract as vendor MRP area.

    Please refer this link for details and OSS Note 550219,



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.