VB11 Material Determination - How to substitute only when ATP fails?

I created a material determination rule with VB11 (A is replaced by B).
However, my intention was to has A replaced by B only when ATP fails in SO....
Now I have A replaced every time....
I tried to create two lines: A=>A, A=>B as alternative, but A is always replaced by A now...
Did I miss anything?
Thank you!

Its possible to do this. Please do as below.
Ex: xyz is the main item and abc is the substitution item which needs to be activated only when xyz qty is less)
1. Under VB11 maintain the following records:
    For Reason : Z003 (ATP Check)
Material Entered  is XYZ and Substitution Materials are XYZ and ABC.
    Basically Material XYZ substitutes XYZ and if the qty is less it substitutes ABC.
2. Substitute Reason Settings are as under (SPRO):
Reasn Z003
Description Availability check
Entry
Warn
AvCh dep. X
Strategy
Outcome B
Category
This will work wonderfully...
Hope this helps...

Similar Messages

  • VB11 Material Determination - Message Notification

    Hi
    Currently the substitution material determination is in place (VB11 Material Determination).
    However any possiblity to notify the user as the material is changed duing the material determination takes place.
    Where the setting should be done ?
    Regards
    RG

    Hi Raj,
    In standard its not possible
    if you want like that create your own reason like 0007 put only check mark in warning box
    put blank for all coloums strategy,out come,substitute category
    save it and assign this reason to condtion type A001 in VB11 or VB12 what ever you created.
    here once the user create sales order and enter a material he doesn't have chance to select the substitute product and it will give warning message like " Material  xxxxx found on the basis of entry xxxx(reason)"
    once press the enter it will automatically replace the original material with substituted material.
    check and revert.
    Regards,
    Krishna.

  • How to suspend only when Laptop is with Battery on systemd

    Hi again , I was capable to make sleep hooks for systemd to lock screen when suspend/hibernate and for wicd to reconect wifi in same way, but i cant figure out is how to make systemd only suspend when is on battery. Because if I edit /etc/systemd/logind.conf to handle the Lid events always suspend wheterever is on battery or AC, before I was using acpi to handle this, to make clear here is my handler.sh
    #!/bin/sh
    # Default acpi script that takes an entry for all actions
    #minspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`
    #maxspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`
    #setspeed="/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"
    set $*
    case "$1" in
    button/power)
    #echo "PowerButton pressed!">/dev/tty5
    case "$2" in
    PBTN|PWRF) logger "PowerButton pressed: $2";;
    *) logger "ACPI action undefined: $2" ;;
    esac
    button/sleep)
    case "$2" in
    SLPB) echo -n mem >/sys/power/state ;;
    *) logger "ACPI action undefined: $2" ;;
    esac
    ac_adapter)
    case "$2" in
    AC|ACAD|ADP0)
    case "$4" in
    00000000)
    #echo -n $minspeed >$setspeed
    #/etc/laptop-mode/laptop-mode start
    00000001)
    #echo -n $maxspeed >$setspeed
    #/etc/laptop-mode/laptop-mode stop
    esac
    *) logger "ACPI action undefined: $2";;
    esac
    battery)
    case "$2" in
    BAT0)
    case "$4" in
    00000000) #echo "offline" >/dev/tty5
    00000001) #echo "online" >/dev/tty5
    esac
    CPU0)
    *) logger "ACPI action undefined: $2" ;;
    esac
    button/lid)
    case "$3" in
    close)
    #echo "LID closed!">/dev/tty5
    STATE=$(cat /proc/sys/vm/dirty_writeback_centisecs)
    if [[ $STATE == 60000 ]]
    then
    #/usr/sbin/pm-suspend
    systemctl suspend
    fi
    open)
    #echo "LID opened!">/dev/tty5
    esac
    logger "ACPI group/action undefined: $1 / $2"
    esac
    In my laptop dirty_writeback_centisecs= 60000 when is on battery if AC is 500. I read this post where one user make a udev rule to know if system is on AC or battery but I cant how to figure out to use in some way like i was using with acpi.
    I was thinking in some sleep hook like this (i will use pseudo code):
    #!/bin/sh
    if [ $1 == 'pre' ] ; then
    STATE=$(cat /proc/sys/vm/dirty_writeback_centisecs)
    if [[ $STATE == 60000 ]]
    then
    systemctl suspend
    elif
    break suspend (this is i dont know how to implement)
    fi
    fi
    I hope I was clear enough, feel fre to ask any questions. And sorry for my bad english

    lahwaacz wrote:You can't do this with systemd AFAIK. What's wrong with acpid? It works, right?
    Yes it works but if systemd can handle this eventes It would be good to get rid off of acpid because following this post I was capable of getting rid pm-utils .
    Guess I'll have to keep using acpi until systemd can handle these events. Thanks.

  • How to setup notifications when workflow fails ?

    Hi all,
    new to this, so please help.
    I want to receive notifications when a workflow fails for whatever reason.
    I am using R12 (12.0.4) on linux.
    Is there a way to configure this through OAM perhaps.
    Many thanks in advance.

    Hi;
    Please check and see its helpful for your issue
    Oracle Alert and WF mailer
    Re: Oracle Alert and WF mailer
    plz help me...!!!! Workflow Notification Mailer
    Re: EBS work flow
    Regard
    Helios

  • How to roll back when procedure fails

    Hi All,
    In my process using procedures i am droping the temp tables and creating temp tables ,if any procedures fails how should roll back all the process
    Procedure1(droping tables)----->procedure2(creating table1)--------->procedure3(creating table2)------->procedure4(Validaating accounts in table2 and creating seperate table)
    Any suggestion please
    Thanks in Advance

    Let's say in your package you have your 4 procedures (Proc1, Proc2, Proc3, Proc4).
    Also create 3 additional procedures:
    RollBack1 -> Does the opposite to Proc1 (i.e. if Proc1 drops a table, then Rollback1 will create it)
    RollBack2 -> Does the opposite to Proc2
    RollBack3 -> Does the opposite to Proc3
    Your logic will be:
    If Proc1 is successful, then execute Proc2.
    If Proc1 is unsuccessful, then end.
    If Proc2 is successful, then execute Proc3.
    If Proc2 is unsuccessful, then use an on failure path (red line) to execute RollBack1.
    If Proc3 is successful, then execute Proc4.
    If Proc3 is unsuccessful, then use an on failure path (red line) to execute RollBack2, followed by RollBack1.
    If Proc4 is successful, then end.
    If Proc4 is unsuccessful, then use an on failure path (red line) to execute RollBack3, followed by RollBack2, followed by RollBack1.
    It mightn't be necessary to undo everything - but you'll know your own business needs to make a decision on that.

  • How does BPM continue when a fail over ocurrs?

    Hello,
    If a BPM is running inside a cluster of XI, and the node  running the BPM fails, Would the other nodes continue processing or the BPM will finish with a error?
    Best regards,
    Luis Carlos

    Hi Luis,
    There is no automatic failover mechanism is there , if BPM fails. Rather if you consider your Scenario, then BPM will be a part of your end -to-end scenario. So it should execute sequentially.
    It is just my view...
    For more on BPM-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/1c/287842f9e03654e10000000a155106/frameset.htm
    Regards,
    Moorthy

  • BOM+Free Goods+Material Determination

    Hi,
           My company want to give free goods in Bill of materials.But system is not accepting that.How can we do that?
    I am getting the same problem with Material Determination and Free Goods combination.When i configure material determination for a material which is having free goods system is not showing...any idea?
    Points for sure.

    Hi,
    The constraints for free goods in SAP are as follow
    <u><b>Constraints</b></u>
    Free goods is currently only supported on a 1:1 basis. This means that an order item can only be
    the source of one free goods item. This means that agreements involving relationships such as
    'Buy material 1 and get material 2 and material 3 free of charge' or 'Order material 1 and material
    2 together and get material 3 free of charge' are not supported.
    <u><b>Free goods is not currently supported in combination with material structures (e.g. product
    selection, bills of material, variants with BOM explosion</b></u>).
    Free goods is currently only supported for sales orders with document category C (not for
    quotations, for example).
    Free goods is not currently supported for deliveries without reference to a sales order.
    Free goods is not currently supported for make-to-order production, third-party order processing
    and scheduling agreements.
    Hope it helps you.
    Regards,
    Sarosh

  • 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 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 in BoM sub item

    Hi All,
    In our current SAP system;
    1. In quote if there is BOM material, it won't explode and it shows as one line item i.e BOM header.
    2. Now in the BoM for one sub item there is a material determination set up.
    Issue:
    When i create a order with ref to quote now BoM gets exploded and material determination is NOT taking place, I was told it Is possible to activate determination in reference mode. Any idea how i can activate this?
    Note: When I create an order with no reference BOM gets and exploded and materail determination also takes place with no issues.
    Yash

    Hi.
    Refer :
    SAP Note 486680
    SAP Note 549341
    Regards,
    Anji

  • Object Class and Object Id for material Determination tables.

    I want to know what is the Object Class and Object Id for material Determination records to verify tables CDHDR and CDPOS.
    The purpose is to know the changes done by the different users for material determination records.
    Can any one help.

    Hi ZZZSUNNY,
    Similar question is answered recently.Please find the below link which will helps you
    Material determination: how to see the creater of a record?
    Thanks
    Dasaradha

  • How to configure material determination???

    hi,
    v r working on automatic material determination for christmas..so please guide me how i can proceed???
    specifically i need info on material exclusion and inclusion..
    thanks a lot
    h shah

    Hi Shah,
    MATERIAL DETERMINATION:
    A method to determine the material to be used in the sales order. Material determination uses the condition technique to swap one material for another when certain conditions apply. It is triggered by the material entered in the line item of the sales order.
    Maintain prerequisites for material&#61664;Material Determination&#61664;SD&#61664;- IMG determination –Maintain field catalog, create condition table, Maintain access sequences, define condition types, and maintain material determination procedure. Lastly create your condition records with valid dates and substitution reasons.
    - Creating a condition record: Logistics, SD, Master data, Products, Material determination, Create [VB11].
    Material Determination: - Substituting one product with other product is called material determination.
    Maintaining the records for Material Determination: -
    SPRO
    Logistics
    Sales and Distribution
    Master Data
    Products
    Material Determination
    VB11 – Create.
    Enter the determination type [A001] (Material Entered).
    Material Entered: - Here enter the original material which has to be substituted.
    Material: - Enter the material with which we want to substitute the main material.
    Reason for Substitution: - specifies the reason why the system automatically carried out material substitution.
    To enter multiple materials as substitution select the icon alternative materials.
    This concept is based on condition technique.
    SPRO
    Sales and Distribution
    Basic Functions
    Material Determination
    Maintain prerequisites for material determination.
    Create condition tables [OV16]
    Maintain access sequences
    Define condition types
    Maintain procedure
    SPRO
    Sales and Distribution
    Basic Functions
    Material Determination
    Assign procedures to sales document types [OV14]
    Defining the reason for substitution: -
    SPRO
    Sales and Distribution
    Basic Functions
    Material Determination
    Define substitution reasons [OVRQ]
    Go to new entries and define
    Substitution reason: - Specify the substitution reason [0001]
    Description: - Advertising campaign
    Entry: - If we check this field the system prints the name or number of the original material on the corresponding output.
    Warning: - If we check this field the system displays a warning message before substituting the material.
    Strategy: - Controls whether the product selection should occur automatically in the background or whether the alternative materials should be offered for a selection in dialog box.
    Out come: - Controls whether the out come of product selection should replace the original entry or whether it should be recorded as a sub item of the original entry.
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Yours sincerely! I just bought a Sony DCR-SD1000 camera only when installing the cd drivers not supported by the operating system Machintosh. I've contacted the seller said the store did not provide for the apple os. How can I move all the files on the ca

    Yours sincerely! I just bought a Sony DCR-SD1000 camera only when installing the cd drivers not supported by the operating system Machintosh. I've contacted the seller said the store did not provide for the apple os. How can I move all the files on the camera the port out is to use a USB data cable to a laptop for my macbookpro can not read the contents of the file and the camera. I also want to use the lens on the camera as a substitute for the embedded camera on my macbookpro, what should I do to replace the embedded camera on macbookpro with sony camera so that the camera could be more variety and can I record when I turned macbookpro . Please help for this so that I can quickly capture the results from sony camera to my macbookpro. Thank you.

    See this page http://macosx.com/forums/networking-compatibility/296947-sony-camcorder-my-mac.h tml - might be some helpful tips there.
    Clinton

  • 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

  • VB11 - CREATE MATERIAL DETERMINATION. need a BAPI for this

    i have to develop an inbound interface program to create VB11 - CREATE MATERIAL DETERMINATION.
    Can any one suggest me if there is any BAPI for doing this insted of going to BDC program .
    Regards
    Raadha

    I don't think there will be any BAPI to do the update as material determination is itself dynamic depending upon which determination type you chose from - the key field combination changes accordingly. Just like updating pricing doesn't have any general purpose BAPI.
    I think BDC is the only way out here

Maybe you are looking for

  • Captureing from a dv camera....

    i have been using the capture feature in fcp to log each in and out i want to be a clip and then batch capture but i want to be able to just press one button and have it capture every clip i shot from where ever i have it start from to the end or whe

  • Omwb - Blank Error Message - Capture Source DB

    Hi I have installed latest OMWB along with plug-in for access. I am able to generate xml files from ms-access database. I have lastest access driver. When i run omwb.bat it opens a window, it displays a blank error message. Same blank message comes ,

  • Solaris 11 zone - access to npiv vHBA

    We need to have full control over a FC HBA in a zone, it should be possible to display the WWN of the NPIV port and mount storage presented to the HBA. We created the npiv ports, but we didn't find a way to pass the control of the port to a solaris 1

  • Question on SinglePageCrudTable sample project

    A part of Page1.java in SinglePageCrudTable sample project follows: public String deleteButton_action() { // TODO: Process the button click action. Return value is a navigation // case name where null will return to the same page. Iterator rowKeys =

  • JDeveloper 9i integration with PVCS

    I have read that JDeveloper 9i does not integrate with PVCS, is this true? If not, is support planned? Thanks