Condition formula for alternative calculation type

Hi gurus,
we need to create some condition formulas to be applied in our pricing procedure.
Do you know where to program them in the system and what additional settings are required?
Thanks and best regards,
VL

Hi Victor,
For your query, you can create new alternative calculation or alternative condition base values in T-COde VOFM with the help of an ABAP.
Go to VOFM T-CODE
Then Click on Formulas then condition value or condition base value.
You need to take Acces key from basis team to create a new calculation type for that number should start from 900 to 999.
Tell you Abaper to take the values from internal table XKOMV, XKOMK, KONDI, XKONP there are many internal tables are there, from that you will get respective conditon type values.
In internal table KBETR field contains condition record value & KWERT contains the calculated value.
Read wrt condition tyep and calculate according that and pass the value.
Try this, which will help you in resolving your query.
If satisfied close the thread.
Regards,
Nagesh

Similar Messages

  • Differance betwwen alternative calculation type & condition base value.

    dear expert
    wats the differance betwwen alternative calculation type & condition base value in pricing.
    vicky

    Hi,
    AltCty - Condition formula for alternative calculation type:
    It is an alternative formula for the condition type that can be used instead of standard formulas.
    For example, let us take the Profit Margin which can be both + / - , so here this routine will help us in generating the value which can be either + or -. Profit margin is not a condition type so it cannot be classified as +ve or -ve in the V/06.Ex.: 950 0 Profit Margin 11. So we assign 11 - Profit Margin.
    AltCBV - Alternative formula for condition base value:
    Formula for determining the condition basis as an alternative to the standard.
    It is used as a basis to calculate value of the condition type instead of using it from the "FROM" column.
    Ex.: Freight - KF00. Freight is calculated based on weight, volume etc. and not on the base price. In pricing there is no entry of weight from which the value can be referred like we do for discounts using base price. We have to get the value from the Material master. In this column we can mention the value as 12 - Gross Weight or 13 - Net Weight.
    During pricing, the system will consider the value that is mentioned in this column and determine the freight based on this value.
    Suppose we have Net weight: 100 kgs and Gross Weight: 150 kgs. And if we mention 13 in this column then the Freight condition KF00 will be calculated using the weight as 100 kgs.
    And both of them are routines written by APABers in VOFM.
    Reg,
    JJ

  • Requirement type, alternative calculation type and alternative base value?

    Hi guys pls can any body experts in pricing
    Can u pls explain requirement type, alternative calculation type and alternative base value?
    Not theory Any of Ur real time experience………

    <b>Requirement:</b>
    It is a routine that is written by an ABAP consultant according to the business requirement.
    By defining Requirement in condition technique we can restrict the access of condition type.
    To understand the concept, we will take the example of the Rebates. Rebates are to be included during the billing document processing and not in the sales document processing. As rebates are given on the delivered quantity and not on the ordered quantity (in case of cut-off period for rebates).
    For rebates we use the condition types BO01 to BO05, and in the Requirement column we give the value 24 which is "Only in Billing Document".
    This Requirement will ensure that these condition types will appear only during the billing document processing.
    If new Requirements are to be defined we follow the procedure given below.
    Go to T.Code: VOFM. - Maintain Requirements & Formulas
    Click on the "Requirements" in the top menu and then click on "pricing".
    We have a list of requirements, we can ask ABAP consultant to create new requirement based on the client requests.
    And we assign the application type like V - Sales/Distribution etc.
    <b>AltCty - Condition formula for alternative calculation type:</b>
    It is again a Routine that is written by ABAP Consultant.
    It is an alternative formula for the condition type that can be used instead of standard formulas.
    For example, let us take the Profit Margin which can be both + / - , so here this routine will help us in generating the value which can be either + or -. Profit margin is not a condition type so it cannot be classified as +ve or -ve in the V/06.
    Ex.: 950 0 Profit Margin 11.
    So we assign 11 - Profit Margin.
    If new routines are to be defined we follow the procedure given below.
    Go to T.Code: VOFM. - Maintain Requirements & Formulas
    Click on the "Formulas" and then on the "Condition Values".
    We have a list of routines, we can ask ABAP consultant to create new routines based on the client requests.
    And we assign the application type.
    <b>AltCBV - Alternative formula for condition base value:</b>
    Formula for determining the condition basis as an alternative to the standard.
    It is again a Routine that is written by ABAP Consultant.
    It is used as a basis to calculate value of the condition type instead of using it from the "FROM" column.
    Ex.: Freight - KF00.
    Freight is calculated based on weight, volume etc. and not on the base price. In pricing there is no entry of weight from which the value can be referred like we do for discounts using base price. We have to get the value from the Material master.
    In this column we can mention the value as 12 - Gross Weight or 13 - Net Weight.
    During pricing, the system will consider the value that is mentioned in this column and determine the freight based on this value.
    Suppose we have Net weight: 100 kgs and Gross Weight: 150 kgs. And if we mention 13 in this column then the Freight condition KF00 will be calculated using the weight as 100 kgs.
    Regards
    AK

  • Difference between alternative calculation type and alternative condition b

    What is the difference between alternative calculation type and alternative condition base value?

    Hi Nitin
    Alternative calculation type:
    Suppose my gross price (PB) is Rs.100 for some metal per kg and I want to calculate surcharge based on todays RBI index of commodity rather than simply giving some 2%. I want to account todays RBI index in determinig Condition value.
    It is possible to do that by little alteration of regular routine.
    Alternate Condition base value:
    I am procuring 5 different variety of pens at different quantities at varying rates from 0 to 25 in a sing le PO. And I get the total header value of 1000. I will get a discount of 10% if the PO value reaches 1000. I have to subsequently pass on the discount of Rs.100 now to all the 5 line items. In general SAP calculates it based on the values of each line item and proportionately distributes. However If i want this discount to be distributed according to the quantity of each pen. You can acheive this with little alteration of Routine.
    Hope this clarifies your doubt.
    If found helpful, Pls reward.
    Regards
    edwin

  • Alternative calculation type and alternative condition base value

    In pricing procedure what is the difference between alternative calculation type and alternative condition base value?Kindly help

    Hi,
    Please check the forum before you post your questions as this question was answered a number of times earlier.
    Please check the below link which discusses in detail regarding the same.
    [Alt Cal Type and Cond Base Value|Alternative calculation type and alterantive condition base value in pricin;
    Regards,
    Phani Prasad

  • What is the use of Alternative Calculation Type =2 and 4

    Dear Friends
    In pricing procedure in gross value, Net value for Item and Net value has Alternative calucation type is 2.
    What is the use of it?
    Without using it these value line are also fetching net value then what is the work of it. Please give me detail information with its effects in pricing condition tab page in sales document.
    Thanking You
    Arun

    Arun biswal,
    Correct Biswal. We have at varoius stages within Pricing procedure the "net value" which is calculated. Not only the alternative calculation type "2" is used if you notice carefully they are stored as subtotals at various levels.
    For Ex Gross Value  --> Subtotal =1 --> Calc type = 2
    similarly for Net value for Item --> Subtotal =2 --> Calc type = 2
    Net value 2 --> Subtotal =3 --> Calc type = 2
    See, these are used to calculate the net value at various levels in pricing. The calculation Type has got a set of routines that will facilitate us in pricing. SAP has provided certain clauclated formulas or routines to facilitate us during calculation within pricing . Here the "2" is used for calculation without tax and store it as subtotal and display it or use it for further calculations.
    We can use this "netvalue" amount for further calculations. It is used for clarity purpose when you issue a statement to customer. (like Confirmation order) at various levels like discount amt involved, Freight involved, Rebate amount invloved.....
    Even without this Calc type or using sub total u can proceed....
    Finally we have  TOTAL  --> Subtotal =A --> Calc type = 4
    In the above line we have Calc type as 4, which means when you use TAX this calc type is used .
    Routines are used to facilitate your process....
    Regards
    Sathya

  • CONDITION BASE VALUE / ALT CALCULATION TYPE Pricing

    Dear All,
    I have a scenario where in I want the condition base value for calculating the value for a condition type to be based on
    Gross weight -  Net weight value of a material.
    Is it possible and if yse how do I acheive the same.
    Deepak

    Deepak,
    Alternative Calculation Type:
    Normally if you want to calculate a value you have to use a calculation type for determinating the value. This calculation type is either addition, subtraction or multiplication. Similarly SAP also has got a default calculation type in the control data of the condition type. There you have the options of either Qty based , Fixed Amount Based or Percentage based.  
    Here what happens is suppose if you define Your condition type that calculates the base price of a material on Qty based. Then the calculation will be done based on the quantity of the material. If the customer orders 10 Nos and you have maintained a unit price of 100 Rs for each material then the value determined is 1000 INR. Similarly if the discount condition type , you maintain the calculation type as %. This means if you maintain the value of 10  % in the condition record. Then this percentage is taken as the calculation type  and the condition value is determined.
    In some cases you have to forego the default calculation types and use the customer specific method for calculating a value. For ex if you are calculating the Freight charges for a Material . it depends on so many criteria like, the weight, volume  and also the minimum amount etc etc, in those cases, you forego the default value and then use the alternative calculation type in calculating the condition value against the particular condition.
    Alternative Condition Base value :
    If you have to calculate any value then you have to have a base value for it. For ex 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.
    Now you don't want to take the base value and take other values as base value which are derived on some formulae. So you create a routine which will do the mathematical operations in the routine and derive you a value which is now used as the base value for calculating the condition value for a particular condition type.
    Reward poitns if u finds this helpful....
    Regds
    MM

  • Alternative calculation type

    Hi experts,
    I have a question about alternative calculation type. I have a condition type with one assigned alternative calculation type. When I drill down to get the detailed code of this alter.cal. type at the detail screen of this condition type  in the pricing procedure, the ABAP codes exist. However, this alter. cal. type is not maintained in the trans. VOFM formulas-->condition base value.
    As this condition type does not work properly: the right value does not appear in its detail screen. Could this be the reason? Or in another word, can alternative cal. type only work properly when it is maintained in the VOFM trans., even if it exists in the system with status "active"?
    Best regards,
    Fan

    Hi Yadav,
    ja, codes in the alter. cal. type is okay. The condition type I have here has the calculation type: Formula. So should we check the formula instead of requirements pricing? Sorry, I did not give you the complete information about the condition type.
    Best regards,
    Fan

  • Alternative calculation type problem!

    Hi, gurus~~~
    Let me ask you something.
    In pricing procedure, I want to change price in some case. so I made a alternative calculation type.
    and it works.
    but the problem is like this.
    Alternative calculation type only works when there is standard price.
    For example,
    Step    Cntr    CTyp        Fro To  Reqt AltCTy   AltCBV
    420      0     ZS53 Price1 100 100 51   703      0
    If there is price for Condition type 'ZS53', the Alt Calculation Type '703' works.
    But if there is no price for condition type 'ZS53', the altCty '703' doesn't works.
    I want to execute AltCTy '703' even though there is no price in condition type 'ZS53'.
    Please, let me know how to do it...
    Thanks in advance.
    Regards
    Kyung Woo.

    Hi Kyung,
    It seems the routine actually takes the price which is automatically determined and based on that it is redetermining the value. So please check how the routine is enabled first.
    If you want to value to come even the automatic determination doesnt give any value, then make the change accordingly in teh routine.
    otherwise, there is no other way by which this can happen.
    Reward point if the approach helps.

  • SAP SD ALternative Calculation type 80 & 81

    Hi Friends,
    Anyone would please elaborate  alternative calculation type 80 & 81 in sap sd pricing of v/08?
    Regards
    Debasish

    I have never came across the use of Requirement 80 / 81 / 82.
    As they are Argentina.
    For detail on there routine.
    Use Tcode VOFM,
    Select you desired routine, say, 80.
    Then click on blue ( i ) information button for details on routine.
    Even there you can find detail with purpose of the pricing routine.
    Similarly, do it for 81 or 82.
    FYI
    ||Routine - 80|LV61A080|Argentina - Check for goods of use|
    ||Routine - 81|LV61A081|Argentina - Check for Goods of use and for subjected|
    ||Routine 82|LV61A082|Argentina - Check for subjected|
    Regards
    JP

  • How to maintain a condition record for a output type ?

    Hi All
    How to maintain a condition record for a output type ?

    Hi,
    Goto NACE and there is a button for maintiaining the Condition Reocrds.

  • ALTERNATIVE CALCULATION TYPE 2:- NET VALUE

    Dear Friend s
    in pricing procdure I have remove calculation type 2 :- net vaule in Gross value, Net value for Item and Net vaue 2 but no effect in Sales doucment condition tab page.
    Please explain detail about effects not help file given in sap
    Thanking you
    Arun

    Dear Sai
    MWST IS COMMING WITH ITS VALUE "----
    Please add me
    arun
    dont ask informations to personal mail id which is against the forum rules
    Edited by: Lakshmipathi on May 1, 2009 12:29 PM

  • Condition record for tax calculation

    hi .
    how to populate value for condition type MWAS (outputax)
    where to create?

    hi,
    Tax is determined based on,
    1) Departure Country , departure Zone is taken from delivering plant
    2) Destination Country of the customer receiving the goods( i.e Ship to party)
    3) Tax indicators in CMR >Sale area data>billing tab page& MMR>Sales:sale org data1 view.
    Maintain all the above in the condition records for determining the tax condition rate in pricing procedure.
    Reward if it is useful.
    MCM

  • FM or BAPI for creating/deleting condition records for an output type

    Hi all,
               what is the FM or BAPI for creating and deleting the condition records for a Z(custom) output type.

    You can use trasaction SXDA_TOOLS.....
    object type BUS3003
    program type BINP
    program/method RM06IBI0
    but the fields must be sequentially written in the txt, with every space inclusive....

  • How to modify formula for the calculated measure in a cube.

    Hi,
    I need to modify formula for some measures within a cube, What would be the best way do that? In the obj view if I update the formula and compile, it does seem to reflect in the model view.
    I cannot delete and recreate the measures deletion and recreation would change the order of the measures which i do not need.
    Appreciate your inputs. thanks

    Yes thats true it desnt change in the AWM front end if you change the formula in object view but it would show you results according to the new formula.
    If you want AWM to show the correct expression in the front end then the way out is to change in the XML and reimport the xml.
    Thanks,
    Brijesh
    Edited by: Brijesh Gaur on Nov 18, 2009 5:51 PM

