Formula Variable issue

Hi,
Can someone help me with the following issue as my client wants it quick.
I have created a formula variable called "Enter number for formula" for number and used this formula variable  in a calculated key figure. When I run the query, it will ask me to enter a number in the formula variable and this number will be used in the calculated key figure to get the results for the calculated key figure in the report.
Now the point here is that customer has to enter either 5 or 6 or 7 only in this formula variable and should not allow other numbers in the formula variable and more over we should have a selection option with only these 3 values and when customer pressses F4, he should get an option of selecting any one from these 3 values.
Is this requirement feasible? If So can any one help me with an example.
Advance Thanks for your help.
Kishore

Hi Aby,
I have a quick question. My first priority is that, is selection option can be enabled for formula variable i,e when ever customer executes a query and presses F4 he should get 5 or 6 or 7 and has to select any one out of three.
I can give the formula variable description "Enter either 5 or 6 or 7" but this can be worked out only if I have less values but if I have to select some numbers from 1 to 100 then definitely I need a selection option,
and is the reason we are looking for selection option with the required values.
Can you please help me with this.
Thanks,
Kishore

Similar Messages

  • Calculated Key figure and formula variable issue - Urgent

    Hi,
    I have created a formula variable on dates. When I run this locally it returns results. Now I have created a calculated key figure on this formula variable. It is not returning any results. Any idea on why this is happening.
    Thanks,
    Kal

    Hi Kal,
    Can you paste your Formula & Calculated Keyfigure calculation.
    If possible give information on ur formula variable ( processing by , charactesristic , replace variable with ( if it is replacement path ) , Dimension id )
    Regards,
    SRIKANTH

  • BW 3.5 - Issue with formula variable with replacement path

    Dear experts,
    I'm facing an issue with formula variable with replacement path.
    Just to clarify, I know replacement paths is raising a lot of questions but I've been using this functionnality extensively in the past, both in 7.0 and 3.5, so I'm not looking for basic information about how to use it.
    I'm trying to setup a simple report that would show total values per plant of Purchase Order < 100 €
    To do so I've setup a calculated key figure as follow:
    VAR1 * ("PO value" < 100 ) * "PO value"
    VAR1 is a formula variable with replacement path on 'purchase order' and value attribute 'constant =1'.
    (The report has to show values summarized by plant but should not show the detail PO by PO, so I'm not looking at a solution based on condition)
    The report as characteristic "plant" in rows and my CKF in columns.
    Now let's take an example. I have 3 POs in Plant 1:
    PO1 -> 150€
    PO2 -> 90€
    PO3 -> 80€
    Because of the variable with replacement path, the result in my query should be:
    plant1 = 170 (even though characteristic "purchase order" is not in my rows, system should evaluate PO one by one and return values only for those two that are below 100).
    But the result coming is 320, which is wrong.
    I've done the same report on many other 3.5 systems and it worked perfectly, and I am not able to get proper support from SAP OSS who keep saying that this functionnality is not ready in 3.5 (although I've provided screenshot of this working on another 3.5 system!!! how frustrating...)
    They have also pointed to problems of Before and After aggregation but that has absolutely no impact. Once again, the scenario is working perfectly on other 3.5 systems with the same query design, so i'm sure it has nothing to do with Query Designer options.
    Would anyone have ever come to an equivalenet problem? I'm wondering whether the DB itself could not play a role in the variable with ref  characteristic 'constant =1' ...
    Any though is welcome!
    thanks

    Hi,
    The text variable is replaced when the exact date is clear for this key figure column according to the restriction.
    To achive this, please make sure that either the variable is directly restricted in the key figure selection, or that the date characteristic is in drilldown.
    Regards,
    Patricia

  • Issue in query transport ( formula variable)

    Hi Experts,
    I have issue while transporting a query.
    I have created two formaula variables, with them created a calculated keyfigure.
    The transport of this query was failed with return code 8 with Error message 'Element 4XDRFT... is missing in version M'.
    Diagnosis:
    Element &1 in version &2 referenced but is not active
    System Response:
    The action had to be terminated
    Procedure:
    Please supply the missing elements to the system by a transport
    The two newly created formula variables are giving error with above message.It is showing these variables are missing in version M
    Can you please help me where i am missing and how to resolve this issue,
    Regards,
    Mohd.

    Hi,
    You did not collect all elements while transporting.
    Try to collect the missing elements in a new transport request and move.
    You can identify the missing Elements description from table RSZELTTXT.
    go to SE16 > RSZELTTXT > give ID as "4XDRFT..."  > hit execute to see the missing query element description
    Hope this helps u...
    Regards,
    KK.

  • Prompts issue and Formula variables.

    Hi,
    1. I have a variable in Bex report as Creation date, but when it comes to webi the default prompts comes as creation date(From) and Creation Date(To). Is there anyway to modify or delete these default prompts.
    2. In one Bex report , i have a formula variable purchase order, based on this only the report output(as a condition) is displayed.I think that the conditions are not transferred from bex to webi, because the webi output is standard for all values of the purchase order. Is there any way to delete the default purchase order prompt

    Hi
    Answer to Q1.
    There would be a Filters specified to prompts DATA as creation date(From) and Creation Date(To). You have to change the filter condition as REQIRED.
    Answer to Q2
    FORMULA variable is not transfer to WEBI. You have to define a NEW FORMULA in the WEBI Query Designer.
    Hope its a use ful info..
    Regards

  • Formula variable / Replacement path issue

    Hi Experts,
    I have a Field which has different status description.
    I want to bring the count of only one preferred description.
    Model Status
    A1     New
    A2     Open
    A3     New
    B1     Closed
    B2      Pending
    B3     New
    I want to view only the closed count of models
    Model Count of Closed
    A1     0
    A2     0
    A3     0
    B1     1
    B2      0
    B3     0
    I tried doing this using the formula variable and Replacement path with Status Field.
    But I'm unsuccessful in selection the desired status.
    Please help me to over come this.
    Thanks

    Hi Dear Prasad,
    I can't restrict the characterstic to Closed. If I do so the output will be only for Closed.
    But here I want to bring every model with value as 0 and 1 for model with closed status.
    Hi Dear Raju,
    The requirement what I have here is more complex. like, the result will be for 6 month displaying every single cal/day.
    and also I have to find out percentage of closed for every cal/day based on number of model we got.
    i have only asked a small portion of it, with this input i will manage to build the percentage etc....
    I  cannot bring counter inside. My report is already too wide to be displayed.
    I have tried similar kind of thing, using CKF, Formula Variable and Replacement path with the Char - InfoObj.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a&overridelayout=true
    But I'm not very sure how do I get only count of the my desired status.
    Please help.
    Thanks

  • Issue - Formula Variable with Replacement Path

    Hi,
    Is it mandatory to include the base characteristics in the rows on which the formula variable(replacement path) is based on. As long as the base char is in the rows the variable works fine. The moment I take that off, the variable doesn't produce any result. I know the char can be put in the rows and can be hidden, but then in that case I don't get the desired aggregation level.
    Has anybody come across this probelm and managed to sort this out? Kindly suggest any solution.
    Thanks,
    Anurag.

    Hi,
    a formula variable with replacement path only works if the replacement object is in the query in either the rows or colums. The data can never be aggregated on a higher level then the infoObject in the replacement path. If you want a higher aggregation you can add a new key figure as an attribute to your infoObject and fill it with the value you want in the loading process. You can use that key figure in your queries every way you want.
    Kind regards,
    Alex

  • Issue in displaying Overall Result of a formula variable

    Hi All,
    I have a fields as Years of Sevice in my report. This is defined as char. I am bringing this in the report by creating a calculated key figure and then using a formula variable that is defined as the replacement path of the Years of SErvice.
    Now when i execute the report , I dont see the Overall Result. I checked the porperties as Summation.
    The overall result is displayed as X for all the columna
    Report has
    Rows - Leaving Reason - defined as Char
    Columns - Years of Service  >3
                    Years of Service 3-6
                    Years of Service 6-10
    Can someone shed some light where i am going wrong?
    Regards,
    Harika.

    You have said years of service is declared as a characteristic. Is it brought into the report as an formula variable through Calculated key figure ???

  • Issue with Xcelsius reading BEx Formula Variable

    I have a dashboard that is connected directly to a BEx query via a SAP Netweaver BW Connection. The BEx query has several characteristics restricted by mandatory variables (mostly User Exit type). So when I publish/launch my dashboard in the Portal, my dashboard is able to read in all values passed at the BEx prompt page, except one. I have one formula variable that is mandatory called Duration, but whenever I try to map the "Current Filter Value (Key)" or "Current Filter Value (Text)" in my connection to an Excel cell in my dashboard, it causes my dashboard to hang on the "Initializing..." screen indefinitely.
    Does anybody know if there is something special I need to do in order to have my dashboard properly read in the value from a formula variable?
    Xcelsius Enterprise 5.3.0.0
    Build Number:  12.3.0.670
    Any help on this would be much appreciated!
    Thanks,
    -Brian

    Hai
    Check this it will help u to Some extent.
    http://myxcelsius.com/2011/06/15/xcelsius-2008-sp4-waterfall-chart/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3AMyxcelsius%28MyXcelsius%29
    Download the Xlf file and Check it for Summation in Excel
    http://xcelsius.excelyogi.com/supported.html
    http://www.forumtopics.com/busobj/viewtopic.php?t=171271&sid=244b8c717e3635721363eea8011cbb0d
    http://myxcelsius.com/2008/09/11/list-of-microsoft-excel-functions-supported-in-xcelsius-2008/
    http://www.ozgrid.com/News/named-ranges.htm
    Thank u
    Naveenkumar kc

  • Default Value in Formula Variable - Inconsistent behaviour

    Hi,
    I am facing a very strange issue in a formula variable.
    I had created three formula variables with default values and the user (Power user who has the Bex access) was able to change the default value themselves for two of these variables.
    Now he wants to change all the three, so I have tried to check the issue and changed all the three for testing purpose.
    Now, he is unable to change any of them!!! Sad, now I cant even say that "You dont have the Auth to do so"
    Any clue? Anyone has faced similar issue.
    Any thoughts are highy welcome! Suddenly users wants to get this one URGENTLY, usually he used to access the report once in month. Now he wants to use the same once in half an hour
    We are on BI 7.0 with SP 24
    Any thoughts PLS
    Regards

    hi,
       probably you can refer to SAP Note 1413030 - SAPBWNews NW 7.x BW Add-On Frontend Patch 1300 - GUI 7.10 or maybe  SAP Note 1294382 - SAPBINews NW7.0  BI Add-On Frontend SP900 - GUI 7.1 that might help you in sorting out your problem, plus you can buy more time from the user as well
    regards
    laksh

  • BEx Analyzer: Formula Variable with Replacement path change Month with Day

    Hi experts I'm facing this issue in BEx Analyzer.
    I need to have some dates in format DD/MM/YYYY in Index Structure, in order to do this I've created a formula variable with replacement path referenced to 0CALDAY characteristic.
    The formula works but it behaves in a strange way:
    if the day is higher than 12 the displaied result is correct (DD/MM/YYYY)
    if the day is lower or equal 12 the displaied result is wrong (MM/DD/YYYY)
    I'm on BW 7.01 SP6 and BEx Analyzer 7.10 SP12, excel 2007.
    anybody has faced this issue before?
    any help will be appreciated
    Daniele Cortopassi

    Hi Daniele,
    This seems pretty strange. Pls. redo validation with the dump data, as being a flat struture BEx does not apply any logic changes. May be it might have been MM/DD/YYYY format as in workbooks. Else you may change the property of 0calday display as "Text". Business Explorer > Display > KeyMaster Data/Texts > Texts (Plese check this option). If you are using some text table you may maintain the same using BI0/TCALDAY (Similar to BI0/TCALMONTH2). Guess it should be an excel based issue; if not you may try the same in WAD/Report designer to verify the nature of the issue. If you don't face these inconsistencies in WAD/RD then you may change excel formatting options. Lastly, please let us know if the infoobject has some predefined settings in RSA1 > Infoobject > (BEx) Properites.
    Thanks,
    Arun Bala

  • Attributes dissappear from the formula variable after upgrade

    Hi,
    We have upgraded from 3.X to 7.X. When i run the reporrt, i get the error saying that attribute XXXX for characterstic 0object in variable ZFormula variable couldn't found.
    When i went and checked in the formula variable, under replacement path
    Replace variable with
    Info Object
    Replace With
    Attribute value
    Attribute
    I couldnt find my XXXX attribute but with error mesage.
    I tried to create a same formula variable,but could't find the XXXX variable under ATTRIBTE.
    I coldnt find the proper solution or note. Did anyone had issue like this?
    Thanks
    Annie

    Hi,
    Thanks for the replies. But my issue is not with variants. Attributes are missing when I try to assign attribute of char in replacement path and also in my exception aggregation in query designer, reference char isu201D-1u201D.  I am not very sure how can it be u201C-1u201D. Is it upgrade issue?
    Thanks
    Annie

  • Regarding Calculated key figure on Formula variable.

    Hi Gurus
    I have a requirement. My business scinerio in E-recruiting is to find out no of days between requistion creation date and offer made date in each month of year.
    For example we have around 120 requistion created in calyender year .
    10 requistion in jan , 10 in feb , 10 in march , 10 april , ...........10 december.
    my client wants out put as
    jan       no of days between offer made date to requistion creation date.
    feb             ,,
    march        ,,
    april           ,,
    may           ,,
    june           ,,
    july            ,,
    december    ,,
    i have requistion , req creation date ,  offer made date , cal period , cal year , no of requistion in my data model.
    i am unable to this report.
    i have made structure in rows
    jan = no of requistion based on calperiod = 1,
    dec = no of requistion based on calperiod =12.
    in Columns
    i created a calculated keyfigure based on formula variable with replacement path of req created date and offer date.
    i am not getting the data. my guess is i went some where wrong. please give some advice where i am going wrong . plz help me on this
    thanks
    roopa

    Hi
    Thanks for your reply.
    Both req creation date and offered date are in the free characteristics of query.
    main problem for me is how to get no of days between offered date - req creation date in jan month.
    can you give me exact formula how to write it down in query builder
    <b> hi Banu ( Queen of reporting ) can you through ligth n this issue</b>
    Thanks
    Roopa
    Message was edited by:
            roopa chow
    Message was edited by:
            roopa chow
    null

  • Formula variable in structures

    Hi,
    My report displays material wise (With Hierachy) actual ,budget,LE Quantities in YTD, QTD.(  I used Structures.)
    I am using 2 formula variables  to derive no of working days in month, no of working days gone based on the given input selection variable date(sy-date). formula to find % month gone (i.e no of working days gone/no of working days in month *100)
    I used the variable exit code and derived properly ,It is coming fine.But  I have to display this values only once in the report.
    If I use one more structure actual selection variable is itself is not coming when i execute the report.
    Could you please suggest in this issue.
    Thanks ,
    Joseph

    Hi,
    Please read the following:
    BEx Query Designer: Creating formula variables
    You have loaded data into your InfoProvider. To be able to use sign reversal in reporting, you have to define a formula variable in the query definition:
           1.      You are in the Query Designer. Under Key Figures, use the context menu to choose New Formula. The Formula Builder opens.
           2.      Under Formula Variables, choose New Variable from the context menu. The variables wizard appears.
           3.      Enter a name and a short text for the variable. Choose Replacement Path as the processing type.
           4.      Choose your hierarchy basic characteristic.
           5.      Choose Hierarchy Attribute as the replacement. The attribute Sign Reversal is automatically displayed.
           6.      Save your formula variable. When defining the formula variable, you get the factor 1 or –1, with which you can multiply the required key figure.
    Regards,
    Subha
    If you find it useful, pleae grant me points

  • How to use formula variable to calculate the days for a document.

    Hi expert.
    I have a question, I need to calculate how many days it cost for a document, therefore , it should be like this,
    cost days = clearing date - creation date..
    how can I implement this calculated key figure by formula variable..
    Here cost days should be a key figure, but the clearing date and creation date are the characteristics in the document.
    it seems that formula variable by replacement path can not be used, do I have to use the customer exit for this variable ??
    any other good ways to calculate the cost days (beside during the data loading or by virtual key figure).
    I just want to implement this in the query designer..
    Please give a detailed steps if you could,  thanks a lot.

    Hi,
    These steps below are for the query designer in BI 7.0:
    1. First create a Formula in the Columns.
    2. Edit the formula, in the "Available Operands" see for the "Formula Variable".
    3. Right Click on the "Formula Variable" folder and then create a new variable.
    4. Edi the Formula Variable in the edit screen provide the Description and Technical name; select the processing by as Replacement path.
    5. In the reference characteristic select your characteristic "Creation Date".
    6. Save the variable.
    7. Select the variable into the formula and name the formula as Creation Date.
    Repeat the Same steps for the "Clearing Date".
    Then create another formula for the Cost days in which you mention as Clearing date (Formula) - Creation Date (Formula).
    Hope your issue is solved...
    Regards,
    Ravi Kanth

