Max condition value - exceeds while creating a SO

Hi All,
I have a requirement which we are trying to meet up by a solution:-
Requirement:-
A fund value (e.g. 1,00,000) is to be allocated on a particular spend which is offered to customers (e.g. discounts)
So as and when the discounts are offered on the customer orders (SO) the funds value should get depleted
this process goes on and the discounts are offered to the customers, but the total discounts offered till date has reached (98,000), hence when a new order where the discount offered is lets say (5000) it should not allow user to offer it, since it should not go beyond the total fund value i.e. (1,00,000)
Solution:-
Setup:-
A condition type for discount ZCDS is created with "condition update" flag marked
In the condition records of the above condition --> Additional sales data --> Max condition value we will put the total allowed fund of 1,00,000
Transactions:-
Mutliple SO's are created with ZCDS discounts condition types ((1) 30,000 2) 30,000 3) 30,000)
Now in the cumulative values of the ZCDS condition record shows 90,000 for the above 3 orders
Now a new SO is being created with ZCDS valuee of 30,000... IT SHOULD NOT ALLOW TO POPULATE THE ZCDS - CONDITION VALUE OF 30,000 IN THE SO, SINCE IT WILL EXCEED THE TOTAL FUND AMOUNT OF 1,00,000 WHICH IS ALREADY ASSIGNED IN THE "MAX CONDITION VALUE"
ISSUE:-
I am able to create a 4th SO with 30,000 in ZCDS condition type which is updating the "cumulative values" (1,20,000) in the ZCDS condition records as well
QUESTION:-
Can the above scenario met through the solution we have proposed ?
Will the max condition value of 100000 not restrict the condition value in the SO since it is exceeding it ?
Please suggest in case i may have to configure setup additional in it
Appreciate quick replies!
Jimit Shah

Hi
This maximum condition value i have tested some time back
But my results were quiet different
In your example for the 4 th order , when i tested system was taking only 10000 ( the balance of the max condition value)
If we create another order say 5 th order, then  for that condition type ZCDS system was taking ZERO value
So it was limiting to the maximum of 100000
But it was allowing us to create N number of orders ( after max condition value was reached )
For those extra orders system was taking zero value  for ZCDS ( which i think is meaning less)
When i find time i will test this once again and come back to you
I tested this once again today and found that once the maximum condition value is reached for the rest of orders system was taking the nett value as blank
This is the same with my earlier findings
In your example system will not take it to 120000 if the maximum condition value is set to 100000
If that is happening then there is problem somewhere
and in the condition  item details analysis system very clearly  tells that MAX value is reached for that condition
MAX condition value is working perfectly
Regards
Raja
Edited by: ramanathan raja on Feb 11, 2011 3:56 PM
Edited by: ramanathan raja on Feb 11, 2011 4:04 PM

