Material substitution

Hello,
I am just writing an essay at university about lot sizing models with product substitution and thereby want to give a short look at the possibilities in SAP.
I already found some topics in the SAP Help Portal concerning giving a customer a substitution product when the preferred one is out of stock. What I could not find is wether it is possible to substitute components/ materials in the production process. That means if SAP (perhaps APO PP?) can choose the cheapest component according to given setup cost and per unit production and substitution/conversion costs. E.g. using other available half-finished products that need more conversion but that avoid setting up the prefererd half-finished product, so that the total costs are minimized.
I hope you understand my problem and someone can help me. Thanks in advance.
Kind regards,
Kari

Hi YM REDDY,
thanks for your answer and for your offer for further help. There are still some points that are not clear to me.
to 1) I couldn't find anything about "alt. item group" concerning substitution. Could you perhaps send me a link about that? Of course only if you know where to look for, so it doesn't take you too much time.
to 2) on http://help.sap.com/saphelp_erp2005vp/helpdata/en/ea/e9b3f84c7211d189520000e829fbbd/frameset.htm
it is said
"You can define discontinuation data for the following item categories
-stock item
-variable-size item"
I suppose stock item means that a substitute is used when the preferred component is out of stock. Do you know what case "variable-size item" is for?
Apart from that, there are two more things. In your answer you mentioned "comparison costs". Is this the difference in costs between using one component or another? What decisions depend on these costs, is it just setting the price of the product or even planning the production with either one or another component?
At last there are the substitution rules. Are there given rules you can choose of, or do you have to set any boolean rules by yourself? Are there further rules than "is there enough material available? yes/no" or "does the customer accept the properties of the substitute? y/n" to make SAP choose a substitution component?
I know these are a lot of questions. So I would already be glad, if you just answer the ones, that you don't need to look up. Thanks very much.
Kari

