Regarding Variable entry at the query runtime

Hi
In the Query Designer they have taken many variables which are user entry but when I run query I am getting only few options where I can enter values and other variables are not displayed for entry and they are taking some value as default though thay do not have default value. When I check it in Query Properties all Variables are displayed but at the Query Runtime very few are displayed.
Please suggest me how to get all options at the Query Runtime  to enter the values. It is very urgent Plz send ur suggestions soon.
Points will be assigned.
Regards
Balaji

Balaji,
I suspect some of your variables have been personalized. Run the query, when it's run then select Change query - Change variables values from the Bex toolbar. Have any variables little yellow smiley faces on the right hand side of the input area?  If so you may want to remove the personalization by selecting each face and select reset personalization.
Regards
Gill

Similar Messages

  • How to put variable selection and the query result the same screen

    Dear all,
       how can I put the variable selection and the query result in the same screen? Please advise. Thanks.
    Jin Ming

    Not sure if you are saying you want the prompts on the same page as the results... however in 7.0 with BEx Analyzer, you can insert a text object from the design toolbar and assign it to the variable.... this way, lets say you run query for period 6, then the text object will display "6" on the same area where the query results are.

  • Variable entry screen for query doesnt show selection values.

    Hi,
    I've created a query with date varibale Quarter From-To. When i execute this query, the variable entry screen pops up but when i try to select values just shows ??? and not the text.
    if i run the same query in RSRT the variable entry screen pops up but here the selection values are present for me to choose from.
    can anyone tell why the values arent showing when the query is executed.
    Thanks

    yes, it seems to be a problem with NetWeaver BI BEx Java Web runtime as it works in RSRT and web analyzer. Found a note on marketplace note 125357 - No values displayed for attributes in input help but this did not resolve issue.
    A call has been raised now as it seems to be a product fault

  • How to link the variable entry with the planning function execution

    Hi All,
    I am new to IP , we have a requirement where the user enters the value 2008 for a variable year. Then we are supposed to copy the same combinations for the next four years against which the user will be able to input the key figure values. But i have only 2008 data in the cube, so i need to generate new records for the same characteristic combinations as present for 2008 for the next four years. I am planning to use a copy function for this but how can i trigger this planning function once the user enters the value for the year variable. I want the planning function to get executed once the user clicks OK after the variable entry. Request your valuable inputs on the same.

    Hi Tilak,
    for this u have an option of executing the planning sequence when the web template loads ie. after the variable screen.
    open the WAD.
    go to the properties of Web Template web item. Under the section standard action of the webtemplate, we have a n option to include planning functions under action before rendering.
    If u include your planning sequence in this this will get executed every time the layout loads.
    guess this is usefull to u.
    Regards.
    Shafi.

  • Posting Period coming into the rows at the query runtime & couldn't drop it

    Hi All,
    We have a query on an InfoCube that we have copied to the Multiprovider containing two cubes, exact copies of the original cubes.
    Two cubes are one for the previous years and one for the current year.
    Now, the query is copied from original cube to the MultiCube.
    The query looks exactly the same in the Query Designer. But when run in Analyzer or on Web, Posting Period is coming into the rows automatically and in Analyzer, when I double click on the Posting Period to take it away from the report, it doesn't go away. Similarly in web, I do not have a option 'Remove Drilldown from rows', against posting period. I have identified posting period in both the cubes in the MultiCube configuration.
    Thanks in advance for any suggestions that you have.
    Best Regards,
    - Shashi

    hmm, we have now something interesting....
    but this means that you have two structures defined in your query right?
    Is your query cell based? It looks to me that this is the case; you have elements using created using the posting period thus it can be moved to the free chars and must be included in the drilldown.
    Remove the posting period again and perform a check before saving the query; this may give the element defined with your posting period.
    hope this helps...
    Olivier.

  • 2 queries sharing 1 variable entry screen

    We have 2 queries in a workbook which use identical user-entered variants.  Is there a way to have the user only fill in the variants once for both queries.
    Thanks,
    Ron

    Hi,
    Yes. you can. Bex will bring the popup for variable entry for the Query which is last inserted.
    Some say-> your have insert Query1 and then Query2.
    The the popup for Query2 with appear first and user make a variant there and save it. Now i am assuming that you have make sure that you are using the same variables for both query..then there will be no popup and the whatever values which user have entered in variant of Query2 which will taken by Query2 also.
    Fews points to keep in mind->
    1) Make sure that you are using the same variables (check techinal names of variables) in Query 2 as you have in Query 1.
    2) To refresh all queries with a single refresh screen, the user can select any cell in the workbook that is NOT part of the query (to visualize which cells are part of a query, use the Analyzer toolbar and select Layout >> Mark queries on worksheet), then select the refresh button. You will see a message box that says "No query is selected. Do you want to refresh all queries in the workbook?". If you select Yes, all queries will refresh with one refresh screen (assuming all queries have identical variables).
    Regards,
    San!

  • Copy function based on the query with variables

    Hello
    Let me share the scenario I need to implement. I have a planning query with layout like shop / material / sales volume. The variables are shop number and calendar month. User opens the planning query, selects shop number and month, then sees the list of materials and puts the planned sales volume, then saves as a temporary version. Saving as a temporary version is realized by standard u201Csaveu201D function. The matter is that the user needs to have a possibility to copy this version to official one. I created the button and linked it with the copy function. The problem is that when a user clicks this button, the function asks him/her to provide variables again. I would like to have the button which copies the data with the same selection criteria as the query already has.
    Any idea?
    Arelis.

    Hi,
    I think when you add the button you specify the planning sequence name and that takes the filter of the modeler .Now when you try to call the planning sequence the filter variables are also added to the button as VAR_NAME, VAR_VALUE which prompts you for the variable again.Delete VAR_NAME,VAR_VALUE at the back of the button  manually and then save your work book.Then it will not ask for variable entry and the values that you have specified in the query filter will pass on to modeler filters.As variables are global.
    Similarly if you are using planning function then at the back of the button remove the VAR_NAME,VAR_VALUE.
    Hope this may help.
    Regards,
    Indu

  • Get value of formula variable during query runtime into a text variable

    Hi all,
    I wanna get the value of the formula variables during the query runtime into a text variable.
    My scenario is like this: First I defined a formula variable Z_DATE_3 which is processing by replacement. It will get the day of a characteristcs(Startdate).
    Then I defined a text variable and in the function module related to this text variable, I used the parameter I_T_VAR_RANGE which can store the value of formula variable during the query runtime.So I can read the value from this table in my function module.
    But I have a issue, when I run the query which used the defined text variable, it seems that it doesn't call the corresponding function module. Because I set a breadpoint in hte code and it never reach this breakpoint.
    If I removed the parameter I_T_VAR_RANGE , it can enter the function module.
    So could you please give some advice?
    Is my solution correct or not?
    And what's wrong with the parameter I_T_VAR_RANGE? Did I use it correctly?
    And My code is:
    DATA:  l_s_range_v TYPE rrrangeexit,
                 l_day type sy-datum.
    if i_step <> 2.
    raise no_processing.
    endif.
      READ TABLE i_t_var_range INTO l_s_range_v
         WITH KEY  vnam = 'Z_DATE_3'.
    if sy-subrc = 0.
         l_day = l_s_range_v-low.
    endif.
    Thanks in advance!
    Best regards
    Fanchest

    Hi, Fanchest,
    I'm having just the same issue.  Did you find a solution?
    I wrote a short routine in CMOD to derive the value of a formula variable to a text variable, but it's not working (I don't get any value).  Can you share your solution?
    Thanks in advance,
    LL

  • How to hide Text Variable in the Query title

    Hi guys,
    here again in a very easy pratical issue.
    I need to insert a text variable in a report title.
    The variable is updated with an exit and the text is get once the query is executed. This works fine.
    My problem is that in report selection (so opening the query and between queries available for an Infoprovider) I see the tech variable name of the query. Do you know if there is a method to hide the variable or if it is possible to valorize it when the report title in the report selection is displayed?
    Thanks in advance
    Bye!

    Hi, thanks for your answer.
    Also SAP marks this as a limitation.
    Bye!

  • WEB Display Variable Entries

    Hi all,
    I have two exit variables in i_step = 1 (0CALMONTH and 0PROFIT_CTR) which are configured as follows:
    Single value = X
    Ready for input = X
    Change during navigation = X
    Mandatory = X
    The two variables are configured identical except for the reference to the InfoObject and the ABAP code to fill the default values.
    What I would like to do is to execute a web application with the default values set in the variable exit (This means that variable screen is not forced).
    However during query navigation the user should be able to change these default values by using the Change Variable in the content menu.
    I got a problem doing this:
    When I push the "Display Variable Entries" in the BEx WEB i get the message that the filter value for 0CALMONTH has changed.
    Then the query is refreshed with an blank=0CALMONTH and a #=0PROFIT_CTR selektion.
    If I then push the "Display Variable Entries" again i get a variable screen containing the 0CALMONTH variable but not the 0PROFIT_CTR variable. I can then enter the new 0CALMONTH value and execute the query again, however the 0PROFIT_CTR is still filtered to #.
    There are no personalization on the 0PROFIT_CTR variable so thats not the issue.
    Does anyone have an idea why the system is behaving like this?
    I would expect it to do the following:
    1) press "Display Variable Entries" button
    2) the variable screen appears with the default values for both variables
    3) change the variables and execute
    Best regards
    Keld

    I found the solution myself
    Br
    Keld

  • Variable Entries not displaying properly

    Hi SDN Gurus,
    We have loaded text file load into an ODS and have created a Query on the ODS. Have Built a variable on Account Number. The issue is this file has lots of negative Account Numbers along with Good Account numbers. But when we try to find the Good Numbers by selecting the Variable which is an Optional One, we are not able to find the Positive Account Numbers and only negative Account Numbers are being displayed in the Variable screen.
    But when we do not give any Account number as selection, we get all the account numbers displayed in the Query Report.
    Q1) How to Display all the account numbers (Both Positive and Negative) in the variable screen.
    Q2) If we see the Variable screen, it shows only 72 Columns of Data in the Enterprise Portal Report, where as the file consits of More than that. How can we expand the 72 Columns to Full data display?
    Regards
    Vishwanath

    Hi
    First in the query designer...for the keyfigure account number right click and see ther properites..have u taken account number as charecteristics or key figures
    If keyfigure rightclick and see the properties of the kf in the query designer there is option....+/-reverse signs........has it check marked...if so all your signs will be reversed in display in the report compared to the cube...
    You want to expand..after executing the query in BEx you have the option expanding to the maximum level..you can right click on your Bex report to find where the option to expand to the maximum level
    Regards
    N Ganesh

  • Detailed Query Runtime Statistics - Substeps of Data manager Event

    Dear All,
    I am using the report for 0TCT_MC02_Q0200 to analyse the Detailed Query Runtime Statistics.
    The report shows that the Event 9000 (Data manager Event) took a time of 109 seconds.
    I would like to know as to what does the 9000 Data Manager Event that takes 109 seconds do for me.
    What is it doing for 109 seconds ????
    Can I have more details about the substeps of Data manager Event and time taken by them ???  Any Table or a report would suffice my requriement.
    Thanks
    Regards
    Shalabh

    Hi Jain,
    Execute the query in RSRT or in RRMX. To Check how much time it is taking to execute this querry?? To get this information, Goto SE11> Give table name RSDDSTAT_DM in BI7.0 or RSDDSTAT in BW3.x> Display -> Contents-> Give from date and to date values as today, user name as Ur user name, and give the query name--> execute.
    Now u'll get a list with fields like Object name(Report name), Time read, Infoprovider name(Multiprovider), Partprovider name (Cube), Aggregate name... etc. If the time read is less than 100,000,000 (100 sec) is acceptable. If the time read is more than 100 sec then it is recommended to create Aggregates for that query to increase performance.
    Here in this table u'll find detailed Query Runtime Statistics.
    Hope thsi helps you..
    Regards,
    Ramki.

  • Hierarchy shown in variable entry screen

    Hi,
    I have created a hierarchy for Purchasing Group (0PUR_GROUP). Now, in the selection screen of the query, where the user selects a purchasing group, I would like; 1 - the user to see the hierarchy
    2 - the user to be able to select a part of the hierarchy (a group of purch groups).
    Is this possible?
    Best Regards
    /Daniel

    hi!
      In the query designer inthe properties of  Purchasing Group  activate the heirarchy by selecting and then  restrict the Purchasing Group  using a user input variable which select the heirarchy node.
    with regards
    Ashwin

  • How to transfer variable value from one query to another query?

    I create two queries which contain the same variable "Year" and "Month".
    In the wad,Query1 is used to be a table and Query2 is used to show the chart in the condition with the same variable value of Query1
    So I want to transfer the variable  value from query1 to query2.
    Can anyone help me ?

    Let me explain the issue in detail.
    In Query Designer, both the year and  month variables are defined by user exit function to read current year and month and can be modified  during the query runtime.
    In WAD, Query1 is  used  to be a table with a table interface to hyperlink a chart which is defined by Query2 with the same variable value of Query1.
    During the runtime of template, if I change the variable value of Query1 , I want the variable of Query2 to be changed automatically with the same new value.
    So in the table interface of Query1 , I write the ABAP code in "SE24" and related source code to the variable is following:
    concatenate
    'function fire_urlJGSP_Col(filter) {'
    Cl_rsr_www_renderer=>c_lf
    'chart_url="' url '" + "&CMD=LDOC'
    '&TEMPLATE_ID=GCCHART_9' "WEB ID of the work book
    '&PAGEID=Graphics'       "Name of the view
    '&CMD=PROCESS_VARIABLES&SUBCMD=VAR_SUBMIT&VAR_NAME=Z2MYEAR&VAR_VALUE_EXT=" + filter'
    Cl_rsr_www_renderer=>c_lf
    'openWindow(chart_url,"chart_window","dependent=yes","600",'
    '"450","true")'
    Cl_rsr_www_renderer=>c_lf
    into l_coding.
    In this way , I can only transfer the year variable value from Query1 to Query2 and not two variables .
    So , how  shall I do to transer the two variable value in the same?

  • Need to place a variable value at the end of report heading in BI 7

    Dear All,
    We have to place a variable value at the end of the report heading and the value should get refreshed whenever we change the variable by using "Change Variable Value". I have created a macro and the value will get triggered unless and until we click on any where on a sheet. But, we want to automate this one by using a macro.
    Ex: Quarterly TA Host Country Details As Of "Variable Date" Variable is created on TA Date characteristic. User can enter date on Pop up window box at the time of changing a variable TA Date. We need changed date at the end of the Report heading Qua----
    Please suggest me on how to place variable value at the end of report heading by using a macro.

    No need to use Macro. You can use text variable.
    Goto the Query Description and click on the Text variable icon.
    Create a text variable of processing type as REPLACEMENT PATH and replace it with the characteristic for which you have a ready for input variable that will be eneter by the user.
    This will populate the text variable with the value entered by teh user.
    Use this text variabkle along with the Query Description. So your description will look something like REPORT_TITLE&TXT_VAR&
    Hope this helps.