Maybe you are looking for

  • Report  S_ALR_87012167 top list based on amount of overdue items

    Hello, We are using report S_ALR_87012167 (Accounts Receivable Information System). In this report, it is possible to customize how many customers should be involved in the TOP list, the other customers are summarized in REST. This works fine. Howeve

  • Family Sharing - iCloud and iTunes Accounts

    So I have have had an apple ID (just a user name) for an eternity.  That has been the main purchasing vehicle over the years, both in iTunes and more recently, the Mac App store.  But I also have an iCloud account (email address) that primarily has s

  • Problem with Epson Printer and Time Capsule

    I have a new Time Capsule, already gone through first backup etc... I tried to connect my 2 month old Epson RX 680 to the TC via USB. I have tried everything and still cannot print wirelessly. I have uninstalled, reinstalled, rebooted both TC and pri

  • EXPORTING an interactive PDf in Indesign question...

    I'm exporting from ID 5 to an interactive PDF. I've got swfs in there, & rollovers, that are not meant to be seen on the initial page. They export fine in the final PDF, but the problem is, when the PDF initially opens, these rollovers all 'blip' on

  • Links List iView: Hiding the "Organize Entries" Command

    Hi all! I am using the Links List iView to display some corporate links. This iView shows an "Organize Entries" control to update the list by default. However, in my requirement, i need to hide this command from the end user. I have taken a look on t