Similar Messages

  • Material substitution management (1:n)

    Dear All,
    I need to manage a material substitution 1:n (e.g. material A has to be substituted from B + C + D).
    The solutions analysed are:
    1) manage a SET material (Z(1PC) = B(1PC) + C(2PC) + D(1PC)) and setup the substitution A(5PC) -> Z = B(5PC) + C(10PC) + D(5PC)
    PROBLEM: in this way I cannot manage the partial qty: in case of 100 PC ordered of material A and 80 PC available of material A I should have:
    mat A: 80PC
    mat B: 20PC
    mat C: 40PC
    mat D: 20PC
    2) try to add new items during the sales order creation/change
    PROBLEM: I try to do some test in the user exit and it seems there are so much risk; really it is not possible to do it?
    Thanks in advance
    Best regards.
    Elena.

    I would not add new items/materials in userexit.
    We used a special program written to split original item (like keep just delivered portion or you can keep qty = confirmed qty), add new item (it can be BOM like your Z material) for the remaining qty. You can copy other info from the original item (if it was changed from default, like texts for example). In this case you can build any logic you want and don't have to maintain these substitution rules.

  • Cogi Errors due to Material Substitution

    Hello,
    In plant 0162 we have cogi errors that I can not explain. It is related to material substition and BOM changes.the COGI error comes from the component material 10085940 in order 100239889. this material 10085940 was set for material substitution for material 10007152 on September 7, 2008 effective when i refer to BOM but the production order was created this august.why do we have this COGI error? we have 10007152 in house and none of the 10085940 material please answer and explain why this happen?
    More thanks,
    Ryan

    Hi,
    Where could i see this percentage for this in BOM? i have noticed in the production order compenet overview of my material the two material was there already both backflushing indicator was check, discontinuation column was populated on both material = 1 (simple discontinuation - maintain in master record). could this be a factor? why does my production order pick both this two material in its BOM 10085940 will be effective on 07.09.2008 this is weird and problematic to us.
    Please advice what happen and fixed this one my cogi error said enter storage location for this 10085940 component.
    and in CS03 when i look at the BOM:
    10074921 (valid fr) 14.05.2008 (valid to) 07.09.2008 (change # 500001258 (change # to) 500001311
    10085940 (valid fr) 07.09.2008 (valid to) 31.12.9999 (change # 500001311 (change # to ) blank
    Please any help with this one for me to resolve this issue expert. please
    Thanks
    Ryan
    Edited by: Ryan Lazaro on Aug 22, 2008 10:22 AM
    Edited by: Ryan Lazaro on Aug 26, 2008 4:30 AM

  • Need a user exit before material substitution executes in VA01, 02

    My client has a unique need in SAP AFS.  When entering an order, they have material substituion turned on and they want it to always execute.  The problem is that we have a custom FM that must execute prior to material substitution - it will determine the material first and then material substitiion should use THAT material to detemine if it needs to substitue a material/grid.  I have put break points in every exit I could find in the SAPMV45A exits.  The one I would normally use is in MV45AFZZ for changes for VBAP, VBEP, etc. - but no matter what exit I put a break in for debugging (to see when it is called during order entry) - material substituion always executes first.  yes, the exit for VBAK executes prior to material substition but that is at the header - I need the order lines.  Also note that we are talking about the UPC/EAN tab - we are entering a UPC code and that gets the material/grids we need - this is not on the normal order line screen.
    Does anyone have any ideas?
    As always - points for helpful answers.
    Thanks.
    Scott

    Only solution was a repair to SAP, so we found way for standard SAP to handle it.

  • Need to bypass Material substitution rule for SO created through RFC

    Hello SAP Geniuses,
    I have an external process that creates Sales orders using a RFC calling BAPI_SALESORDER_CREATEFROMDAT2.
    My Users want to create orders for Materials that have substitution rules defined, but they want to bypass these rules when the Sales Orders are created from the external process. Other Users in the same Sales Organization and Distribution Channel need the substitution rule to sell these materials, so config cannot solve this.
    I have already tried detecting when  VBAP-MATNR NE VBAP-MATWA  and calling BAPI_SALESORDER_CHANGE with the original MATNR, but the same substitution occurs in this FM.
    Can anyone point me to a User Exit or BADI that can add flexibility to the Material Substitution mechanism in SD module?

    Jack,
    You are a genius!
    These are the steps I followed to implement this idea:
    1) VOFM -> Requirements -> Material determination -> New rule in the 800 series
    2) Insert code into rule with SSCR key; Activate code; Activate rule.
    3) Run utility program RV80HGEN to create rule in FG V61D -> SAPLV61D -> LV61DNNN -> RV61DNNN -> RV61D8xx
    4) SPRO-> Sales and Distribution -> Basic Functions -> Maintain Prerequisites for Material Determination -> Maintain procedure -> select procedure -> double-click "Control data" -> enter rule into box "Requiremnt". Save.
    5) SPRO-> Sales and Distribution -> Basic Functions -> Assign Procedures To Sales Document Types -> select doc type of interest -> enter procedure name into field "MatDeterm." for doc type. Save.

  • Warning message for material substitution in ERP E-commerce

    Hi Gurus,
    We are implementing SAP ERP E-commerce with TREX, ECC 6.0 backend.
    Automatic material substitution is working in ECC. The material is also dispalying a warining message before substitution.
    In B2B shop the substituion works - material X is replaced with matereial y but there is no warning message during substituion.
    I believe matereial substituion in E-commerce is standard funtionality and it should work as configured in ECC for VA01.
    Any susgestion why there is no dispaly of any message during matereial sub in E-commerce.
    Thank you

    Hi Ram,
    What type of messags can be displayed on ECO ERP can be configured via XCM "UI" component. By default only error messages are displayed, You can create a customer component with message  severity set to 'Warning" / "info" as required. After this all the messages raised by the Standard BAPIs are displayed on the basket.
    However you need to be careful what severity level you want to use as apart from the message that you require, lot of other messages might also be displayed on the basket.
    Regards
    Roopali

  • Material Substitution List in VA01

    Hi,
    In VA01 I would like to create Material Substitution. Could someone tell me how do we do it. Any kind of inputs are highly appreciated.
    Thanks & Regards,
    ABAP'er

    Hi,
    The first step is to visit transaction SPRO -> Sales and Distribution -> Basic Functions -> Material Determination.  If you expand the Material Determination branch, you should see three IMG activities: (1) Maintain Prerequisites for Material Determination (several configuration steps), (2)Assign Procedures To Sales Document Types (specify a material determination procedure for the sales document types for which you want to carry out material determination), and (3)Define Substitution Reasons (specify additional control parameters and system responses for each substitution reason).
    There is detailed information for each of these IMG activities in transaction SPRO.  Just click the little sheet of paper next to each IMG activity.
    Normally I would think that the SD functional consultant would perform these configuration steps.  Note that http://help.sap.com also has information on this topic.
    Cheers,
    James

  • Problem with Material Substitution

    Hi Guys,
    In VB12, we set the order reason to something that will make the substitute material as a sub-item. Then we create the SO via VA01, and the subtitute material is correct to be in the sub-item.
    We have changed the order reason of material determination from something that makes the substitute material as a sub-item to something that makes it automatically replaced. Meaning, no sub-item, instead, the substitute will replace the original material in SO line item.
    We change the qty of SO created via VA01 but the original material was not replaced with the substitute material, instead the sub-item has been removed and the original material is maintained in the line item. We are expecting that since the order reason in material determination has been changed, the material number should also be automatically replaced when we do VA02.
    Thanks.

    Hi Freishz,
    Please go to configuration from SD >> basic functions >> material determination >> define substitution reasons. Reason needed to define in creation material determination from VB12 should be should be deined as below:
    -warning should be ticked,
    -strategy should be selected as automatic,
    -outcome should be defined as B.
    I hope these will help you on this issue.
    Thanks,

  • Material substitution with BAPI_SALESORDER_CREATEFROMDAT2

    Hi, I'm creating sales orders with BAPI_SALESORDER_CREATEFROMDAT2 in background, I have some materials that have substitutes, but when I use the bapi, the material is does not change. When I create the sales order manually in the VA01, the material is replaced.
    thanks.

    It should behave exactly the same. Usually when you run something online, there are certain fields that get defaulted and you will not notice. But when you call the BAPI, you have to pass those default values as well so that you will see the same result. You will have try it out in a couple of different ways and also debug the code where it decides whether or not substitution allowed and you can trace it back to the value that is missing.

  • 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.

  • Material Substitution during Sales Process

    We produce one material, production posting in one material number AAAA, but when people sale because of different grade acid, they sale in several different material number, ie. BBBB and CCCC, then inventory becomes negative for these material number BBBB and CCCC .  At month end, people have to do manually move stock from AAAA to BBBB and CCCC.
    Is their any way we can config to let this automatically happen?  Which means if we sale BBBB and CCCC, it will deduct inventory from AAAA?

    Hi,
    Have you tried material determination in sales so that when you ordered BBBB, it is substituted with AAAAAA ?
    Why doesn't it work ?
    Myriam Catrycke

  • Material Substitution by Sales Group?

    We will be trying to rollout a new product in place of another, but we want to do it in "waves" -- like by different groups of customers.   Is anyone aware of any functionality within SAP that would support doing this?  What we are thinking is that we may have to do some kind of batch program that would update sales orders, but we are looking for a better way of doing this.
    Thank you very much!

    Hi,
    Have you tried material determination in sales so that when you ordered BBBB, it is substituted with AAAAAA ?
    Why doesn't it work ?
    Myriam Catrycke

  • Got the user who create Material Substitution

    Hi Friends,
    Anyone know how to get the user ID who create a new material subsitution entry? The related tables KOTD502 and KONDD do not have fields for user informatioin and I could not find any change log for it.
    Any comment will be appreciated.
    Thanks.
    Jonnie

    Dear G. Lakshmipathi,
    Thanks.
    AUT10 is a transaction for administrators, not open for us function consultant. And we  are evaluation change history so we could not do now by do the transaction now.
    Mysterious that SAP have transactions which no user information and changes are logged.

  • Material substitution program for sales order

    Hi,
    I need to do a program with these requirements:
    <<The substitution program (single process) must run for all sales orders as soon as Delivery block is set to VA and also when delivery block is removed.
    Advice : Trigger program using an output type determined in the sales order>>
    I need to know how to trigger this single process using "output".
    Has any of u done this before? I've no idea where to start! Can anyone help me?
    Tarick.

    Hi ajit
    In VA05 itself you can see Ordered  qty, Open order qty and confirmed quantity , Delivered qty , Delivered  date  .Even  Laxmipathi also said same thing and  i also agree with his words.
    Regards
    Srinath

  • Re : Material substitution

    Hi
    This is my scenario;
    If Product B is not in stock I can substitute with Product A (higher grade). I will charge the same price to the customer (price of Product B will be charged) and all my customer facing documents are to show Product B.
    How should I set up the configuration for this?
    What are the item category assignments that must be done for this?
    How to solve this.
    Thanks
    Anto

    Dear Anto,
       this can be done through Material Determination Procedure. Kindly do the configuration for that you will able to get your scenario mapped.
    1. Show the assignment of material determination procedure A00001 to
    standard sales document type OR: IMG u2192 Sales and Distribution u2192 Basic
    Functions u2192 Material Determination u2192 Assign Procedures to Sales Document
    Types.
    2. Show the material determination procedure A00001: IMG u2192 Sales and
    Distribution u2192 Basic Functions u2192 Material Determination u2192 Maintain
    Prerequisites for Material Determination u2192 Maintain procedure.
    3. Show the condition type A001 and the access sequence assigned to it:
    IMG u2192 Sales and Distribution u2192 Basic Functions u2192 Material Determination
    u2192Maintain Prerequisites forMaterial Determinationu2192Define condition types.
    4. Show the access sequence A001: IMG u2192 Sales and Distribution u2192 Basic
    Functions u2192 Material Determination u2192 Maintain Prerequisites for Material
    Determination u2192 Maintain access sequences.
    5. Show the access sequence A001: IMG u2192 Sales and Distribution u2192 Basic
    Functions u2192 Material Determination u2192 Maintain Prerequisites for Material
    Determination u2192 Maintain access sequences.
    6. Create a standard sales order for a customer.
    7. Before entering any product, activate the material determination analysis:
    Environment u2192 Analysis u2192 Material Determination u2192 On.
    8. Enter material and quantity.
    9. Choose an appropriate substitute material.
    Regards,
    Sudhir
    Edited by: Sudhir Nair(India) on Feb 18, 2009 9:47 AM

Maybe you are looking for