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.

Similar Messages

  • Material determination during goods movement

    Hi Guys,
    I am using the BAPI 'BAPI_GOODSMVT_CREATE' to create goods movement. And I want to check the material availability and execute the material determination based on atp check results also. Does this BAPI implicitly handles material determination based on ATP? OR should I write the logic to the material determination explicitly before calling this BAPI?
    Regards,
    Rahul

    As Jurgen has mentioned, material substitution is a part of SD and has to achieved prior to the goods movement BAPI.
    Have a look at FMs for the material substitution logic:
    RV_MAT_SUB_SAVE
    RV_KONDITION_SICHERN
    RV_KONDITION_SICHERN_V13A
    is there any BAPI or Function Module for Materi... | SCN

  • 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

  • Error during Material Determination

    Hello,
    I have created a Material Determination based on Sales Organization / Material. When I save the Material Determination I am getting an error message NR:031 and am not able to save the document.
    Can anyone please let me know the reason for the same.
    Regards
    Regi K

    looks like a number range/buffer  problem.
    Double click the messsage to see the long text.
    Alternative you can see it in transaction SE91
    Enter NR as Message class and 031 as message number.
    click Display.
    Select the message and click button Long text
    Do the recommendated solution together with a basis consultant.

  • Batch Determination based on date of consig recieve

    Hi,
    I am getting problem when i am trying to do manual batch determination in the outbound delivery.
    I have created a record in VCH1 based on customer/Material/Plant. In this i have maintained a sort rule also. what characteristaics i must use to make my batch determination based on customer consignment recieving date?
    If i go in MSC3n with Material, Plant and batch data then in the screen ( table MCHA, MCH1) onlt data available is for ERSDA, LAEDA  and LWEDT.
    In delivery when i click on batch determination button. my Sort rule is not automatically determined. So i have to maunally entered my soirt rule but at the same time my qty proposal in the same screen is 1 which is nothing but
    FORM CHMVS_001.
      DATA: lv_line TYPE kondh-chasp VALUE '1'.
      LOOP AT disqty.
        CHECK lv_line <= no_of_split.
        IF QUAN_TO_DIS > 0.
          IF DISQTY-AVAL_QUAN > QUAN_TO_DIS.
            DISQTY-QUANTITY = QUAN_TO_DIS.
          ELSEIF disqty-aval_quan > 0.
            DISQTY-QUANTITY = DISQTY-AVAL_QUAN.
          ENDIF.
          IF disqty-quantity > 0.
            quan_to_dis = quan_to_dis - disqty-quantity.
            MODIFY disqty TRANSPORTING quantity.
            ADD 1 TO lv_line.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDFORM
    When i am taking characteristics LOBM_VFDAT for sort rule in Cu70 then i am not getting batch determination as i required even if i maintained Shelf expiry date in MSC3n.
    Please suggest where i must look into so that my batch determination would be based on date of consignment recieved.. currently if it s taking based on max qty available in MMBE.
    Regards
    Nitin

    I have already assigned sort rule in VCH1 but dont know which Characteristics i must assign for customer consignment stock on FIFO basis. Could you please tell me the characteristics for it which i must consider?
    LOMB_VFDAT i have already tried but its not working for me.
    Edited by: Nitin Agarwal on Oct 30, 2008 8:14 AM

  • Material determination with outcome B

    Hi all,
    We are using material determination functionality. Automatic reason with Outcome B. As per SAP help, the Material is determined at SO level and it is copied over to DO . No availability check in DO and material is not redetermined at DO.This is exactly I am trying to achieve so using outcome B is used. But when I create DO, only the higher level item is getting copied and also with Zero quantity. So I can not proceed with DO. Has anyone come across this problem before? What is the copy control I need to maintain if I am using outcome B
    Please help.
    Regards,
    Beena

    Hi,
           In a delivery referring to an order, material determination is carried out subject to the sales document type on which it is based. Material determination in a delivery is carried out for new items if material determination has been activated for the underlying sales document type. No material determination is carried out for items copied from the order. You have to assign an appropriate material determination procedure (in the standard R/3 system, it is A00001) to the Sales document type DL so that material determination can be carried out in deliveries without reference to an order (LO).
    reward if its useful.
    Regards,
    Hari Shankar

  • Material determination Vs Product selection

    Hi
    What is the difference between Material determination and Product selection ?
    Regards
    Mahesh

    Hello Mahesh,
    <b>Material determination or Product selection</b>
    1.     Material determination <b>(sometimes referred to as product selection)</b> is a method in SAP-SD to substitute or swap one material in the sales order for another using the condition technique and is triggered by the material entered in the line item of the sales order. Material determination can also use a pop-up window with a number of products the user can choose from the list.
    2.     Material determination can be automatic or manual and is used
         When an old product is becoming obsolete (outdated) and the business is releasing a new product in its place starting from a specific date. In this case the old item gets automatically replaced by the new item in the sales order.
         You may configure the system to automatically to swap one material for a number of other materials, the one material being determined based on which one is available.
         It is also possible to swap the material for a number of materials, where the user is presented to choose from the list.
         Material determination is specifically useful should you wish to swap your customer’s part number automatically for your own at the time of the sales order.
    <b>The functionality of manual and automatic product selection is available during material determination.</b>
    a.     Reason for substitution 0005: manual product selection (list of default values)
    b.     Reason for substitution 0004 & 0006: automatic product selection (depends on product availability in order and delivery)
    In manual product selection (0005), the system does not automatically replace the product. Instead, it displays a list of all the substitution materials and other information in the master record doing the availability check such as quantity available that can be confirmed on the customers requested delivery date and if the full quantity cannot be met, the system proposes a new date on which the material can be completely delivered. You can then select the required material from the list.
    During automatic product selection (0004 & 0006) the system replaces the entered material automatically if it is not available. When you enter an order, the system tries to fill the quantity of the order with the first material in the material determination master record. If there is no enough quantity available then it fills the remaining quantity with the next material.
    You can choose whether or not to run the material determination during the delivery process for the same material, as the result of the substitution may change due to the new availability situation of the material.
    <b>Reward if helps</b>
    Regards
    Sai

  • Automatic storage location determination based on delivery document type

    Dear All,
    How can automatic storage location will be determined based on sales order type or delivery type.
    Ex: If the business sells the material storage location automatically determined as SL12.
    If the customer returnns the material storage location should be SL01.
    Please suggest for retun process automatic storage location determination.
    Best regards,
    Ramesh

    Dear Guru Lakshmipathy,
    Fine, but we have some picking rules are MALA, RETA and MARE.
    Currently we have onle on plant 1010 and shipping point 1010.
    storage location for outbound deliveries determined based on MALA rule has been assigned to LF.
    can we use RETA or MARE to determine the storage location for returns delivery.  If yes kindly
    explain. And where is storage condtion available in sap.
    Best regards,
    Thanks

  • Free goods with combination of material determination

    Hi All,
    I have Materil X for this free good is Y.  But for material Y there is material determination with A. In this case what will happen while i am entering the material X in the sale order/
    As of my knowledge freegoods don't support for any special function like BOM & vairant config. I don't know about the material det.
    Please clarify this doubt.
    Regards
    Sunil

    Hi Sunil,
    You can see Material Determination and Free goods as two seperate issues.
    For material X, Material Y will be a free good only when material Y is available in stock. The system will not substitute materiail Y with material A just because you have material determination configured for the same.
    On the other hand, if you enter material Y on its own i.e. seperately at the line item level of the sales order..........then material determination will occur and the item will be substituted by material A.
    See both of them as two seperate scenarios.
    Hope its clear.............
    Regards
    Sai

  • Shipping point was not determine in the order with material determination.

    Hi,
    I´m using material determination for my sales order, and i need to determine the Shipping point with storage location configuration. So when I add the material number, the quantity and the storage location the material determination runs and in the second line determined the shipping point it is not filled. Any body knows how can I fix this problem?
    Best Regards

    Hi
    The shipping point will be determined on the basis of shipping condition, loading group and the delivering plant.
    The storage location dependent shipping point determination is used only in delivery documents and not in sales orders (Assign Shipping Points According to Storage Location).
    To activate this you must first Define Rule for Determination of Shipping Point, wherein you can assign the rule to the delivery document only and not to the sales order.
    If you say that you are getting the shipping point determined based on the number of the material, the quantity and the storage location entered(though it is not) then here note that you are entering the storage location only to the material entered and not to the material determined. When the system determine the alternate material then the shipping point will be determined on the basis of shipping condition, loading group and the delivering plant as per SAP standard process.
    Try by entering the storage location to the material determined and check whether you can get the shipping point or not and let the forum know the result.
    Hope this helps you.
    Regards
    Rajkumar K

  • 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 - quantity check in sales order

    Hi everyone.
    Hope all is good.
    I have a doubt in Material Determination.
    If I need to substitute a product in Material Determination, how can I come to know whether the quantity of the replacement material that is replacing the substitute material is available or not.
    I know while creating a delivery the system will show quantity not available.
    However, how we can see the result while placing a order?
    Because there can be a scenario the material which is replacing the different material, we might dont have their quantity also available. So, it will be a waste to create a order and then wait for the results in delivery.
    Another situation.
    In MD process, what my client is looking for is
    Substitute Reason- Availability
    If material X does not have quantity it should be replaced with Material Y.
    However if Material X has quantity, then MD should not take place. No replacement should happen.
    The reason is there is a huge in and out of stock every now and then.
    Do both the scenarios can be worked out in standard SAP?
    Please suggest.

    Hi Joan,
    Thank you for the reply. I understood the subsitute reason.
    But my question is We have substituted Y for X.
    Now what I am asking is what if Y is also not available. Can in the order itself we can come to know whether quantity of Y is available or not instead of delivery.
    Second if the subsitute reason is "quantity not available"- not in front of the system so not sure about the code. Same Y for X and now if quanity for X is available the material should not be susbtituted.
    Please correct if I am wrong.
    Regards

  • 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 documents based on Sales order

    Dear Experts,
    We are developing a report where I need to extract the list of material documents with movement type 411E and 412E based on the sales order. This data is available in MSEG but after designing the report, Its performance was  very poor hence we could not move the report to production.
    As MSEG is a cluster table it is taking to much time. I checked other tables MKPF MSSA but nothing is working out. Is there any way out to improve the performance of the report by taking the list of material documents based on sales order and movement types 411E and 412E .
    Please suggest me with suitable solution.
    I will reward the points immediately.
    With Regards
    Uday

    Hope you are not trying to join MKPF and MSEG currently:
    821722 - Performance of the join on MSEG and MKPF
    If you are below release 606 in your system, this note will have to be implemented in your system to bring redundant fields of MKPF into MSEG for performance improvement:
    1516684 - MKPF fields added to MSEG - Performance optimization
    The blog shared by Jurgen is pretty well explained. In addition have a look at these notes:
    1638997 - Performance: CKMDUVMAT selection with new fields in MSEG
    1558298 - MB5B: Redesign of selection for performance optimization
    1550000 - MB51: Redesign of selection for performance optimization

Maybe you are looking for

  • After Up-Gradation to SharePoint 2013 Web Parts Stopped Working.

    Hi, I upgraded SharePoint 2013 from 2010. After up-Gradation my existing web-parts are no more working. I also tried after upgrading web part for 15 hive but still same issue. When ever I click on button it takes me to error page and shows message "

  • Satellite L300D-11A - DVD-drive issue and Blue Screen

    Hi I'm going out of my mind :o// My Satellite L300D-11A was delivered with a Windows Vista Home Premium, but I recently made a clean installation of the Windows 7 Home Premium 64 bits. Since then I have had problems with "Blue screen error's" comming

  • Stop video, switch back to camera mode

    My iPad mini will not allow me to return to camera mode from video mode

  • What is the ability of FCP X without hang-up?

    I am using Mac Book Pro with retina display OS X Mavericks 10.9 (Processor: 2.3 GHz, Intel core i7, Memory: 8 GB 1600MHz DDR3).  In one project, approximately upto how many GB of HD content can the FCP X  take the load without the color wheel indicat

  • Need advice for form deployment

    We are using approx. 500 forms in an LC Update1 environment. This forms have been deployed under the resource tab in workbench and used by a formportal, built by the customer. We are going to move to ES3 and my question is where should we put the for