Maybe you are looking for

  • What can I do about "AccessControlException"?

    I know my applet can NOT connect a remote host with a Socket, about that "java.security.AccessControlException: access denied (java.net.SocketPermission 172.16.91.53:6666 connect,resolve)". But ,if I just want to do that,what should I do to resolve i

  • Standard SAP report group 6PP3 does not exist

    A user is attempting to run the transaction S_ALR_87013544 and receives the error "program 6PP3 does not exist". I used gr53 to display report groups it is not in the list. I cannot generate 6PP3 either. I cannot create 6PP3 because it is a standard

  • Use destination table values in source to get data

    I have a requirement to get data from source table to destination table. Source is oracle say tablename - 'orasource' fielnames=empid, empname and destination table name is 'sqldest' and field name are empid, empname. My requirement - I want to fetch

  • Opening Illustrator documents-all layers are open!

    When I open an Illustrator file with many layers, nested groups, etc. I have to spend the first minute or so closing all the nested layers in the layers palette. It's very annoying. I've searched for a preference  but can't find anything to tell Illu

  • No response from HP Deskjet... Log shows InkChecker error

    I've been having the same problems several people have discussed with my printer. My HP Deskjet 3650 has always worked marvellously with my Mac until about a month ago, when it suddenly quit working. Since then, the only thing I have managed to print