Validation Condition: value zero

Dear Experts,
we try to find a way to set up a validation wich checks:
if the value at item 123 is greater than zero ==> than the value at item 456 should be greater than zero as well.
We thought about a condition but we cannot set up a condition, that contains a certain value. We tested the following formula:
CONDITION (LC_YTD(item123)>0) ==> LC_YTD(item 456) >0
With this formula we receive the error message that "Formula element does not match type BOOLEAN".
Do you have any idea, how we can do this validation?
Thank you!
Regards
Katharina

Hi Katharina,
You may try the following:
LC_YTD(item123)>0 AND  LC_YTD(item 456) >0
or
LC_YTD(item123)>0 ==> LC_YTD(item 456) >0
Edited by: Eugene Khusainov on Jun 1, 2010 10:06 AM

Similar Messages

  • Condition Type value -Zero

    Dear all,
    One of my Requirment will fullfill...by entering the Condition value ZERO(0)
    But if i try to enter the value Zero..the value is disapperring.
    Thanks in advance
    regards
    raj.

    Dear Lakshmipathi,
    with  the ref of this thread Milestone Billing(100% ED)..
    i maintained the Header condition type and iam maintaining the value in Billing level.first invoice i'll maintain in header level Full  amount so that system will caluculate full taxes..in 2nd milestone  i need to maintain the doc value as Zero...so that taxes will not come againg.
    Thanks in advance
    Regards
    raj.

  • How to update condition value using e1edp05 segment during order creation

    Hi,
    I have a requirement where I need to update the item level condition value (komv-kbeter)  to the condition type (komv-kschl) from the incoming idocs (orders05).
    But  the same is configured  in such a way to populate automatically with the default condition value zero during the order creation level using VA01 at condition tab.
    I am able to populate condition values from incoming idoc using segment E1EDP05 which is good, but it was getting created as new entry with the same condition type  instead of updating the condition value to the existing condition type(which got populated from automatically from configuration) .
    So I want to restrict to one entry instead of two with same condition type. Is there any userexit/gap to restrict automatic population of condition type thru programming or to update with idoc (orders05) value rather than inserting as new row?
    My client doesn’t want to restrict the pricing automation from configuration. So I have to handle through programming level.
    Your  inputs are appreciated

    It doesn't really matter if it's a credit/debit memo, it's the same transaction anyway and pretty much the same functionality. What is your requirement exactly? Do you always have to override the price from Siebel or, let's say, some price is automatically proposed and you might or might not need to override it?
    We use a custom (Z..) condition for price override. When a material is entered in VA01, some price (condition PR00, for example) is assigned automatically. Then, let's say, a special price has been negotiated with this customer just for this purchase. So the user goes into Conditions, types in condition code Z... and types in the new price. This basically annuls the previous PR00 condition. I'm not a functional consultant and can't give you all the config details, but your SD person should be able to help.
    I'm still positive that conditions cannot be removed or changed by IDoc. One thing I would suggest for your situation: do not create ZCD2 condition initially and then just add ZCD2 condition when you receive the data from Siebel. Otherwise it seems that you would have to write a user exit or a requirement to deal with the duplicate conditions.

  • Condition value routine getting value zero at header level.

    Hi Gurus,
    I am trying to create one condition value routine in which I am passing xkwert = ( wa_vbap-cmpre * komp-mglme ) / 1000.
    The condition works fine at item level where I get condition value as desired but at the header level, where it should show sum for all line items, it is showing 0. When I debugged, I found that somewhere in standard program, where it sums for line item, it is changing to negative and that is why it is getting zero but I was not able to correct it.
    I am writing the code as follows.
    DATA: wa_tab TYPE c LENGTH 1000,
          I_VBAP TYPE STANDARD TABLE OF VBAP,
          lv_komv like xkomv,
          WA_VBAP TYPE VBAP.
    FIELD-SYMBOLS <f1> TYPE ANY TABLE.
      UNASSIGN <f1>.
    wa_tab = '(SAPMV50A)XVBAP[]'.
    ASSIGN (wa_tab) TO <f1>.
    IF sy-subrc = 0.
       i_vbap[] = <f1>.
    ENDIF.
    READ TABLE i_vbap INTO wa_vbap WITH KEY posnr = komp-kposn.
    IF sy-subrc = 0.
       xkwert = ( wa_vbap-cmpre * komp-mglme ) / 1000.
       CLEAR wa_vbap.
    ENDIF.
    CLEAR: I_VBAP,
            lv_komv.
    What should I do? please help.
    Regards,
    Manish

    I found the solution.
    If xkwert is initial.
    xkwert = gkomv-xkwert.
    endif.
    Regards,
    Manish

  • Condition values and validity periods of a Scheduling agreement .

    Dear Friends,
    I have one querry .Where does (in  Database table) ,  the condition values and validity periods of a Scheduling agreement stored .
    Thanks and regards in advance.
    Vijay.
    Edited by: vij kot on Sep 9, 2008 12:09 PM

    Hi,
    Refer Tables
    KONH - Condition Header
    KONP - Condition Item
    KONV - Conditions (Transaction Data)

  • Condition value is zero in TAX procedure TAXINN

    Dear All,
    Myself in an implementation project. Have configured CIN. There is a problem in Tax procedure.
    Our access sequence is tax classification.
    In PO i have mentioned the tax code and when i click taxes button the condition value for BED condition type is ZERO. (actually it should be 200 INR). But the calculation thereafter is correct. ie, Primary education cess on BED is 2% on BED is 4 INR .
    Expecting your valuable suggestions..

    hi
    please check following details
    J1ID for material
    condition maintain in FV 11
    GL assigned in OB 40 for tax code
    tax code assigned to company  code
    Regards
    sangita

  • Condition Value in a Field of Service Request

    my problem is this:
    I want to insert a condition Value to a field(Long text) called "Recapito per il ricontatto".
    Condition is this: I have another field called "Canale di Ricontatto" (Picklist) that have 4 choices: Telephone,*E-mail*,*Fax*,*P.E.C*
    Now the condition value of "Recapito per il ricontatto"(Long Text) is this:
    IF "Canale di Ricontatto" (Picklist) IS DIFFERENT Telephone(one choices of Picklist) THEN length least 7 characters
    IF "Canale di Ricontatto" (Picklist) IS Telephone THEN no length least.
    NOW in a FIELD "Recapito per il ricontatto"(Long text)field where I must insert the validation field,I put the Default value 'a' and i check the option Default value back and after i write in a validation field:
    IIf([<plCanale_di_Ricontatto_ITAG>] < > LookupValue("OCC_CUST_LOV_SR_3", "Telefono"),Len([<ltRecapito_per_il_ricontatto_ITAG>])>6,Len([<ltRecapito_per_il_ricontatto_ITAG>])>=1)
    But when i choose Telephone and i don't write nothing in a Long Text field("Recapito per il ricontatto") the allert goes out and when i choose another choice and i put for example 'aaaaaaaaaa'(10 characters) the allert goes out again. The allert goes out always.
    Please HElp Me
    Tank you,
    Vale

    I have resolved in this way:
    Default value field (codice ASCII 255) and Ceck default back
    And condition
    [<plCanale_di_Contatto_ITAG>]<>LookupValue("OCC_CUST_LOV_SR_3", "Telefono")AND Len([<ltRecapito_per_il_ricontatto_ITAG>])>6 OR [<plCanale_di_Contatto_ITAG>]=LookupValue("OCC_CUST_LOV_SR_3", "Telefono")AND Len([<ltRecapito_per_il_ricontatto_ITAG>])>=1

  • 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

  • Condition Values not being copied when creating sales order with reference

    hi experts
    i am copy a sales order with reference in va01 , when i copy the order it status is shown as incomplete beacue the condition values in some condition type sis zero, whereas if i delete amount for some condition type and re-eneter it the condition values for all conditon types appears ...
    in all after copying order i go to condition at item level some codition values are zero but if erase amount for any condition type and then re enter it value comes for all condition types

    Hi Sunny,
    Maintain some value against that condition type in VK11.
    This must solve your question. Please set to resolved if it solves your doubt.
    Regards
    Abhii....

  • Tax condition value is not calculating based on condition rate maintained

    Hi,
    I have maintained the condition rate as 4% for a condition type against a tax code in FV11. and also the validity period is correct.
    But when I select the tax code in purchase order and click on taxes button, some other condition value is coming in condition value field for that condition type. for example the PO price is 100Rs. the condition value has to  be 4% on 100Rs that is 4Rs. but some constant value is coming 5, even if change the condition rate in FV11 as 0%, the condition value is coming as 5 only.
    Does anybody faced this issue.??

    Hi
    for example the PO price is 100Rs. the condition value has to be 4% on 100Rs that is 4Rs. but some constant value is coming 5, even if change the condition rate in FV11 as 0%, the condition value is coming as 5 only.
    try this
    change your PO value and then observed the changes ,IF then  your are getting value different than 5 ,then i think there is no problem in your tax  procedure because you are saying after 0% in FV11 also your are get 5 only in PO
    as per me you can not put any constant value in tax procedure ,we only map how tax calculation will below for condition
    and check your condition record for that vat condition again in FV13
    Regads
    Kailas ugale

  • Pricing Condition Value

    Hi All,
    I have a strange issue, where in when we eneter a material into sales order(VA01/Va02), there is a customized pricing condition type which is triggered. But the problem is, the condition base value appears zero and net value is calculated accordingly.  When we save the sales order, the COndition value  appears and net value changes because of this. Initially Condition value appears zero. It is an Item condition. Whet could be the reasons for this discrepancy.
    Thanks ,
    Swathi

    HI,
    Kindly Check your Pricing procedure in V/08 , and also check in Sale order level how system is calculating what is the value is picking based on that you can do the necessary changes in pricing procedure
    Regards,
    Prasanna

  • Modify MVGR4 in formula for condition value

    Hello everyone,
    I want to modify komp-mvgr4 in a formula for condition value. Changes in komp structure are not saved, any idea which field I have to modify?
    Many thanks!
    Andreas

    Sure. I have a new formula for a condition value which checks a lot of things to calculate the condition value. The result can also be zero. In all other cases than zero, I want to set an additional flag on the position to show that the condition is used. For this I choosed the material group 4. Now I have to modify the materialgroup 4 MVGR4 in the formula, if I change komp-mvgr4 is does not save the changes...
    Andreas

  • Value zero in Intercompany Billing document

    Hi,
    I am working on Intercomany Stock transfer with SD billing.
    Every thing is working fine, except the value in Billing document is zero.
    Billing document is generated with value zero.
    I do not find any pricing procedure details in billing document.
    Please let me know the probable reason for this problem.
    Thanks in advance
    Kumar

    Hi,
    Check whether any pricing procedure is assigned to your billing document type.
    The path is:
    SPRO>Sales and Distribution>Basic functions>Pricing>Pricing Control-->Define and Assign Pricing Procedures.
    Assign document pricing procedures to billing types.
    Check what is the customer pricing procedure assigned to your customer.
    Next Goto "OVKK" T.Code.
    Check for your Sales area and all other valid combination wheter the procedure is assigned or not.
    Regards,
    Krishna.

  • How to fetch the condition value per line item in PO o/p

    Dear Experts ,
    I need to fetch the value of the all valid condition types in the PO item , for its o/p .
    For this i should know
    1.what all are the  condition types involved in the item .
    2.what is the condition rate
    3. what is the condition value .
      Pleas etell me how do i fetch this data ??
    Thanks in advance
    Regards
    Anis

    Hi Anis,
    At first collect the doc.condition-KNUMV from EKKO table.
    Later enter the above doc.condition no in KONV and KONP to get the details.
    Regards
    Ramesh Ch

  • Condition value (KWERT) in RED for sales order pricing

    Hi,
    Please advise as I find the condition value for my base price is showing up in Red color, which finaly leading to decide Net price.
    I have my access sequence at customer parent and customer child level. I have record aslo maintained at both level when it determines in sales order item conditions tab it shows both the price one in black color for customer parent (inactive) and another one in customer child level RED color (Active).
    Example -
    Base price -  records
    customer / MPG = record matianed $100
    sold to (customer child)  / MPG = record matianed $90
    Now in sales order condition tab  both price show up but $90 is valid and active but in RED color.
    Advise what is the reason and do we need correct some thing.
    thanks

    Hi,
    Could some one advise why do we see some time both the condition record data even though first access has found the data.
    we had record for customer hierarchy parent and sold to at lower level of hierarchy but if we maintain both the recprds it is showing twice the same condition type to show both records.
    Advise how can we resolve.

Maybe you are looking for

  • Windows Vista - iTunes not recognising iPod!

    iTunes is not recognising my iPod and the iPod Setup Assistant isn't showing automatically. Can anyone help. I have a new laptop with Window Vista is this operating system the problem? Can help would be appreciated. I can import music into iTunes OK

  • RSA Decryption Error - Illegal Use

    Hi there, i have a crypthographic problem using a JavaCard application and a Java host application. On the card i create a cipher object and a private/public key: Cipher cipher = Cipher.getInstance(Cipher.ALG_RSA_PKCS1_OAEP, false); KeyPair kP = new

  • Work flow for PO release

    Hi Friends , Error processing following event linkage , I am unable to sort out . There is no workflow consultant in our project . BUS2012 RELEASESTEPCREATED WS91800001 Following error occurred: WD 274 WS91800001 Message text: Workflow definition of

  • Carriage returns in acl's

    We have a long list of IP addresses that we added to an ACL. Can we breakup the line so that it can be seen all on one page instead of one line? Thanks

  • Java Programming Guidance requested

    Hi guys, Hey could you guide me on getting started to java programming on a fast track. i have got very familiar with all the concepts and fundamentls of the language but still dont feel confident.Can any one suggest me where i can have sample codes