Create value condition formula on VFOM

Hi people,
I am with a little problem...
I have to create value condition formula on VFOM, so I go on VFOM, then formulas, then value condition ...
I go on botton of the list, set on edit mode, enter number 936 for the formula(witch doesnt exist)...
But when I double click on number, the program ask me for the acces key...
What should I do?
tks

Hi,
You have to get the access key from Service Market Place, without access key you cant create routines.
Thanks
Arbind

Similar Messages

  • 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

  • VOFM Condition Formulas

    Hi,
    I need to create some condition formulas for some pricing procedure. In these formulas we need to check some conditions and based on that we need to set some flags in VBAK and VBAP tables thru' condition formulas.
    Is it possible to set flags in VBAK/VBAP?
    If you have any document based on Condition formulas, please send it to me.
    Thanks in advance.
    Regards,
    Umesh

    Hi Umesh,
    Please check the following links, which will give some good picture about VOFM.
    <a href="http://www.saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf">PDF</a>
    <a href="http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/38996#">LINK1</a>
    <a href="http://www.sap-img.com/sap-sd/quantity-based-discounts-in-bulk-quantities.htm">LINK2</a>
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/a1/78268609e811d2956400a0c9306667/frameset.htm">LINK3</a>
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • Conditional value for formulas

    Hello everyone, I have a table for income values, and I have been able to create a Sum field to calculate the total income, but I would want to create a condition to only include values in rows that are checked with a checkbox. Maybe it's easier to show you an image of the table:
    So, what I would like is to have the cell in red to be a sum of the cells in the column "Valor Recebido" but, only if they are checked in the column "Recibo". Is that possible?
    Thank you so much.

    Hi anamorphis,
    When I first open your file I see the error message and the formula displays as text rather than as a formula. If I click the green check the error message goes away and the formula works.
    I think a regional syntax is to blame. When you examine a formula that does work (say in another table) what separates the arguments? "," or something else?
    I want to suggest again you recreate the formula by first choosing the formula in the sidebar, then with the first argument selected click your column E with your second argument selected click TRUE in the sidebar (under "logical and info"), with the third argument selected click column D. click the green check. If this works would you paste the text version of your formula here- I would like to see how it turned out.
    quinn

  • Is there a  BAPI to create IS-Oil (formula) MM Pricing condition records

    Hi,
    Is there a standard BAPI to create IS-Oil (formula) MM Pricing condition records, which would include the maintaining of the formula?
    Regards
    Kasi

    no BAPI exists

  • BAPI  to create IS-Oil (formula) MM Pricing condition records

    Hi,
    Is there a standard BAPI  to create IS-Oil (formula) MM Pricing condition records, which would include the maintaining of the formula?
    Regards
    Kasi

    no BAPI exists

  • Conditional formula in report painter.

    Hello.
    I create new CO-PA report in KE31 transaction which is based on a form.
    In transaction KE35 I define the new form and in this form I want to create formula.
    This formula should be conditional. How to define conditional formula in that kind of form.
    I can also define key figure scheme in transaction KER1 but in this transaction I also don't see possibility to define
    conditional formula.
    Conditional formula means that some value fields should be summ and some value fields should be substract
    depending on the value of characteristics.
    How to solve this problem in R/3 4.6C?
    I am waiting for help.
    Best regards
    Bogdan

    Hi,
    I don't think that we can put the conditional formula. but we can do the calcualtion by row wise or column wise.
    Thanks.

  • COPA Report  - How to create a complex formula

    Hi SAP guru,
    Please shed some light on this issue.
    In COPA drill down report, could any of you know how to create a complex formula? My client requires the report to show the conditional formula such as
    IF value field 1 is zero, calculate A
    IF value field 1 is not zero, calculate B etc..
    Your help will greatly be appreciated.

    Hiya,
    Specify the formula for that row, then double-click the value and it provides some options. I believe you can manipulate the calculation based on that.
    The best option would be to create the Value outside of the report and use the report simply to display it.
    Another option would be to use COPA enhancements (using T-Code SMOD) to calculate values. Since you can include ABAP code, you have the freedom to calculate just about anything you want out here.
    Alternatively, you could use Actual Valuation (IMG --> CO --> COPA --> Master Data --> Valuation --> Using Condition Records) and input a formula based on an actual value. If the actual value is something like Sales Revenue, you can "map" it to that field within the Condition Type. Assign the Condition Type to a Value Field and provide a Val Strategy to pick it up during Actual Postings (PV = 1)
    Hope this helps.
    Cheers.

  • BW query conditional formula

    Dear SAP Gurus ...
    I would like on a BW report create a formula as following
    If (characteristic version = B10)
    then (Formula 1)
    else (Formula 2)
    Translate in the BW language it could be something like that :
    ( 'Planning Version' == 'B10' )
    ( formula 1 )
    + ( 'Planning Version' <> 'B10' )
    ( formula 2 )
    My issue is that I don't arrive to create condition Version == 'B10' ... I have the impression that we could create condition only on keys figures value but not on characteristic value .
    The solution is it only in the user exit ? or could I resolve my issue in the query designer ????
    Thnaks a lot

    Hi,
    1)First of all define a variable(Zvar1) for 'Planning Version' characterstyic with replacement path as processing.
    2) Create a new formula in query as follows
    (zvar1 == 'B10' )* ( formula 1 )
    + (NOT (zvar1 == 'B10' )* (FORMULA2)
    1 ) FOR FURTHER INFORMATION ON CREATING A VARIABLE FOR CHARACTERSTIC WITH REPLACEMENT PATH
    refer service.sap.com/bi
    infoindex --> how to calculate with attributes of charactestics.
    2) for Conditional Calculations (IF-THEN-ELSE)
    refer
    http://help.sap.com/saphelp_bw32/helpdata/en/f1/0a5a2ee09411d2acb90000e829fbfe/frameset.htm
    with rgds,
    Anil Kumar Sharma .P

  • The detials about the fundation of calculations when creating a new formula

    In the query desinger when  we creating a new formula, in properties there is a selection card called 'calculations ',what do ' Normalize According to Next Group level result, Normalize According to Overall Result and  Normalize According to unrestricted overall Result ' mean?
    And what is the differences between  calculate results as and calculate single values as ?
    Edited by: zhen-susie on Mar 11, 2009 8:17 AM

    ' Normalize According to Next Group level result' means that the values within each subtotal will add up to 100%.
    'Normalize According to Overall Result' means that all values shown on the report (after filters and/or conditions are applied) will add up to 100%.
    'Normalize According to unrestricted overall Result' means that all values in the InfoProvider (whether they are displayed on the report or not) will add up to 100%, so if any filters or conditions are restricting the data displayed, the Overall Result may not be 100%.
    'Calculate Results As' determines what will be displayed on the subtotals (a.k.a., "Results" in SAP-ese) for a report, whereas 'Calculate Single Values As' determines what is to be displayed on the individual rows that make up the subtotals.
    Hope this helps...
    Bob

  • Is it possible in CrystalReports 8.5 to set conditional formula at runtime?

    I program in C++.
    Is it possible in CrystalReports 8.5 to set suppress formula (or any other conditional formula under "x+2" button) at runtime?
    I know I can do a workaround, for example create a parameter field, type in (at design-time) a suppress formula with this parameter field and then set the value of the parameter field at runtime.
    But... In our application crystal reports are modified at runtime. And in a section, which has its suppress formula, suppress property is changed at runtime, so the suppress formula disappears. But later (e.g. a user changed its mind) it would be very nice, if the suppress formula appeared again. How to do that?
    (I tried to search and google, but answers I found was not those I wanted them to be.)
    Thanks in advance.
    Jacek.

    Hi Jacek,
    That is a very good question. There are no sample app's any more for 8.5 which is 10 + years old now and I don't recall if that function was considered Report Creation which was only available for OEM Partner. Or the RDC had a few RCAPI's also. Typically you would add the formula in the Designer and then get that formula and alter the info.
    But it's been so long now and you never say which engine you are using, not that it matters, I don't recall now if you can or not or how ....
    Search the Header file if using CRPE32, or load up VB and the RDC , craxdrt.dll, and use the Object Browser to see if access is there... If you are using the OCX then it's the same as crpe32.h.
    Good luck.
    Don
    PS - Time to upgrade to .NET and CR for .NET

  • Trying to create a condition on a BW Universe

    Hi experts,
    I'm trying to create a condition on a BW-Query Universe just like below:
    <EXPRESSION>  IIF([0HALFYEAR1].[LEVEL01].[[20HALFYEAR1]].[Value] = 1 , [Measures].[DAAP8LRPLLYPPU417LVN5XS2Z]-[Measures].[DAAP8LRPLLXY17S9W2G13IDT7] , [Measures].[DAAP8LRPLLYPPU417LVN5XS2Z]-[Measures].[DAAP8LRPLLXY17S9W2G13IDT7]) </EXPRESSION>
    i've searched a lot till get this code, but it still giving me an error when I try to execute.
    Does anyone can please help me?
    Thanks,
    Gui Boscolo from BRZ.

    Hi David,
    Thanks for your answer, I've made the ajustments you have mention, but I'm still getting erros when i'm running a report with an object that contain this 'code':
    <EXPRESSION>  IIF(@Select(SemestreL01 Semestre Chave) = "1" , @Select(Variáveis de CálculoMontante Projetado Sem1) - @Select(ÍndicesSaldo Aplicado) , @Select(Variáveis de CálculoMontante Projetado Sem2) - @Select(ÍndicesSaldo Aplicado)) </EXPRESSION>
    As you notice, now I'm using the @select function, the quotes are in the value of HALFYEAR01 ((@Select(SemestreL01 Semestre Chave) = "1") and removing the IFF function, the expression works.
    The problem, is We need to have this IFF function at BO, because we're trying to complement a expression on BW that cannot be changed!! That's my problem at all!
    Thanks again!

  • How to create report condition based on "total"

    Hello,
    I have a Discoverer report that shows revenue by city and sub-totals revenue by state.
    I need to modify this report so that only cities in states with revenue (sub-total) more than one million are pulled.
    Example:
    Pittsburgh - 100,000
    Harrisburg - 200,000
    Erie - 300,000
    ------State:PA 600,000
    Los Angeles 500,000
    San Fransisco 600,000
    Oakland 200,000
    -----State:CA 1,300,000
    In this example, the report should show only the cities in California, as the revenue sum is over 1 million:
    Los Angeles 500,000
    San Fransisco 600,000
    Oakland 200,000
    ---State:CA 1,300,000
    Is this possible?
    I'm using Discoverer version 10.1.2.2.
    Thank you.
    Edited by: [email protected] on Dec 11, 2009 3:03 PM

    Hello
    You need to do two things to solve this problem.
    1. You need to create an analytic calculation that returns 1 when the sum of the revenue in all of the cities in a state is one million or more
    2. You need to create a condition such that you only include states when the above is 1
    Let's call the calculation, OneMillionStates and I will assume your fields are called State, City and Revenue
    Here's the formula:
    CASE WHEN SUM(REVENUE) OVER(PARTITION BY STATE) > 1000000 THEN 1 ELSE 0 END
    Now your condition shoudl be: ONEMILLIONSTATE = 1
    You don't even need to display the calculation on screen and notice how the city does not even come into the calculation.
    Best wishes
    Michael
    URL: http://ascbi.com
    Blog: http://learndiscoverer.blogspot.com

  • How to create a condition based on a select that retrieve dynamically a LOV

    Hi all, I need to create a condition based on a select that retrieve dynamically a LOV.
    So, the condition have to be:
    inventory_item_id NOT IN (SELECT inventory_item_id FROM apps.mtl_system_items_kfv WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV')
    I need to create a LOV based on this select without making any join with the folder which contains the field inventory_item_id, because otherwise I have the contradiction:
    and o124757.INVENTORY_ITEM_ID = o118741.INVENTORY_ITEM_ID -- join between the main custom folder (o118741) and the LOV custom folder (o124757)
    and o118741.INVENTORY_ITEM_ID NOT IN (o124757.INVENTORY_ITEM_ID) -- condition
    These two condition together don't show any data, obviously....This means also, that I can't use a calculated field, because if I want to see this field, I have to create a join, another time, with the main custom folder.
    I tried to create a LOV on the Administrator, but when I create the condition I have to check manually the values....and if in the future this LOV will increase I need every time to re-check all the values.....instead I need that the inventory_item_id have to be NOT IN dinamically in the list of values retrieved by the select.
    Anybody has inplemented something similar ??
    Thanks in advance
    Alex

    Hi alex,
    SELECT incidents.INVENTORY_ITEM_ID,
    pcodes.PROBLEM_NAME
    FROM apps.cs_incidents_all_b incidents,apps.jtf_rs_problem_codes_v pcodes
    WHERE incidents.category_id IN (SELECT category_id
    FROM mtl_categories_kfv
    WHERE concatenated_segments = 'IPTV')
    AND incidents.PROBLEM_CODE = pcodes.PROBLEM_CODE
    where incidents.INVENTORY_ITEM_ID NOT IN SELECT inventory_item_id
    FROM apps.mtl_system_items_kfv
    WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV'
    You want to add this condition to the first query it holds good for this scenerio.All the items which are NOT IN will be retrieved.Here you are selecting other than "General_faults_iptv"
    But again your trying to select in the second query where you want "General_faults_iptv"
    SELECT inventory_item_id
    FROM apps.mtl_system_items_kfv
    WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV'
    If you carefully go through what your doing,you will understand.In the above explantion ,there will be no records generated.First query your saying NOT IN and again your saying for the same IN,how will records retrieve its meaningless.
    I dont know what you want to get from second query.I would suggest you to do is dont use the second query and just use the first query and you will get.Here is the query and this will give you result.
    SELECT incidents.INVENTORY_ITEM_ID,
    pcodes.PROBLEM_NAME
    FROM apps.cs_incidents_all_b incidents,apps.jtf_rs_problem_codes_v pcodes
    WHERE incidents.category_id IN (SELECT category_id
    FROM mtl_categories_kfv
    WHERE concatenated_segments = 'IPTV')
    AND incidents.PROBLEM_CODE = pcodes.PROBLEM_CODE
    AND incidents.INVENTORY_ITEM_ID NOT IN SELECT inventory_item_id
    FROM apps.mtl_system_items_kfv
    WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV'
    Regards,
    Kranthi.

  • Passing values to formula

    Hi All,
            Is there any function module to create and read formula?Here I need to calculate the price for purchased material.i am using  formula to calculate price.Each tax code having its won formula.
          I would like to store these formula in z-table and use it in my program.So there is no need to change my program when changes occurs.My Question is how to read this field value as formula?.........for reference refer the table tc25.
    example: (pb00+jin2) / menge.
    pb00 - base value,
    jin2- service tax,
    menge -quantity.
    How should i pass the value to pb00,jin2 and menge.
    Let me know if there is any doughts in my questions. It will be geartful if u share ur ideas with me pl.
    Thanks in Advance!!!

    Hi Karthik,
            Thanks for ur reply....Actualy that is one option....I found some FM module to create and execute formulas....but i am not able create fromula using this......can u pl tel me whether thse FM will be useful for my requirement.did u seen tc25 table?There thay are maintaining some formulas right?Thats y i prefered formula option.
    CHECK_FORMULA    
    EVAL_FORMULA     
    FORMULA_CHECK    
    FORMULA_EVALUATION
    FIMA_FORMULA_CREATE.

Maybe you are looking for