Maybe you are looking for

  • Array as static template member: Error

    Hi, I have the following piece of code: template<class T, int NN> class Foo {   static T* m_array[NN]; template <class T, int NN> T* Foo<T,NN>::m_array[NN];Forte C++ complains about the last line: Error: An integer constant expression is required wit

  • Retrieve overridden methods in a class? Need help..

    Hello everyone! I am developing eclipse plugin as a part of my MSc dissertation project and I'm stuck at the moment...I am implementing some software metrics and need to count methods overridden in a class. I thought about annotations, but could not

  • XServe in XrackPro2 Rack Temps: Need Other Owner Advice!!

    So as part of a new network deployment which mandated that the X-Serve (Dual Ghz Intel (2 X 2cores) and X-Serve (7TB) be in the same room as clients, we purchased an XRackPro2 6U. We have installed a Gigabit Switch, Fiber Switch, Xserve, and XServe R

  • How can I shut my Mac down when it always reboots?

    I am unable to shut down. I use the "Shut Down..." button, of course, but it's as if Im hitting "Restart...". The Mac just... restarts! I've run Tech Tool 4 on it with no luck. REAL "Restart..." doesn't help. I've never written an Applescript, but I

  • ES HOME PAGE ERRORafter assigning default roles

    hi all, we are getting error in home page after assiging default ess mss roles with everyone user role also but its not getting the services on home page ...assigned backend in su01 roles also HAVNG SAP_ALL for them