PO condition type calculation formula.

Dear there,
      Hallo, i going to develop a customize create Purchase order screen (same like ME21n), and i facing a problem in the condition type calculation part, because i dun know how to get the formula of each condition type calculation so i cannot calculate the price for the PO ,
     Is there any menthod we can get the formula for each condition type ? or any standard function we  can use to calculate the price instand of using coding to calculate it?
THanks

Hi,
Hope this link will help you. Condition Type Formula--G

Similar Messages

  • Condition Types : Calculation Type Change from A (percentage) to B (fixed )

    Dear All,
    We created a condition type (Calculation Type : A (percentage) ) and assigned access sequence and maintained in pricing procedure but later decided to change the calculation type to B (Fixed Amount) on this condition type.
    I am wondering, what impact it will have ?? Can I simple change the calculation type on this condition type or should I take care of any thing else ??
    Let me know, What things I have to take care of.  Thanking you.
    Anu.

    Hi Anu,
    No need of worry if it is independent condition type, means other conditions are not depending on it OR it is not depending on others.
    Also check the condition records if they have any impact.
    Else not a big issue, simply go ahead.

  • Pricing on PO - Condition type with formula

    Dear friends,
    I've one condition type with calculation type (KRECH) set as Formula.
    For the calcutation of this condition I need to set this formula: Value = (Gross Price + Freight) * 0,0035
    Can you please tell me how can I se this condition as required?
    Thanks in advance,
    Afonso Pereira

    Hi
    I have never tried this calculation type - G formula,
    But in the pricing procedure config, there is a field Caclulation type whcih is used as Alternate calculation type.
    You can createa new routine ( nothing but a logic based formula) for caclutaion and assign that to the new condition type.
    This will ensure that if your gross price condition and freight are present then this condition type gets automatically calculated and get populated in the PO conditions.
    For routine creation you need to take help of Abaper.
    Routines are craeted in transaction VOFM
    Thanks & Regards
    Kishore

  • Shipment Cost: Group Condition Type calculated on a special weight...

    Here is the scenario: A shipment (truck) combines multiple deliveries, grouped on a stage when same destination (happens often).
    A condition per LB is to be calculated on the cumulated weight per destination (per stage) BUT not simply on the gross weight, but on the heavier of 2 special weights: the business here uses a special formula according to the packaging, and it gives 2 weights (stored in Z fields of LIKP), an actual weight and a cubic weight.
    The purpose is to identify for each delivery the heavier weight and to use cumulated the weight across the deliveries to the same destination to calculate the per CWT cost.
    This is my first issue: the condition type is defined at Delivery calculation base, Calculation Type Multi-dimensional, and as a group condition). How do I define to use the cumulated of each delivery heavier weight ? In the Scale for condition type view, I used the scale basis D Gross Weight (which is not right..), there is also a field for a Scale Base Value formula, I wondered if that is what I should use..
    My 2d issue: once the cost is calculated, I have to re-distribute it on the deliveries as per the proportion of their heavier weight compared to the total weight used for the calculation…Should that be an alternate Condition Base Value formula in the pricing procedure (where xkwert would be….the heavier weight….would that be then a new Z field to be filled in by the user exit determing the heavier value) ??
    Thanks a lot, it is a tough one, I know...who is the best ever shipment cost pricing consultant ? !

    Hi Guys
    Unfortunately I do not think that you will get an answer now. Either your question is not simple or we do not know.
    So in the interest of keeping the Forum tidy and easier to surf through could you please close your thread and either try one of the other forums or try another post. I do not think that most people will bother to look this far back anymore.
    Sorry I cannot help as I would if I could.
    Regards
    Frenchy.

  • Pricing Condition type controls- Formula and condition records

    Hello experts
    I have one question in pricing.
    Is it possible to determine the value of a single condition type by means of the maintained condition records vs a formula depending on the scenario?
    Eg- In my case for the requirement is:-
    If in my sales order the item category is X or Y then i need to use the condition records to determine the value of the condition type  say ZCON but if the item category is Z then i need to use a custom formula?
    Can this scenario be achieved using only one condition type with the appropriate formula or do i have to maintain separate condition types to achieve it?
    Thanks for your inputs.

    I believe it can be achieved with the single condition type. Since the routine assigned in the Requirement in pricing procedure controls the system's access to condition records...create a new VOFM routine which should check the item category and if satisfied, the condition records will be accessed.
    If the requirement fails and a value is not determined, the routine in the alternate calculation type should handle the calculation (based on PR00 value etc.,) and determining the value for this condition type. If not possible this way, should be able to handle this requirement through a userexit.
    Your condition type should be configured allowing both automatic and manual entries.
    This is just a wild guess.

  • Va01 condition type calculation

    1 want the net value to be the total of all condition tyoe amounts on the condition tab. at the moment it is only summing up the total of two condition types even if there are more than 2 condition types

    Hi,
    These settings are done in the Pricing procedure related to the sales order.
    GOTO --> Header --> Conditions --> Click on the Aalysis tab at the bottom.
    Get the pricing procdure from the next screen.
    Transaction --> VoK0 --> display the pricing procedure.
    click on the controls - you will find the list of condition types related to this  pricing procedure.
    Check the column for total which indicates which all condition types to be added.
    I think here you should  take help of Functional Consultant and get this resolved. Its all related to settings.
    Hope this helps..
    Regards,
    Shahu

  • Ranch Billing, the excise condition type JMOD calculation is wrong

    Hi
    I wish to know that in case of Branch Billing, the excise condition type calculation is wrong!!
    I am surprised and unable to know how it could be?
    In billing document display (T.code VF03) , Out of 3 Line items, Basic Excise Duty of 2 line items/ Materials were wrongly calculated.
    i.e. In Item level Condition Overview---> the excise condition type JMOD --> details -->
    Amount                   10.000  %
    Cond.base value            79,077.85  INR
    Condition value             5,733.14  INR
                                                                                    Alt.calc.type   355
    Ideally, It must be 7907.85 INR instead of 5733.14 INR wrong value.
    Please help me to know the possible reason.
    Thanking you.
    PP

    Check the condtion value in condition type UTXJ . If the JMOD value is 10% of UTXJ then assessable value should have been maintained for the Material and Plant combination in J1ID. This is due to Routine 351 maintined in pricing procedure for the condition type UTXJ
    check and confirm
    Senthils

  • Limits in Condition Type

    Dear All,
    I want to maintain limit in value for a condition type like in ED, CST & Freight, for the particular condition type calculation is based on fixed amount or in quantity level.
    1. I have made it in SPRO---MMu2014Purchasingu2014Conditionsu2014Define limit. There I made it for a particular condition & calculation type taken as on qty basis & given the lower & upper limits & also maintain for a particular Unit of measure.
    2. So it is working fine in PO for that particular UOM.But I want apart from that I want to calculate on all the UOM.
    So for this do I need to change my configuration or what I am doing is correct?
    Pls suggest.Your help will be counted.
    Regards,
    DD

    Further addition to my reply,
    You will be able to work with other UoM's for your setting in certain cases where conversions are in place (in material master records etc.,)
    Example:
    1) Material: M1, Base unit: PC, OPUN: PAC,
        Conversion defined in material master record: 1PAC=10PC
        Now if you have defined limits for UoM=1PC, It will directly apply to UoM=1PAC and you will not need to make any further settings for UoM=1PAC. (In this case you have to carefully select the UoM so that your original purpose is served).
    2) Material: M2, OPUN: PAC, Conversion: not defined between PC & PAC
        Now the same setting (as above) for UoM=1PC will not apply to material M2 because conversion is not defined. In this case either limits have to be defined for UoM=1PAC or conversion should be defined at a suitable place. you have to choose according to your requirements.
    Note: The above example is a scenario with just 2 materials in reality you will have much more than that, so you have to be very careful in choosing a UoM for defining the limits of the value of a condition.
    I hope this explains it ,
    Prithviraj
    Edited by: Prithviraj Talekar on Dec 2, 2008 8:27 AM
    Edited by: Prithviraj Talekar on Dec 2, 2008 8:28 AM

  • Calculation formula userexit not working for multiple condition types

    Hi,
    we have a problem in the CRM ISA-B2B scenario where the custom user exit is only working for single condition type.
    but we need it for multiple condition types .
    the value of the subtotal is not being retrieved for multiple conditions. at a time only one condition value is being retrieved and shown in the webshop - shopping basket.
    for ex:
    we have scenario 1 where Y001 -Freight condition type is applicable for one customer.and Y002 is applicable for another customer.
    when we are trying to show the subtotal condition value in the webshop by using a single custom user exit in the pricing procedure it is only working for either of the above 2 customers depending on the VMC cache status.
    is there any problem if use the single user exit for both condition types?
    and if it needs to be differentiated how exactly we can do that with the same logic in the java class.
    Thanks in advance,
    PSR.

    Hi Arshi,
    below is the code:
    public class ZValFormula_ZZWI1 extends ValueFormulaAdapter {
         private static String zzwi = "ZZWI1";
         private static char  zzwiC = '@';
         private static UserexitLogger userexitlogger = new UserexitLogger(
         ZValFormula_ZZWI1.class);
         public BigDecimal overwriteConditionValue(IPricingItemUserExit item,
                   IPricingConditionUserExit condition) {
              ICurrencyValue val = condition.getConditionValue();
              userexitlogger.writeLogDebug( "value saved for " + zzwi + " (" + zzwiC + ") = "
                        + val.getValueAsString());
              item.setSubtotal( zzwiC, val.getValue());
              return val.getValue();
    hope this would give more idea to look at the problem.
    Thanks,
    PSR

  • Quantity based condition type for excise duty  calculation in tax procedure

    Hi,
    If any one has worked on the issue of excise duty  calculation on Quantity of items purchased Quantity based condition type.
    [<b>For a formula based calculation procedure TAXAU]</b>
    Example : If quantity purchased = 10 units
              Duty to be calculated @ Rs.3 per unit
              Duty on the 10 units = Rs.30
    Other than SAP Note 816835 any help is appreciable.
    Thanks a lot,
    Uma
    Message was edited by: Uma

    I could not find this condition type/Tcode  in our client system.
    Even we are on 4.6c.
    Thanks,
    Message was edited by: Uma

  • Wrong calculation for condition type for misc. provision in service PO

    Hi Gurus,
    In service PO line item, we have maintained customised condition type for misc provision. this is % based on net price. It has been assigned account key and accrual key. It's manual. Logically, it should calculate the value based on the total of the net values of all service lines and post a single entry for all concerned service lines. What system is actually doing, it calculates the value correctly for total of net values of service lines in that PO line item but post it to the account as many number of times as the number of service lines in that line item.
    This is when service based IV is active for the PO line item. If I deactivate this, then it post the account once only which is ok.
    Please explain this behaviour. Also, I want to activate service based IV, what should I do to this condition type. Is there any condtion base formula or condtion value formual to be assigned in the pricing procedure?
    Thanks in advance,
    Sudhir Dahake

    Hi,
    Check if some user exit/ routine is written for the condition type.
    Check user exit RV60AFZZ, RV60AFZA, RV60AFZB,RV60AFZC for some code.
    If it is a manual condition check COPY CONTROLS or if it is automatic check condition records from which it is calculated based on qty, price, material type, etc.
    Regards,
    Amit

  • Condition Type Formula--G

    Hello All,
    What is the calculation type Formula used for? how is it used?
    plz explain with some examples?
    Thanks,
    Viren.

    Dear Viren,
    The fallowing scenerios you need to use Alternative calculation type.
    When the condition type need to calculate the value other than the standard procedure you need to maintain Alternative calculation type.
    Example :-1
    VAT Rounding
    Use
    When you present a customer in Slovakia with an invoice in a foreign currency, the system rounds down the koruna VAT amounts, but not in the foreign currency. When you carry out pricing in Sales and Distribution (SD), SAP R/3 automatically does this for you.
    Activities
    Customizing
    For each of the VAT condition types used in the pricing procedure, set the rounding rule to rounding down. You do so in Customizing for SD, by choosing Basic Functions --> Pricing --> Pricing Control --> Define Condition Types --> Maintain Condition Types. In the Rounding Rule field, enter B (Round Down).
    In the pricing procedure itself, assign a rounding rule to each VAT condition type. You do so in Customizing for SD, by choosing Basic Functions --> Pricing --> Pricing Control --> Define and Assign Pricing Procedures --> Maintain Pricing Procedures. In the VAT condition types, enter 174 in the AltCTy (Condition Formula for Alternative Calculation Type) field. This rounding rule instructs the system to round these amounts as described above.
    Example 2 :-
    Other Taxes
    Definition
    In certain exceptional circumstances it may be necessary to record alternatives to the standard calculation of taxes for an employee.
    The Other taxes (Infotype 0235) record may be used for any tax authority.
    Tax types
    All tax types except withholding tax are displayed and may be adjusted for the particular authority. You may either alter the calculation of the tax by changing the formula used, or exempt an employee entirely from a tax.
    Any change you make here will override the standard calculation of the tax.
    I hope it will help you,
    Regards,
    Murali.

  • 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

  • MWST Calculation on Z condition Type

    Hi,
    We have a requirement for tax calculation as follows:
    PR00                                        100
    ZR00 (60 % of PR00)              60
    MWST (10 % on ZR00)            6
    Total (PR00 + MWST)               106
    Our question is how we can achieve the tax calculation to happen on ZR00 ? Currently tax is getting calculated on PR00.
    The MWST has the following standard settings:
    MWST - Requirement                                                      - 10 &
                 Alternative formula for condition base value     - 16
    Please help !
    Regards

    Hello,
      try with this:
    - if you haven't already done, define a condition record for MWST condition in VK11 with the desired percentage;
    - in the pricing procedure maintenace remove the alternative calculation formula corresponding to MWST condition;
    - always in the pricing procedure maintenance, in the field "From" of the record MWST, enter the "Step" number corresponding to condition type ZR00;
    Hope to be useful.
    Best regards,
    Andrea

Maybe you are looking for

  • Mail box font is TOO BIG (maverick OSX)

    hi: i sadly just upgraded to the new osX. all sorts of problems and as usual no simple chat to ask direct questions. even though i got it from app store.  no chat options are showing... for me. apparently they are suppose to. so maybe someone in the

  • Oracle OpenWorld and JavaOne Are Combined This Year – Book Hotel Early

    Hi All, Just noticed that the JavaOne conference is happening the same week as OOW this year. I just booked my hotel. Think SF hotels will sell out early with both of these conferences at the same time. The good news is even if there is not a good Si

  • Error running Table Definition (cktci) Repository Report in Designer 10G

    Hi There seems to be some internal limitation when running the Table Definition Repository Report (cktci). We have over a thousand tables defined in Designer and if I try to run the report for all tables it falls over with the reports.log saying REP-

  • Dynamic TileList + Images

    Hi all I made a tile list inside tab navigator both dynamically.. now I want Images whose URL is in XML to displayed according to tab change. problem is taht I m not able to display images on tilelist ..just url of images is coming correctly... some

  • Auto mount of USB sticks and hard drives?

    Hello. I'd like ArchLinux to auto-mount USB sticks, hard drives, etc... when plugging them in. How do I manage to do this? These are my daemons: DAEMONS=(syslog-ng network netfs crond dbus hal ntpd alsa gdm) Thank you in advance. EDIT: Somehow, autof