VOFM : formula for condition type variant wise

Hi All,
In Pricing condition we have two variants and the example is as follows.
ZLOL C 450.00 INR 1 EA 1,350.00 INR 1 EA 1 EA
ZLOL D 250.00 INR 1 EA 750.00 INR 1 EA 1 EA
Formula : XKWERT = xkomv-kbetr * xkomv-kumne
We have applied the above said formula in VOFM tcode and change “UOM” From EA to CN and “CConDe” field to 2 for variant C. The result is as follows.
ZLOL C 450.00 INR 1 CN 900.00 INR 1 EA 2 CN
ZLOL D 250.00 INR 1 CN 900.00 INR 1 EA 1 CN
Here the condition value result is reflecting for both the variant and not for only variant C. We want amount should differ for given quantity variant wise for the given condition.
Please guide.
Thanks !
Mandarr

Hi rishi,
Just read the existing Routines which all relvent for tax in 300 series and copy the suitable one and add the requiremnts accordingly.
If helpful reward
Regards
Naren

Similar Messages

  • How assign formula to condition type??

    I have a condition type with calculation type G (Formula).  I know that formula is calculated in VOFM, however, how to assign this formula to Condition Type??.
    Thanks in advance.

    hi,
    you have to create one additional cond type for the result. let say ZZZZ,
    then go to VOFM ->formula-> condition value-> create new routine
    this the code,
    DATA: xkomv_ZCSA TYPE komv_index, A TYPE WMTO_S-AMOUNT,
    xkomv_Z001 TYPE komv_index,
    xkomv_Z002 TYPE komv_index,
    xkomv_Z003 TYPE komv_index,
    xkomv_ZZZZ TYPE komv_index,
    xkomv_old TYPE komv_index.
    CLEAR: xkomv_Z001, xkomv_Z002, xkomv_Z003, xkomv_ZZZZ, xkomv_old.
    xkomv_old = xkomv.
    READ TABLE xkomv WITH KEY kschl = 'Z001.
    IF sy-subrc EQ 0.
    xkomv_Z001 = xkomv.
    ENDIF.
    READ TABLE xkomv WITH KEY kschl = 'Z002'.
    IF sy-subrc EQ 0.
    xkomv_Z002 = xkomv.
    ENDIF.
    READ TABLE xkomv WITH KEY kschl = 'Z003'.
    IF sy-subrc EQ 0.
    xkomv_Z003 = xkomv.
    ENDIF.
    READ TABLE xkomv WITH KEY kschl = 'ZZZZ'.
    IF sy-subrc EQ 0.
    xkomv_ZZZZ = xkomv.
    ENDIF.
    CLEAR : XKWERT.
    A = ( XKOMV_Z001-KWERT + XKOMV_Z002-KWERT +  XKOMV_Z003-KWERT ) / 3.
    A = A * 100.
    CALL FUNCTION 'CURRENCY_AMOUNT_DISPLAY_TO_SAP'
      EXPORTING
        CURRENCY = XKOMV-WAERS
        AMOUNT_DISPLAY = A
      IMPORTING
        AMOUNT_INTERNAL = A.
    MOVE A TO XKWERT.
    xkomv = xkomv_old.
    AFTER THAT activate this routine, the put this routine in pricing procedure for condition type ZZZZ.
    it'll works
    point if it's helpful
    Best Regard,
    Hendry

  • How I tie the formula with conditions type?

    Hi,
    Than create the formula with tcode O3I7:
    1) how I tie the formula with conditions type?
    2) how I tie the conditions type with the formula with Calculation Schema?
    help me, please.
    thanks
    Edited by: celeste ziantoni on Feb 5, 2008 6:45 PM

    Hello,
    Pricing formula is created using transaction VOFM. It is tied to the condition types in Pricing Procedure definition in Alternate Calculation Type column. For Pricing procedure, the menu path is SPRO->Materials Management->Purchasing->Conditions->Define Price Determination Process->Define Calculation Schema.
    Thanks,
    Venu

  • Alternative formula for condition base value in cross-application

    Hi,
    I need inputs regarding an issue as:-
    In "TAXINJ" Tax pricing procedure, for a ZXXX  excise related condition type the alternate condition base value (Alternative formula for condition base value) must be of  YXXX condition type of MM Purchase pricing Procedure.
    How to acheive Alternative formula for condition base value in cross-application area as both condition type belongs to different Application area i.e.  ZXXX belongs to TX and YXXX belongs to M.
    One way or only way is thro' routine but I do not know How it works? 
    Thanking you.
    Prashant

    routine is only the best way for u in this case
    u will have to use subtot may be 6 or 4 in MM pricing procedure
    and write a routien in Tax procedure, i n that u will have to write a code where in ur sustem will featch this value in sub total and act a a base for ur cond type in Tax proc for ue condition type.
    what is your excat requirement
    there might be other work around that can help u around
    hope this works
    or write t routines one in MM and Other in Tax proc for ur issues

  • Used of 362 & 363 Alternative formula for condition base value in Define Procedures (Tcode obyz)

    Dear
             what is the  used of 362 & 363 Alternative formula for condition base value in Define Procedures (Tcode obyz)

    362 is used for to pick base value to BASB condition type from MM pricing procedure
    363 is used for all sales tax {VAT (Inventory or set -off) & CST}.
    Tax Calculation on Freight - Different Scenarios
    Please  go through this  link  and  you will know  very well a bout  362 and  363  usage

  • Alternative formula for condition base value -correct  routine

    Hi ,
    We need  correct standard routine number in "Alt. formula  for condition base value " in transaction V/08 pricing control .
    Requirement As follow :
    We have one header freight condition which is header condition and group condition in V/06 condition type setting . Lets Say " ZFRIG " the value in this condition should equally approtionate to all the items in SO .
    Ex: ZFRIG = $100 in SO header
    item 10 = ZFRIG should be  $20
    item 20 = ZFRIG should be  $20
    item 30 = ZFRIG should be  $20
    item 40 = ZFRIG should be  $20
    item 50 = ZFRIG should be  $20
    Suitable standard  routine solution  will be appreciated.
    Thanks in Advance
    Sunil

    Hi ,
    Without any Routine it adds $100 to all the line iteam , so total fright discount becomes $500.
    Thanks and regards.
    Sunil

  • Unable to manually change the amount for condition type PB00

    Hi Gurus,
    My client is using ECC5.0.
    Here when I try to change the amount for condition type PB00 using transaction ME22N, I am not able to change the value. I donu2019t get any error, but as soon as I change the value and press Enter the system replaces my entered value with the original value.
    Confusing part is that I am able to change the amount of condition price PB00 manually using transaction ME22. I donu2019t have any such problems there.
    Also I am able to manually change the amount of condition type PBXX using ME22N.
    Only in the case of PB00, if I use ME22N to manually update the amount I am not able to change it.
    Kindly help me, to find a reason as to why this could be happening, and correcting if possible?
    Thanks in advance,
    Imran

    Hello Imram,
    The purpose of maintaining 2 condition types  ie PB00 and PBXX in  a pricing procedure is that PB00 is automatic gross price determination and PBXX is manually giving gross price.
    If you go to T.Code : M/06 and check the condition types, you can see that PB00 will be having an access sequence but not PBXX.
    So if you have to manually give the gross price, you have to use PBXX.
    Regards

  • Requirements not fullfilled for Condition type - Pricing Procedure

    When I am doing the pricing procedure, the error thrown is "Requirements not fullfilled for Condition type". Can any one suggest how to fix this problem ?

    Hi Sunil,
         Please first of all check the condition type in Pricing Procedure. In condition type column check the requirement. Here conditon is,  once requirement is fulfilled which you have mentioned in the condition type then only it will be executed. Take a help of  ABAP'er regarding this requirement if it is customized requirement.
    We should know the purpose of requirement in condition type.
    Venkat.

  • Currency conversion issue for condition type

    Hello,
    I am creating two invoice document.
    1. Customs Invoice (ZCDS)
    2. Inter company invoice.(IVA)
    both the invoices should be similar. Same pricing procedure is used to create both the documents but in Customs invoice YUMU condition type is not getting converted whereas in IVA the condition type is getting converted. Can anyone tell me the possible reason for this?
      ZCDS
    IVA
    Regards,
    Jagjeet

    Hi Jagjeet,
    For IVA invoice type -(For condition type- YUMU)
    Below highlighted part of code is changing KSTEU from 'E' to 'C' for IVA invoice using std prog RVIVAUFT.
    For ZCDS Invoice Type -(For condition type- YUMU)
    Program RVIVAUFT is not called since ZCDS is not trigerried using Output type unlike IVA.
    Hence KSTEU is not getting updated from 'E' to 'C' in case of ZCDS.
    To solve your problem write code in User exit - userexit_pricing_copy to change  konv-ksteu to 'C' for YUMU condition type at runtime.This will definately solve your problem.This will ensure you get correct/same condition value for IVA and ZCDS...:)
    Regards,
    Vikas Mulay.

  • Authority check in for condition type

    Hi
    What do you mean by an authority check on condition type.. especially Pricing..
    There are authority check that are embedded as Reqt and AltCTy in the IMG at the pricing procedure level for different condition type.
    Could someone explain me what they are for..?
    Thanks
    Jac

    Hi,
        authority check is the std sap methodology of check the permitted authorisation values for every transaction  and every user.
    here in this example;authority object is used to maintain or change condition record for allowed condition types.
    scenario eg;if we maintain create value for user mukund for pr00 condition type ,system allows me only for creating .if we maintain change value for user sherin for condition type,system allows to change the values.
    net net i can create and u can change ,not visa-viz or any body else cannot do it.
    hope this is clear.if it helps  REWARD!!!!!!!

  • Restriction for condition type

    Hi,
    I want to restrict some users to do not change the basic price (PR00) in sale order (VA01/VA02), Plz let me know how I can do this.
    regards,
    sps.

    The objects concerned have to be:
    V_KOND_VEA Maintain condition: Auth. for use/appl./cond.type/table -- (Deals with condition records)
    V_KONH_VKO Condition: Authorization for Sales Organizations
    V_KONH_VKS Condition: Authorization for Condition Types
    But in the standard system VA02 has these objects set to No check in SU24. You may have to modify this to Check/maintain and then maintain the values in the users role. Like you can have:
    Object : V_KONH_VKS Condition: Authorization for Condition Types
    Condition Type: PR00
    Actvt : 03
    Thanks & Regards
    JP

  • Why not all billing documents are posted to CO-PA for condition types?

    Hello!
    I have following problem.
    In transaction KE4I I have configured several condition types to post for specific value fields.
    For some billing types it works but for some doesn't work.
    For all domestic invoices it works but for abroad invoices it doesn't work.
    Billing documents for abroad invoices are also posted to CO-PA but for another value fields, not for that I expect.
    Where is problem?
    I am waiting for help.
    Best regards
    Bogdan

    Hi.
    In both pricing procedures there are same condition types. The only difference was check box "Condition is used for statistics".
    After marking this check box it still doesn't work.
    There are placed the same condition types in all billing documents (domestic and abroad) . So I am supprised that for domestic billing documents field value in CO-PA is calculated for condition types placed in KE4I.
    But for abroad billing documents the same field value is not calculated for the same condition types placed in  KE4I.
    Where is a problem?
    I need help.
    Best regards
    Bogdan

  • 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

  • Provision account key missing for condition type FRA1 in schema ZIMPOR

    Hi,
    While maintaining the condition value in PO, the below message displayed.
    "Provision account key missing for condition type FRA1 in schema ZIMPOR"
    Thanks and regards
    Murugesan

    Go to
    Spro>MM>Pur>Conditions>Define Price Determination Process>Define Calculation Schema
    here select ZIMP and click control data
    in that maintain "Account key" for FRA1 cond type in the Account key Column..
    (Second column from right side)

  • Account determination for condition type

    Hi Guru,
    I have  requirement where I  need to assign G/l account in VKOA for condition type used for discount and markup same time. I know I can aasign trade discount to this condition type but how about markup. can we assign two diffeent account to same condition type based on uses.
    Thanks

    This is pricing conditions not condition type like KOFI. The pricing condition are like base price, discount , markup, special custmer discount, ect. You can see these contions in sales order under condtion tab. My issue is there one condtion that user use some time for discount and some for mark up and requirement is when this condition is used for discount, it post to one account and if used for mark ,should go to different accoount. In VKOA  sequence 501, we can only assign one account to one condition. if some one know how to assign two G/Ls to one condition .

Maybe you are looking for

  • Firmware downgrade helped - for what it's worth

    For quite some time now I experienced problems with my WDS Airport network at my home office (Airport Extreme base and Airport Express remote - NAT provided by OS X Server 10.3). My MacBook Pro would have problems staying connected to my Airport netw

  • Stored Procedure issue

    I have this stored procedure to check if someone ordered a Cancellation date on the line before cancelling it but when i try to add another condition where it should also check for cancellation code it fails. It works if they are individually used. A

  • Pages and hyperlinks

    I am working on a manaul in Pages which includes a list of people with e-mail addresses and websites.  Although they all work some are in blue and others are in black.  I can not go in manually and change the color in fonts, I know there has to be a

  • How do I save an image as a pdf

    I am a dummy when it comes to MAC. How do I save an image (document) as a PDF? I am trying to send it to someone as I have downloaded it and do not know how to change to a pdf.

  • What is the best porxy server to use in MIDP

    i need a link or a softwear name for a proxy server that work best with the httpconnection of the MIDP profile. (by the wey why do i need to cinfig a proxy server anywey?) thanks itzik