Material Determination (Substitution)

Hello,
I have maintained a substitution reason in transaction OVRQ with:
- Strategy blank (Automatic)
- Outcome blank (Item will be replaced)
- Substitution Category blank.
In VB12, for Material AAA there are 2 alternative materials:
1. Material AAA itself
2. Material BBB.
Material entered:
AAA
Alternative materials:
1. AAA
2. BBB
Material AAA does not have stock while BBB has.
When I am entering material AAA when creating an order in VA01, it is always being substituted by the first alternative material.
In this case, by AAA itself.
How can the material AAA be replaced automatically by the material (in alternative materials) which has stock?
Thanks a lot for helping.

How is this an ABAP-related question?
pk

Similar Messages

  • Material determination and substitution

    Hello All,
    I would like to know if the functionality like material determination/substitution is being offered in the byd solution as of now, as far as I know, the byd solution reuses the capabilities of ESR.
    Thanks,
    Ravish

    Hi Christian,
    Thanks for posting.
    I understand that MD and substitution is offered with Business Suite and ByD is built completely with keeping SME focus.
    But, ByD would be using some of available services which can be reused, the 'hat' is new but the functionality would be already available/reusable. (e.g. eSOA etc.)
    Is my understanding correct here?
    Thanks & regards,
    Ravish

  • How can I assign Material Determination procedures to purchase documents?

    We currently use stock transport orders to substitue prior sales orders. We have to use a specific material determination procedure, which determines alternative materials when the ordered one is not available. But the customizing only allows to assign those determination procedures to sales documents.
    We would be very grateful if somebody could give us an idea to assign material determination procedures to purchase documents and thus avoid very difficult developments.
    Thanks a lot in advance,
    Carmen Martínez

    Olmo,
    Material Determination / Substitution is a phenomenon which is used only in sales perspective and if you would want to use this in any other application, the only way could be coding the same with ABAP.
    But, by coding in ABAP you also would need to ensure the integrity.
    Regards

  • Tracking of Changes in Material Determination type or Material Substitution

    Hi Gurus,
    Can anybody suggest how to keep track of the changes made in VB11/VB12/VB13 which is for Material Determination type Maintenance?
    Is there any TCODE or tables for tracking the above changes??
    Thanks in advance
    VIJAYB.

    material determination is based on custom condition tables, that are created like one creates tables for pricing or message determination.
    Because of this, SAP cannot know that it has to track changes.
    You have to activate change records yourself.
    Go SE11, enter the table name of your substitution, then click the button for technical settings. in the lower part of the screen you will see a box that need to be flagged if you want log changes.

  • Substitution reason in Material determination

    What is the significance of Substitution reason in Material determination.
    Are the values of substitution reason linked with other units or is it just a text input/information field?
    Regds
    Nikhil

    Nikhil,
    Substitution reason is the thing that controls how the material determination or substitution happens.
    Below are the controls that it provides.
    --> Throw a warning message before substituting the material
    --> Defines the strategy whether product selection should occur automatically in the background or whether the alternative materials should be offered for selection in a dialog box
    --> Outcome , How the new material need to be substituted, Whether it should replace the current item or add a new line item in the order.
    --> Substitution category,  in case of the service item.
               You are going to enter this substitution reason in the condition record.
    Regards,
    Ajai.

  • Free goods determination from material determination.

    Hi experts,
    I have one issue for you,
    My scenario is:
    we issue freee goods 1:1. i configured free goods setting and maintained VBN1 (condition records for free goods). i even maintained material determination configuration settings and maintained VB11 (condition records for material determination). The problem is system proposing free goods automatically when i process sales order without material determination list, if i go through material determination list system not determining free goods nor giving any message. what is the system behaviour if we go through material sustitution list to free goods. the  main item (for free goods)will be existed in the substitutiion list.  plez help. any suggestion will be highly appreciated.
    thanks,
    sada

    Hi
    Please consider the two issues separately. Don't club both the issues. If you have records for both material determination and free goods.,
    1. Whether the material substitution is happening perfectly (as per the records created in VB11) or not.
    Next.,
    2. check whether the free goods are determined for the material in the sales order line item (as per the records created in VBN1) or not.
    Please check and post the result.
    Sometimes the freegoods will be determined in the sales order but will not create any second line item(as sub item)  because while creating the records in VBN1 if you select the option 'Free goods Inclusive without line item generation. In this case NRAB condition type will be determined instead of R100.
    So, also check the conditions tab and see whether the entire quantity is priced or not.
    Thanks,
    Ravi

  • How to Differentiate between Parent & child item of material determination

    Hi Experts
    I have a list of material & the Business requirement is to found that whether a material is a Parent material , Child material or Both ( a parent to other children  and a child to another parent).
    I tried using table KONDD & KONDDP but I was not able to differeniate between Parent & Child item.
    I even cant use item category to diferentaite the two as by item categairy i can only find that it is a Prent material but cant find whether this material is a Child material or not.
    Is there any table in which i can enter the Parent material & the output would be child material or any other table which contain both parent & child material.
    Note : In Material determination ( VB11) , the material which is entered is Parent material & the material with which it would be replaced is Child material.
    Kindly Guide.
    Thanks in Advance

    Hi
    The wording of Parent and Child sounds like using a BOM material. In material determination...these two items can be called as Material entered and material determined or Main Item and Sub Item.
    In the sales order overview screen...at line item level check the field 'HLvItem' (Higher Level Item). It will show the POSNR of the main item to which this item is linked. Since this can also happen in the case of free goods and BOM...you have make another check for these items with the item category.
    If the substitue material is not determined as a sub item... you can check the material number in the field 'Material Entered' in the sales tab of the item and compare the material number with that exists in the VBAP-MATNR. If both are different, then this material can be considered as a determined material.
    Thanks,
    Ravi

  • Material determination-out of stock matls to be excluded from matl.subst.

    dear experts,
    my scenario: i´m using material substitution (reason 005 - Manual matl selectn) with Strategy "A" (substitute products are displayed for selection) - to offer several materials when user enters the material name in va01. i need to exclude materials which are currently out of stock from this selection. any ideas?
    thanks a lot.

    hello, Zuzana.
    i believe the availability check in material determination only works with automatic selection, or selection in the background.  perhaps you may need enhancements to allow manual selection only for materials that are in stock.
    regards.

  • Regarding Material Determination and free goods determination

    Hi Gurus,
                 I understand the Material Determination to be substitution of a new material for the old one for any possible reasons such as sales Campaign,non availability etc.
    Could anyone one explain the concept whether material determination and Free good determination can co-exist in a sales order ?
    How to substitute by material determination procedure for a free good in a sales order?
    Regards,
    S.Ravi kumar

    Hi.,
              We can use material determination and free goods,as per my knowledge material determination takes first and to the swapped material free goods determiination takes place
    Award points if helpful
    Narayana

  • Material Determination in Sales Order BOM

    Dear Gurus,
    We would appreciate any solutions and/or suggestions you can provide for our problem below:
    Background:
    Part XYZ is a sales BOM which contains 3 components: A, B, and C.  Component B has a material determination (product substitution/interchange) with material B1, B2 or B3. 
    Requirement:
    When a customer orders part XYZ, and if component/material B is not available in stock/shortage, then any or all of the product interchanges may be used to fulfill the order until the full order quantity is confirmed.
    Problem:
    We are able to explode the BOM to its components but unable to generate the product interchanges for component B in the sales order. 
    Could you please help?  Thank you very much.
    Best regards,
    Michael SA

    SAP Note 486680
    SAP Note 549341
    Please check the above notes.
    Regards
    Sai

  • Material Determination based on Availability

    Hi SD gurus,
    I have a client requirement as below:
    We create order via BAPI. Data comes from ext call center system.
    Whenever Matnr A is entered in Sales order & it is not available then Matnr B should come.
    1: I know that we can handle this in Material Determination. I did req. config in IMG
    2: I have created VB11 stating that MATNR A should be substituted by Matnr B. I have ticked the MRP ind in VB11 as well.
    Now the question is:
    When I enter MATNR A in sales order, & assuming its not available then, MATNR B will come in Sales order.
    In my case it is happening. But whenever this happens what should be the item category of the MATNR A & MATNR B?
    Please let me understand how will standard SAP behave.
    I thought the item A should appear as Text item & probably item B should become relevant for delivery & pricing.
    But currently I am getting item category TAX for item A & TAPS for item B in sand box. Is that correct?
    What should be the standard item categories in this case?
    regards

    Hi,
    The system runs several checks on on each possible substitute, for example to determine if the customer would accept the product based on the product attributes and current stock availability.The system checks substitute materials until the order quantity is satisfied, or until there are no more possible substitutes.
    When a valid alternative is found, the system creates a sub-item for it, using the item category that you have defined for the main material in Customizing.
    If there is not enough inventory for the alternatives to cover a required quantity, the system confirms only the available amount and ignores the rest. The main item contains information on the confirmed quantity of the sub-item, but is not relevant for planning. For this reason, the material shortage is not passed on to planning.
    If you set the material requirements planning indicator for one of the alternatives, however, the system creates an additional sub-item for this material, assigning it a confirmed quantity equal to zero, and a required quantity equal to the open quantity. Since this material is placed as the final alternative in the substitution, it captures any remaining quantities. The system takes this item into account and passes the material shortage on to planning.
    Based on your settings Customizing, the system performs pricing at the main or sub-item level.
    There are two separate item categories in sales documents for product selection. The item category TAX contains specifications for the main item (original product). The other, TAPS, contains specifications for the sub-items (substitute product).
    Review the item category configurations in the standard system. If these do not meet your requirements, perform the activities in the following topics to modify the item category configuration, or create your own categories. Note that if your product selection procedure requires that pricing be done at the main item instead of the sub-item, you will have to create new item categories.
    The following examples detail how pricing is carried out at the main item level and sub-item level for product selection.
    Pricing at the Main Item
    the price for the order is determined based on the price condition records for the main item only. You have deactivated pricing for the sub-item category, so the system does not determine a price for it. Since both the main item and the sub-item categories are relevant for billing, the prices (even if there is no price) are copied to the invoice and billed accordingly.
    Pricing at the Sub-item
    the price for the order is determined based on the price condition records for the sub-items. You have deactivated pricing for the main item category, so the system does not determine a price for it. Since both the main item and the sub-item categories are relevant for billing, the prices (even if there is no price) are copied to the invoice and billed accordingly.

  • Material determination with Product selection

    Hi SAP Gurus
    We are using material determination with product selection. The process is that customer will send in one product in a sales order. At the time of doing ATP we have to look for about three or four possible alternatives and confirm that alternative which has the highest stock level depending on the ATP situation. We have configured material determination with SAP standard substitution reason’0006’ to take care of this. The problem with this is that this creates two line items in sales order as the item substituted is shown as a sub-item of the material entered. We do not want to have two line items in a sales order for this. Is there a way we can do material determination with product selection (Based on ATP) and have the item substituted replace the item entered in a sales order? In other words we do not want to see two line items in a sales order. The substitute item should simply replace the original item and the material entered could be stored in field VBAP-MATWA. I have gone through all the standard SAP documentation which clearly states that in order to material determination based on ATP we have to use outcome A or B both of which create a sub-item.
    I was wondering if there is any workaround or if there is any user exit in which we can replace the original item with the substituted item?? Any help or any direction will be highly appreciated.
    Another question is if we were to use APO for doing global/Rule based ATP is it possible to get rid of the double line items. We have also tried to use rule based ATP in APO and use product/location substitution in our sandbox system to see if we can get back only one line item. But even in that case we do get a sub item. Any help on this issue will be greatly appreciated. You can also send me an e-mail at [email protected]
    Thanks
    SDSAPCON

    >
    SAPCON SD wrote:
    > Hi SAP Gurus
    >
    > We are using material determination with product selection. The process is that customer will send in one product in a sales order. At the time of doing ATP we have to look for about three or four possible alternatives and confirm that alternative which has the highest stock level depending on the ATP situation. We have configured material determination with SAP standard substitution reason’0006’ to take care of this. The problem with this is that this creates two line items in sales order as the item substituted is shown as a sub-item of the material entered. We do not want to have two line items in a sales order for this. Is there a way we can do material determination with product selection (Based on ATP) and have the item substituted replace the item entered in a sales order? In other words we do not want to see two line items in a sales order. The substitute item should simply replace the original item and the material entered could be stored in field VBAP-MATWA. I have gone through all the standard SAP documentation which clearly states that in order to material determination based on ATP we have to use outcome A or B both of which create a sub-item.
    >
    > I was wondering if there is any workaround or if there is any user exit in which we can replace the original item with the substituted item?? Any help or any direction will be highly appreciated.
    >
    > Another question is if we were to use APO for doing global/Rule based ATP is it possible to get rid of the double line items. We have also tried to use rule based ATP in APO and use product/location substitution in our sandbox system to see if we can get back only one line item. But even in that case we do get a sub item. Any help on this issue will be greatly appreciated. You can also send me an e-mail at [email protected].
    >
    > Thanks
    >
    > SDSAPCON
    In the substitution reasons ...mark the OUTCOME as blank for this particular 0006. I am not sure for ATP
    rgds
    Sai
    Edited by: Sai on Mar 27, 2008 10:00 PM

  • Material Determination use stock of discontinued material

    I am trying to determine if there is a way in R/3 to have a material replace an older material but as sales orders are entered take into consideration any inventory that might still remain of the discontinued material. Here is an example.
    1.) We have 15 EA of Material A in inventory in Plant 123
    2.) We are going to discontinue Material A and replace with Material B in this plant
    3.) VB11 Condition Records are setup for the A to B substitution for order entries
    4.) Order for 20 EA for Material A comes in
    I would like to see a requirement tp use the 15 from A that are still inventory and then place an order for the remaining 5 on the new Matl B (from Mfg or whomever provides).
    Is this possible using the condition records for material determination and the follow-up material options on MRP4 view?

    Hi Bill,
    This is possible using standard SAP functionalities.
    Now considrer a situation where you are creating VB11 record for material A(to be discontiniued) which is to be substituted by material B. And the need is to deplete the available stock of material A first and then start substituting it with material B.
    In order to achieve this, while creating a record in VB11 firstly create a record for replacing mat A by mat A , then double click the record line that you have created, which will pop up a small window giving you options to enter mutiple alternatives apart from mat A. where you can you can enter material B as the second alternative/replacement after mat A.
    The sequence of material is important to decide which material is considered as the replacement by the system.
    In our case system will first replace mat A by mat A and search for stock availability, if sufficient stock or no stock available it will replace the original mat A with the alternative material entered in the VB11 record i.e. Mat B.
    Another important thing to note while creating VB11 record is a check box available as "MRP Indiciator" now this indicator plays an important role while transferring requirement to MRP.
    In our case we have Mat A which is being disontinued so we dont want the requirement for mat A to be transferred to MRP incase of shortage, instead we want the requirement for material B to be transferred for MRP.
    In this case you need to check the MRP indicator box for Material B. if not checked the requirement for Mat A would be transferred to MRP.
    Hope this clarifies your questions.
    Thanks,
    Kishor

  • Aavlaibility check for material and Substitution material

    Hi Gurus,
    I have a requirement where in I need to check the availability of a material and if there is not availability then I need to find out the substituted material maintained for the material.
    for example, Material M1 has no stock in ECC and Material M2 is maintained as substitution in the SCM system. I need to figure out the tables or any Function module that can fetch the Material M2 if I provide Material M1.
    I am able to check the material availability using the BAPI "BAPI_AVAILABILITY_CHECK". But I didnt find any FM or way to find the substituted material for a material.
    Please help me out.
    Thanks.
    Anand.

    I don't know about SCM, but in R/3, the material determination process is based on the standard procedure/access sequence setup.  If you trace the condition record maintenance, you will find your table name.  If the SCM setup doesn't work that way, there will still be a master data setup step that you can trace and find the table.

  • Material Determination - Critical Issue

    Dear Friends,
    We are using material determination automaticall
    The reason for substitution here is non availability of stock of ordered material, because of which system seeks the stock of substitute material.
    The way we have configured is: When material is entered in sales ordered, system check stocks of entered material, if available partially provides the available stock & seeks for substitute material, where even if partial stock for substitute material is available, one more line is created for this material.
    This line created as a sub item (like in sales BOM). Futher even after seeking substitute the order quantity is not fulfilled one more line is created for the original ordered material with a backorder tick.
    The order items look as under:
    10 000000000005893343 50.000 EA Cover
    11 000000000005893343 9.000 EA Cover
    12 000000000005893653 3.000 EA CYLINDER HEAD
    13 000000000005893343 38.000 EA Cover
    10) is entered item.
    11) entered item available stock
    12) substitute item available stock
    14) unavailable backorder stock for entered item.
    At this point of time we can deliver the order items 11 & 12 with further processing.
    But later when we upload the stock for entered item, availability check cannot be carried out in the order, since all the items become grey out, when we create first delivery.
    This is a very critical issue in our case.
    Please suggest soon as possible so that we crack the issue.
    With Best Regards
    Nate.
    p.s. This Question is posted old ago by Dhananjay. But The solution no exist.
            (reference)Material Determination - Critical Issue

    Dear Friend.
    Thank you for your help.
    All the items become grey out after we create first delivery.
    So i should be just click on item availabilty, but it doesn't run.
    <Step>
    1. Material determiantion setting  : A(highItem) - A(subitem) - B(subitem)
    2. Material stock A : 10 ea, B: 10ea
    3. Sales Order Creation : Material A 25 ea  ->  A 10 ea Confirmation, B 10 ea Confirmation and 5 ea Open, S/O No. QQQQ
    4. Deivery Creation : Material A 10 ea , Material  B 10 ea Delivery, G/I and Billing
    5. Material B 5 ea supplement
    6. Sales Order QQQQ Material B : re ATP carry out. But Don't run. All the Items become grey out.
    Regards
    nate.

Maybe you are looking for

  • Surprise solution to error uploading a book

    Just by chance I stumbled across the (my) solution to this mysterious problem concerning the upload of a book, which always stopped at 64 kb with an error message eventually: First, I used Cocktail to repair permissions and do the routine system main

  • Dhcpcd problem [SOLVED]

    in installation, when I setup the network, select eth0 (the only network device I have), and go to setup DHCP, it returns a message: Dhcpcd problem DHCP request failed. dhcpcd returned 0 but no ip configured for eth0 I don't know what that means... W

  • "Quarter moons" in each corner of computer screen

    I have a MacBookPro and an iMac that I try to maintain with similar configurations and applications, however; I am at a loss with a "problem" that has appeared on my laptop. In each corner of the screen are what I would describe as "quarter moons" or

  • Dynamic image gallery

    Hi all, I am new to the forum and I have a specific question about a dynamic image gallery i am making. Everything goes well, until I want to click from a thuimbnail to see an enlarged image that is another file. here is the specific code for that: 1

  • 10.6.7 will not install on white MacBook 2GHz Core Duo

    I have a white MB.  10.6.7 doesn't show up in software update and the combo update will not install.  Has anyone else had this issue and is there a workaround? Thanks