Displaying a variable screen

Hi everyone, I'm wondering what the best way of going about this is:
I have a button class called MenuButton, It's a button with an image. When clicked I wish it to open a custom screen class that I've written.
The list of MenuButtons is held in a Vector.
All screens extend my custom screen.
Now I have another class, a Navigation class that will handle when any of these MenuButtons are clicked.
I'd rather not have a giant if/else if statement that goes through each possible value to open the appropriate screen. Can anyone recommend a better way?
Thanks
/N

You can attach a separate Listener to each button. Each Listener knows which screen to display.

Similar Messages

  • How to display the variable screen with report in the same page together

    our customers want to design a web application use BEx
    they want the variable screen can be displayed with the report result in the same web page together
    so they can modify the variable filters any time and refresh the report with new variable filter
    i have tried the navigation area,but it seems only use new filter to the data athough get,we can't change the filter we input in the variable screen.
    is there any way to display these together?
    even I can use BSP.

    I think to display var screen with the report is not possible.(At least it will not be static). You need to refresh the report and choose the varibale at that time.
    Other option could be to bring all the possible value in the report and provide your user with the filter value. But this will make your report slow as you may have to bring more data in the filter.
    Thanks...
    Shambhu

  • WEB Template doesn't display variables screen

    Hello,
    I have created a WEB template using the WEB Application Designer. The template only contains one "Role Menu" item. I have checked the "Force Variable Screen Display" option but when I execute a query from the role menu, the system doesn't always display the variable screen.
    This only seems to happen when all the query variables are optional. If at least one query variable is mandatory, the variable screen is displayed. Is there a way to force the system to display the variable screen even if all the variables are optional ?
    Many thanks.
    François.

    Check the HTML code in webtemplate.
    object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_PROPERTIES"/>
             <param name="TEMPLATE_ID" value=""/>
             <param name="SUPPRESS_WARNINGS" value="X"/>
             <param name="VARIABLE_SCREEN" value="X"/>
             <param name="VARIABLES_CLEAR" value="X"/>
             TEMPLATE PROPERTIES
    </object
    if the <b><param name="VARIABLE_SCREEN" value="X"/></b> , is not there , just hardcode it.
    We encountered the same issue for melting variables some times.
    which version are you in , is there a bug..?
    thanks
    Martin

  • WAD / Insert Variable Screen into WAD

    Hi All,
    How can i insert the variable screen into my WAD?
    For example:
    First, when i executed the WAD i need to show (all together in the same page) the variable screen and below the table.
    Regards

    Hi Nicola
    I dont know of a way to display the variable screen in the wad however, an alternative is to use the Information Field web item and tick the variable visible check box in the web item parameters, untick the other 4 items if you only want the variables to display, this will display the current variable selections for the query, you can then have a link item or button that calls the OPEN_VARIABLE_DIALOG command, this will link back to the variable screen but also maintatin the current filters and layout of the query.
    Hope this helps
    Josh

  • NW 2004s Bex Analyzer Variable screen Vs 3.X Bex Analyzer

    Hi,
    In 3.X, if you select refresh for a workbook having multiple queries, then the function refreshes all queries and the system displays the variable screen for each query in the workbook.
    In NW 2004s, if i have the same workbook and refreshing the workbook will display only one variable screen having all the variables all the queries are using.
    This is good. <b>Except</b> <i>for refreshing workbook which is already having different "material number" in different queries.</i>
    In this scenario how do we refresh the workbook and keep the material number different for the queries the workbook is using. The variable screen in NW 2004s will show only one variable "material number" and assigning a material number will change the workbook
    <i>(Implies both the queries will be using same material number after refresh-hence unable to keep the workbook same)</i>
    We are on <b>SPS 8/FEP 801.</b>
    We applied the note <b>953402</b> (variables are displayed when you  refresh all queries)
    After applying the note we added ANALYZER-VARIABLE_REFRESH_3X=X in the RSADMIN table.
    Still in NW 2004s, only one VARIABLE SCREEN is displayed will all the variables the query is using.
    Please let me know if any information is available.
    Thankyou,
    -Sini

    Hi,
    We applied to OSS NOTE # 953402 inorder to prompt the varaible like 3.X. This note did not do anything. Please advice if any other note is available or not.
    Having a common or (one) variable screen is difficult to maintain. I had lot of problem trying to keep a workbook same as in 3.X. Diificult to perform workbook conversion.
    Example:
    I am performing workbook conversion. This workbook which I am trying to convert has multi queries.
    In one query it shows material number starting with say for eg: BA, CB and no restriction is given for cal year/month and this query has plan version as mandatory variable. (NOTE: no hierarchy)
    Other query has hierarchy for material number and the hierarchy shows material starting with BA01* and cal/year restricted to 01/2006 and 02/2006.
    When I convert the workbook from 3.X to 2004s
    1.) hierarchy drilldown icon disappears when I open the workbook in NW 2004s Analyzer
    2.) Inorder to get the drilldown icon back I clicked on "refresh" which doesn't not work consistenly.
    So I always click on "variable" icon and entered the values for the mandatory variable (plan version) and assigned hierarchy (XYZ).
    3.) After executing it, both of my query shows hierarchy.
    4.) I turned off hierarchy in one of query, set filter value for material number to  BA, CB.....( NOTE: Inorder to turn off the hierarchy I have to first deactivate it and then refresh it to make it work.
    NOTE: later I was unable to turn it ON.
    5.) The other query has hierarchy orginally(before conversion) it has 3 level drilldown and after converting it just has only one level drilldown. ( I was not able to get the original one back. I was able to filter it my material number say BA01* and cal year.
    RESULT: Unable to make the workbook indentical to 3.X. Conversion was not that succesfull.
    NOTE:
    1. The hierarchy activation/deactivation does not work properly.
    2. For eg: Select filter value for material number, the text/key shows the expected value. But If I search for those values I do not get the result. The search on material with hierarchy does not seems to work properly.
    Please let me know if you need any further details and also let me know if there any OSS Note available.
    Thankyou,
    -Sini

  • Compounded characteristic are not displayed in the variable screen (BI 700)

    Hi Experts,
    How to display compounded characteristic  in the variable screen of queriies?
    Example :
    IO 0PROFIT_CTR is compounded to 0CO_AREA. Tryimg to select 0PROFIT_CTR via a variable,
    only values of 0PROFIT_CTR are displayed in F4 opo up, not those of 0CO_AREA.
    0CO_AREA is not restricted in any way in query definiton.
    This happens in BEx Analyser as well as in web apllication.
    Did anybody face this issue? How to solve it?
    Thanks in advance for helpful replies.
    Regards
    Joe

    Hi,
    Thanks for replies. Possibly I did't explain my problem i a correct way.
    'I 've a variable for 0PROFIT_CTR. When I call F4 , values for 0PROFIT_CTR are displayed
    e.g. as
    7062 PC 7062
    7062 PC /062
    My problem is, that these PCs belong to different Co_areas. so i expected
    3200 7062 PC 7062
    4300 7062 PC 7062
    3200 an 4300 are representing compounded Co_areas in this example. In 3.5 this worked perfectly,
    if Co_areas was not restricted itself with a variable or a defined value.
    Now I'm looking for the option to achieve this as well in 700.
    Regards
    Joe

  • Display message in BEx variable screen in 7.0

    In BEx 3.5 I was able to display a message to the user when they enter a value they are not authorized for in the variable screen.  This was done using the function module RRMS_MESSAGE_HANDLING in the variable user exit at step 3 and raising no_replacement.
    This is no longer working as of BEx frontend 7.0.  Is there a way (or different function module) I can display a message to the users on the variable screen?
    Edited by: Troy on Dec 19, 2008 8:56 AM

    I am too facing same scenario. What did you do to have variable screen screen displayed ?.

  • Variable Screen Does Not Display in Bex Web Analyzer after first time

    We recently upgraded from BW 3.1 to BW 7.0 (without upgrading specifically to 3.5).  We are having a problem with our Web Bex Analyzer not showing the variable screen although the variable screen is displayed successfully when running the same query from the Bex Analyzer.  Based on feedback from other posts regarding similar topics, we modified the 0analysis_pattern template to ensure that Display Variable Screen was checked on.  We are finding that when we open the Web Bex Analyzer and do a New Analysis, the first query we try to run will always have the variable screen displayed successfully.  Any susbsequent queries we try to run by clicking on New Analysis in that same open window will not show the variable screen and will start executing open ended.  This is occurring regardless of whether the query has mandatory or optional variables and we have confirmed that there is no personalization set for the variables being used.  We have tried it with several different queries and the results are consistent.  The first query you run shows the variable screen successfully and any queries run after that do not.  Any help in resolving this would be greatly appreciated as we have exhausted our resources researching and troubleshooting this problem.

    We did open an OSS note and heard back from SAP.  We made the recommended setting, see their response below, but as they stated, it will only show variable screens for queries that have at least one mandatory variable entry after the first query is opened. 
    Response from SAP: 
    Please check if the following setting is made within your template --
    In the 'Standard Actions' of the Web Template, do you have the setting
    'Action Before First Display' set to OPEN_VARIABLE_DIALOG
    The behaviour of the variable screen is different if you use mandatory
    variables and optional variables. If you have only optional variables,
    the Display Variable does not force the variable screen.
    Also, using the parameter VARIABLE_SCREEN=X only influences the
    web application at STARTUP. This would not come into affect when you
    use the 'New Analysis' button. This button resets the dataprovider so
    this would not affect the variable screen and would not redisplay the
    variable screen as you require.

  • I would like to display current fiscal year always on variable screen

    Hi
    I have requirement in which I would like to display the current fiscal year on variable screen in BI Report.
    we have a standard variable however the sap exit to display the current fiscal year is not shown...
    Can any one tell me, how to proceed in this case.
    Thanks
    Chetan

    Hello,
    For I-step = 1, use the function module DATE_TO_PERIOD_CONVERT.
    here for IMPORT use i_date = sy-datum and i_periv = ur fiscal variant.
    The output is e_buper contains fiscal period and e_gjhar contains fiscal year.
    The use concatenate to join fiscal year and fiscal period to the variable low value.
    Regards,
    Shashank

  • WAD Variable screen not displaying when using a customer exit variable

    Hello,
    I have a query which has 3 variables, one of which is of type customer exit and gets populated with a default value.
    When I run this query on the web from within BEX it works fine, however when I run it within any BI7 web template the variable screen does not pop up. Of course if I remove or change the offending customer exit variable the variable screen pops up.
    I have switched the display variable check-box to on, and it still doesn't work.
    Is this a 'feature' of BI7?
    Many thanks
    Sarah

    Fixed it myself by tweaking the URL....
    Added &VARIABLE_SCREEN=X to the end of the url and the variable screen now pops up. Its not an ideal solution but it works.
    Anyone have any better ideas?

  • F4 Input Help in Variable Screen takes about 30 Minutes to display.

    Hello Experts,
    We have a web-report in which the time taken to display all the entries in F4 Input Help of the variable screen takes about 30 minutes. Have anyone experienced so long a wait time while accessing F4 Input Help in the variable screen and is there anything that we can do to reduce this wait time.
    Thanks
    Arvind

    For BEx Web 7.0 make sure you have the attributes suppressed in help with the instructions from note below:
    https://service.sap.com/sap/support/notes/1144979
    Also apply the optimizations provided in the notes below:
    https://service.sap.com/sap/support/notes/1374724
    https://service.sap.com/sap/support/notes/1379804
    https://service.sap.com/sap/support/notes/1266510
    Also you could try changing the read mode of the F4 help depending on the size of the cube and MD tables.

  • Display Key & Text In Variable Screen

    Hi All,
    I am having one master data Location having Attribute and Text data loaded.
    I am using the same Location as a characteristics in my DSO and then in Query .
    Now, i have create one variable on Location. When i am executing the query , and click on Location Help. It will show only Text values. I want to have Location Key as along with Text in the variable selection screen.
    Please suggest.
    Regards,
    Macwan James.

    Hi James,
    for infoobject Location you can swith to both key and Text at variable screen.
    please do this setting.
    RSA1 -> select DSO  change mode -> go to the infoobject Location right click select  "Provider-specific properties"
    Display " 0 Key and text" select this and activate DSO.
    please check at the selection screen.
    Best Regards.

  • Display of Compounded InfoObject in Business Objects Variable screen

    Hi,
    The Cost Center is compounded with Controlling Area in BEX Query and there is filter on that.  After running the query, in the select options, it will display Cost Center in the possible values in the selections.
    When this query is used in BO Universe, the Variable screen in Webi report is displaying the Cost Center concatenated with Controlling Area.  But in BEx Query, it displays only the Cost Center, not the Controlling Area.
    Can it be possible to just see the Cost Center (with out Controlling Area) in Webi Reports ? Can some one have any input ?
    Thanks,
    Mohan

    Mohan,
    The BW Olap Engine (as used directly by BEx) can distinguish a compound object, and 'strip-out' the
    prefix information. However, when this compound info (such as 0FISCYEAR - which is a compound object made
    up of: 0FISCVRNT/0FISCPER, in the format : K4/200912 ) ... comes to BO WEbI via MDXINTERFACE + ODA
    Layer, this 'intelligent' display is not detected.This feature does not exist in SAP OLAP BAPI.
    As Ingo said on reporting level we can use substring or replace kind formuals but for prompts we have to wait until SAP tweaks it in next SP.
    Thanks

  • Display non changeable Variables / restricted values on variables Screen

    Dear SAP-Experts,
    is it possible to display non changeable / restricted char values on the variables screen?
    regards
    Jürgen

    Dear Jürgen,
    Now I understand what you mean.
    I'm afraid this is indeed not possible, unless you create customer exit for i_step=3 to invalidate any change made by user in variable screen for this variable, which is not really a practical way.
    Actually the user would be able to see the filter information after query execution. The detailed location depends on whether you use BEx Analyzer or portal.
    Regards,
    Patricia

  • Save setting for - Display Personalized variables on variable screen

    Hi,
    Good Morning.
    I have got a variant. After I select a variant I went to Personalization screen. In this screen after selecting a couple of variables I unchecked/unmarked check box for 'Display personalization variables on variable screen'. I clicked on Ok and also saved tha variant (overwrite).
    But the next time I open the query this check box remains unchecked and all the personalized variables are visible.
    Can you please help me in resolving this?
    Thanks & Regards,
    Raj

    Dear Rajendra,
    check this link..it might help u,,,
    http://help.sap.com/saphelp_nw04s/helpdata/en/45/6e4f4db9cc1956e10000000a11466f/frameset.htm
    Hope this helps u.
    Best Regards,
    VVenkat..

Maybe you are looking for

  • RSS pointing to wrong location

    I moved the folder where my iWeb page was being published but the RSS link is pointing the old folder. I modified the html in Dreamweaver but when I resave and publish again using iWeb, the change is replaced. Any way to fix this?

  • Sales order qty not confirmed when delivery done with partial qty

    Hi Guru's Need your help............ We have issue in drop shipment scenario process. Sales order created with 10 line items from CRM and order released from CRM and replicated order to ECC and backend created PR also. After that user set reject stat

  • Load balancing host named site collection

    I am jumping into the realm of host named site collection. While the learning experience has been good, still there are some questions unanswered. Please bare patience since my questions are long. - I have a non host header site on port 80 that has h

  • Copy control from Purchase Order to Inbound Delivery

    Dear friends , I'd like to know if is possible to transfer a Item text or Header text from a Purchase Order to an Inboud delivery. We need to transfer one text specific .. from PO to Inb.Delivery. If you have other options, feel free to post it here.

  • Vendor Bill no.  entry field

    Dear SAP experts what is the standard field for storing vendor bill no. while processing miro, fb60. in order to avoid duplicate invoice entry , if we enter bill number in reference field in document header then best practice will be to enter one bil