Similar Messages

  • Max condition value - didn't reset when SO was rejected

    Hi All,
    I need some help.
    Requirement:
    Need to set a max discount value for certain material.
    Config:
    A condition type for discount ZD36 is created:
    - Cond.Class : A (Discount or surcharge)
    - Calc.Type : A (%)
    - Plus/Minus: X (Negative)
    - "Group Condition" flag marked
    - Manual entries : D (Not possible to process manually)
    - "Condition Update" flag marked
    - Scale Basis : C (Quantity scale)
    - Check value : A (Descending)
    Setting:
    VK11--> Additional sales data --> Max condition value --> 900- (Valid from today until 31.12.9999)
    Testing:
    1. Create SO with full discounts (Value : 900-)
    2. Reject the first SO by:
       - Order reason: Z02 (Cancel Order)
       - Reason for rejection: 13 (Cancel Order)
    Problem:
    When I tried to create another SO, the condition type for discount ZD36 didn't show up.
    I think this is a basic thing which should have worked.
    Something wrong with my config?
    Thank you very much.
    Best regards,
    Wira Handika.

    Hi ta.adithya,
    I already find 2 ways to reset the cummulative value:
    1. Delete the first SO or
    2. Delete the line item in the first SO.
    Is there a way to reset the cumulative value simply by reject SO?
    Because we want to keep track to all the changes, so we don't want to delete anything.
    Thank you.
    Best regards,
    Wira Handika.
    Edited by: Wira Handika on May 25, 2011 11:22 AM

  • Fixed value assignment while creating Domain

    Hi All,
    While creating a Domain with data type 'CHAR', No. characters 13, in Value Range > Fixed Value i had given 'TEST_MATERIAL' but it only takes first 10 Characters (TEST_MATER). I wan to display all characters.
    how can I solve it.
    Points Assured.
    Regards,
    Suresh

    Hi here the problem is not your length.
    The standarad SAP length for the value field is 10. So even if your domain has length more than 10 the value field cannot accomodate that length.
    So no option ... you must go for Value Table.
    Also the fixed ranges are mostly for numbers... tht's why they have fixed the max length as 10 which is large in case of numbers...
    Better to go for Value Table. I have tried that and is working fine.

  • Change LIPS-PRCTR with value ' 0020990000' while creating a Delivery Vl01n

    Hi Gurus,
        I have a requirement to default the profit centre of the delivery while creating a delivery through Vl01n.
       Please let me know which enhancment / exit i should use and how.
    Regards.
    Avi...

    Hi Vijay,
      I need a help on this profit centre change.
    1) Create a Sales order through Va01
    2) Create a delivery for the sales order in Vl01n.
        Post good issue.
    3) Create Vf01 for the delivery.
    4) The profit centre change should be reflected in accounting document also.
    In my case its not getting updated in the accounting document .
    Can you please guide me where should I make changes.
    Regards,
    Avi...

  • Find Tax conditions and amounts while creating a PO from reference.

    Hi friends,
    I am creating a PO from another reference PO. When I create the PO the Tax conditions and
    amounts come from Sabrix 3rd party system. This data gets saved into SAP internal memory and
    is visible when we follow PO item-> Invoice Tab->Taxes-->then we can see Tax
    conditions and there amounts as well. when we press SAVE button PO gets created and KNUMV
    (Condition Number) gets formed and then we can access this Condition types and Amounts data
    from KONV table by specifying the Condition number which is the Primary key of KONV table.
    But we need to access this data of Condition types and Amounts even before we press SAVe
    button on ME21N screen.
    Please help me on this.

    Hi,
    As mentioned that this error was one of the wierdest SAP issues I have faced, it was due to the silliest copy paste errors on my behalf. I completely overlooked the POITEMX naming.
    For 4 values of RFQ_NO, RFQ_ITEM, PREQ_NO, PREQ_ITEM, I didnt have the 'X' for POITEMX and kept on looking for errors for days.
    BAPI_PO_CREATE1 works with min. possible inputs successfully.
    Thanks to all!

  • Net value issue while creating return order with reference to billing

    Dear All,
    I created SO / DEL/ BILLING for qty 100 say net value-20000.When i created Return order with  refrence to billing document,
    net value appearing same ( 20000) for 50 quantity.Pl do advise asap as its required urgently.
    Thanks in advance.
    Regards
    raj
    Edited by: raj_sapsd on Aug 20, 2010 9:18 AM

    surelly problem in VTAF
    F2 to RE
    DATAT: 103
    DATAT: 103
    DATAT: 003
    Coping requirement 021
    item level TAN  and ietm cat proposal G2N
    DataT: 153
    Datat: 104
    datat: 004
    Coping requirement 303
    Update doc Flow X
    only possibilites Removed my Moderator
    Edited by: Lakshmipathi on Aug 21, 2010 9:31 AM
    Please avoid asking for points

  • Condition value coming while taking vehicle return

    When we are taking vehicle return one condition ZBLK is coming which was not in original billing document when the vehicle was sold. Kindly suggest what is wrong.
    Regards
    Vivek

    Hello,
    Please check you pricing procedure, this could be condition type which has been configured and enhanced to charge the return charges for the vehicle.
    also if possible please put some more details, does this condition have any value ?, is it mandatory to put in the value, is it a statistical condition ?
    if you scroll on the condition tab you will find the statistical check mark.
    Hope this helps
    Regards

  • Max cond value vs max cond base value

    Hi All,
    What is the difference between
    Maximum condition value & Max condition base value, in the condition records. (VK11,12,13)
    Path - Maximum condition value:-
    VK13 --> condition records --> add sales data --> max cond value
    For Path Maximum condition base value, i cant see the field out there on the screen
    PL help with the differences between the functionality, appreciate, if it is with an example
    Jimit Shah

    Hi Jimit,
    I think it should be ' Condition Base value " and "Max condition value " I may be wrong.
    Conditional base value  When a value is derived for a condition type, based on certain calculation this value is taken as base.
    Condition base value is a concept used in pricing procedure and actual term used is alternate condition base value. This is a formula assigned to a condition type in order to promote an alternate base value for the calculation of the value. If you have to calculate price of a material then you have to have a base value for it. For e.g. if you want to calculate the discount of 10 % for a material then you have to have a base value on which this 10% is calculated. Normally you take the condition value of the base price of the material to calculate the value.
    Max condition  value, Provided that the condition update function is active for a particular condition type, you can create condition records that specify a maximum cumulative value. The system uses the condition value of an item as the basis for the cumulative value.
    You can specify the maximum value when you maintain an existing condition record. The condition update indicator must be maintained in Customizing for Sales for the corresponding condition types.
    For example, specify that a customer receives a 10 USD discount for a particular material up to a maximum cumulative order quantity of 5,000 cases. As the customer places sales orders for the item, the system keeps track of the cumulative value (in this example, the number of cases) and stores this data at the condition record level. Once the cumulative value reaches 5,000 cases, the system automatically deactivates the discount. ( Source help.sap.com )
    To view the cumulative value for a particular condition record:
    Within the condition record, choose Extras > Cumulative values.
    A dialog box displays the cumulative value of sales orders where this condition record was used.
    Thanks/Rajesh
    Edited by: Rajesh Kumar Bhansali on Mar 2, 2011 5:40 PM
    Edited by: Rajesh Kumar Bhansali on Mar 2, 2011 5:41 PM

  • Budget error while creating delivery from sales order

    hi Gurus,
    System is throwing error PB603 "Item 004 WBS element ABC-XXX budget exceeded" while creating delivery from sales order.
    I am picking material from unrestricted plant stock (not in project stock).
    I am also confused as sales order has 3 line items & error shows Item 004 !

    Hi Kuldeep,
    Check this note,
    Note 159387 - Message BP603: incorrect line item is displayed
    Its valid only till 4.6. Might give you some idea but.
    Regards,
    Gokul

  • How to manual maintain TAX condition value while creating sales order

    Hi
    I am creating one Tax condition suppose JLST without access sequence .
    while creating sales order I am manually maintain the % value of TAX. suppose it is 1%
    then I see It show some value in TAX .
    save that sales order & creating delivery document for that but when I create Invoice its show error.
    " Tax code  in procedure CMTAXP is invalid ".
    I know the configuration only for Tax condition with vk11 condition record .
    BUT now I want to maintain TAX condition at the time of creating sales order.
    so I remove the access sequence of that condition .
    but It shows tax code error while billing.
    My main question is that If i maintain condition record while creating sales order then how i can assign Tax code .
    Can it is possible ?
    if yes then How?
    please help me.
    thank you

    Hi,
    The "straight-forward" answer for Tax Code creation is contact the FI consultant. He shall help you, by creating Tax codes.
    I have tested, with creating a tax cond type (copy of MWST) & manually entering values. I can create Sorder, Dlv and Bill but I cannot create an Accounting document. That is because of every line (amount) a Tax code is necessary.
    I THINK, you can NOT have manually filled tax codes; access sequence is needed to get the tax value (%) and the Tax code from the condition record.
    There is lot of material on the web to understand Tax classification, code etc. etc. See a useful link below -
    http://www.sapgeek.net/2010/04/sd-determines-tax-code/
    In short Tax code is a must and take the help of your FI consultant for the configuration of the same.
    BTW - Tax code is already made created for MWST, therefore I suggested that you can use MWST. Furthermore, you can change the values corresponding to Tax codes in FTXP.
    But if you are a beginner in these things, better take help.

  • Cumulative quantity has exceeded still billing have condition value.

    Hi,
    Requirement – One discount condition which will be applicable up to a certain quantity at billing.
    Issue – Condition is getting determined at billing while cumulative quantity has exceeded.( I am using pricing type C in copy control delivery to billing).
    Note –     1.  I am using partial Delivery method.
                   2. When creating new order functionality is working fine.   
    Existing Scenario-           
    i.  I have created one condition with condition update setting.
    ii. I have maintained VK11 with amount 90 Rs. and Max.cond.base value  1000 qty  in additional data.
    iii. I have created one sales order (ord. qty. 1500).
    iv. Created 1st delivery and billing for 1000 qty.
    v. When creating 2nd  billing(qty 200) with same delivery, system is picking discount condition which should not happen as billing quantity has exceeded.
    Please advise
    Thanks and Regards,
    Vinod

    Hi Vinod,
    Which routine have you created..did u create a routine for  'alt  calc type' or 'alt cond base value' in pricing ?
    If after using A or D in pricing type in copy control, the condition values are not copied from the sales order, then that means there is some issue with the copying control settings.
    Anyways, now you have met your requirement.
    Please close this discussion.
    Regards
    Jobi

  • Error While Creating Date type condition query

    Hi All,
    I am getting following error while creating a multiple condition query.
    ERROR:java.lang.IllegalArgumentException: Unexpected field type for D: java.lang.String
    I am pasting the scrap of the code for review below.
    pls note after removing the condition cond6; it works fine, and cond6 is for date type field.
    for(int j=1;j<7;j++){                          
    fd[j] =trd.getFieldDescriptor(arrayHeaderFieldNames[j]);
    BasisFieldType bft1 =  fd[j].getFieldType();
    if (bft1 == BasisFieldType.C) {
      filterOperator[j] = RelationalOperatorType.CONTAINS;       }
    else{
      filterOperator[j] = RelationalOperatorType.EQUALS;
    order[j] =queryFactory.createSortOrder(fd[j],true);
    cond1 =queryFactory.createCondition(fd[1], filterOperator[1], values[0]);
    cond2 =queryFactory.createCondition(fd[2], filterOperator[2], values[1]);
    cond3 =queryFactory.createCondition(fd[3], filterOperator[3], values[2]);
    cond4 =queryFactory.createCondition(fd[4], filterOperator[4], values[3]);
    cond5 =queryFactory.createCondition(fd[5], filterOperator[5], values[4]);
    cond6 =queryFactory.createCondition(fd[6], filterOperator[6], values[5]);
    Condition cond = queryFactory.createCondition(new Condition[]{cond1,cond2,cond3,cond4,cond5,cond6},LogicalOperatorType.AND);
    Please Help!
    Thanks n regards,
    Kapoorchand.

    Hi,
    well that problem is a long time back -. I only have in mind that the date I had to transfer to the quesry was in a "strange" format. Have a lock into the documentation for the date field - your date field is not recognised as a date field from the quesry engine and so this fails - but unfortunately I have no idea at the moment how I fixed it last time - how I converted my date field......
    Sorry, thast I can not give you the real point - but I will have a lock into the old code - hopefully I find it soon.
    Regards,
    Oliver

  • MM Pricing Condition Type values in Condition Tab updation while CHANGE PO.

    Hi,
    The process of PO creation and PO change is through inbound IDOC posting.
    I created a PO with configured MM pricing procedure.
    While creating PO, the PO is created as required with different Condition Type value break-ups [PBXX, Discount, Surcharge etc] in the PO as required via Inbound IDOC processing.
    While CHANGING the same PO, the Condition Type break-ups [i.e. pricing related values] in the PO are NOT changing in the PO via Inbound IDOC processing.
    What needs to be done to update the Condition Type break-ups in the PO while changing PO through IDOC processing process?
    This problem is not occured while manual / on-line changing of PO valueS and saving the PO & exists through IDOC processing method ONLY.
    Thanks in Adv,
    RK

    Hi
    Try this function module
    FM RV_CHECK_CONDITION_VALUE
    Regards
    Hareesh Menon

  • VKP0 is not to be maintained as  mandatory condition while creating IDOC

    We have a very awkward need from our client.The bussiness doesnt want the condition type VKP0 to be mandatory condition while creating IDOC for article master data.
    In the bussiness terms they send some articles to POS without creating price.They dont want to have the value of KONWERT field as 'ZERO'..
    We have upgraded ECC 5.0(IS Retail) to ECC 6.0(IS Retail).It was techinical upgrade hence no functional configuration has been done.
    Moreover we have compared POS outbound profile in ECC 6.0 with ECC 5.0.Every configuration is same and all required prerequisites for POS Outbound profile are same in both the versions.The Idoc in ECC 5.0 is getting created even though the price of the artilce is not required to be mainatained.
    All of us know that if prices are not maintained system shows'X' mark in price field in T.Code WPER2.
    But,instead the IDOC is getting created in ECC 5.0.
    Please help us to make the IDOC creation possible in ECC 6.0 even without  creating the price.
    Edited by: ajay das on Nov 15, 2008 8:00 PM

    Hello Ajay,
    Are IDocs for other transactional data getting created? In case these are, you can try to check the message control settings.
    Regards,
    Nimish

  • Use of Condition update while creating Condition Records

    Hi Experts,
    I have to maintain MRP for a product which will be applicable for only 1 particular order. after which system should pick up old MRP.
    By using CONDITION UPDATE feature , i have tried to do it , but once maintained , its always picking new MRP for every order.
    (If it being a record where only new price to be defaulted in one order and no need to create 2nd order , this is ok ., but not in my case)
    Can any one suggest me how to go with this
    Thanks in advance,
    Jignesh

    Hi,
    This can be done using the CONDITION UPDATE
    In the condition type check the CONDITION UPDATE AND SAVE IT
    While creating the CONDITION RECORDS, maintain the values and click ont he ADDITIONAL DATA (F7) then maintain the value in the field MAXIMUM NUMBER OF ORDERS , PUT The sales order as 1.
    Then try
    Please revert if you need further details
    thanks,
    santosh

Maybe you are looking for

  • Questions about LabVIEW

    Dear support team, Could someone please respond to Eric's questions? Eric works at Bonneville Power Administration and they are gearing up for another major LabVIEW and DSC project. He may have LabVIEW 7 beta. I am on my way out of town for two weeks

  • Mac OS X 10.3 Panther

    Help I've lost my system dvd's Please can anyone suggest where I can obtain replacements. ( Besides Apple, They say they have none) Thanks.

  • When I try to charge the phone it says for faster charge use original cable

    Just got my Note 3 late yesterday afternoon. When I try to charge the phone it says for faster charge use original cable and that is what I am doing. Even tried a different charger and it says the same thing so I have not been able to use my phone at

  • Import  data  from cluster PCL1

    Friends,         I require  your   help in understanding   how  do we  know   what  all  the  tables   are  attached to  cluster  PCL1. secondly how   do i identify the key   for  a perticular  table and  the  data  area. for  example  in the  below 

  • Multi computer setup

    I own a G5 imac and a G3 imac. I have just bought a single-user version of iWork from Amazon. I bought a single-user version as I had read that iWork 06 would not operate on a G3 imac. However, when it arrived, I decided to try it on the G3, and it d