Variable on WAD

Hi ...can we create a variable on WAD? When we create a variable on query or function, these variable appears as pop up when we execute the WAD. On WAD we have the drop down option (which can be mapped to a characteristic). The values of the drop down is populated form the query. Can we have a variable which is similiar to a dropdown but we can play around with variable types like exits/authorizations.

Hi Lokesch,
for this second point, I usually create a query on the characteristic for which the variable is defined for, and include in this query the variable. Then I include this query into the web template as data provider but without any analysis item pointing to it.
If it is a formula variable, as far as I know this is not necessary.
For your new point - I never worked with the excel download button yet, so I don´t know what could be the problem there. In the system there is this Standars Web template that is used when you execute a query directly in the web. Maybe you can have a look at this web template and check the settings for the Excel Button there and copy it to your template.
regards
Cornelia

Similar Messages

  • How to put variables in WAD

    Gurus,
    I'm new to WAD. Please could you guide me how to have variables in WAD (for planning). Right now When I launch the WAD it pops up for all the variables. But what I want is that it should not ask for any variable while launching the WAD and later the variables should be filled up by drop downs inside the WAD. Is that possible?
    BR,
    SSC

    Hi,
    Is there a way to avoid pop up while launching the web application
    --> You can set in general tab of web template properties the variable screen to false (unmark it) "Display Variable Screen". Check:
    Web Template Parameters
    http://help.sap.com/saphelp_nw04s/helpdata/en/14/31fa826d0bd540899b02888bf55df4/frameset.htm
    In this case when I have created a drop down box for company code and then linked it to the variable in planning function
    --> You can use CHARACTERISTIC_SELECTION for your variable. Then read it from drop down box.
    Check:
    Data Binding Type CHARACTERISTIC_SELECTION
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/e7460656b60a29e10000000a11466f/frameset.htm
    and
    Dropdown Box
    http://help.sap.com/saphelp_nw04s/helpdata/en/c0/de413a51ce2e3ae10000000a11402f/frameset.htm
    Is this correct that I will have to choose variable value twice. While launching the web application (as a pop up) and then in the drop down once the web application is launched.
    --> If you use a variable for restriction of a query I think this is not correct. Query is restricted by the variable value you can not choose it again from drop down. But you can overwrite this value with dropdown value...
    Check this link how to create planning applications with the WAD...
    Creating Planning Applications in the BEx Web Application Designer 
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/c8240e47460aa5e10000000a1553f6/frameset.htm
    and
    Execute a Planning Function (Simple)
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/f0f8dc73b56bede10000000a11466f/frameset.htm
    Regards
    Andreas

  • Using javascript to read bex variables in WAD

    Hello,
    I'm using BI 7.0.
    In Query Designer I defined a variable of type customer exit. The variable is called "TESTVAR". How can I access to the value of this variable in WAD by using javascript? I know I can use the Web Item "Script" or I can include the javascript code in an external file. But can you can give me some example code how I can access the variable "TESTVAR"?
    thanks
    bertl

    Try using the following
    Suppose <b>TESTVAR</b> is having the value <b>A</b>
    If TESTVAR is single value
    var_name_1=TESTVAR
    VAR_VALUE_EXT_1 = A
    if TESTVAR is range
    var_name_1=TESTVAR
    VAR_VALUE_LOW_EXT_1 = A
    VAR_VALUE_HIGH_EXT_1 = A

  • Show date variable in WAD Template.

    HI,
    I want to be able to show the date variable in WAD template. To do this I used the info field web item. This web item  has the option to show variables which is great, but unfortunatly for me it also shows all the other variables I am using. I can not see anywhere where I can restrict it to only show the date variable.
    Does anyone know how I can do this or is it something I would have to do query side.
    Regards
    Forhad

    Hi Forhad,
    Yes you can show the date var alone, for this you would have to choose the specific date var under Data Binding -> List of Text Elements to display -> Text Element Type =  Variable Value, Variable = (select the date var from the available list).
    You may also turn off the Static Variables & Dynamic Variables if required.
    --Priya

  • How to... get local fox variable into WAD

    Hi guys,
    we have a (technical) weird requirement to fullfill. There is a parameter (a string) we need to update several times when running our web templates. We have this parameter in our fox coding and it needs to be updated i.e. when loading the templates the first time, when buttons are triggered etc (if we use a customer exit we can not update the parameter when i.e. a button is triggered).
    What do we need this parameter for? We have to display it in a text field in our templates (it must not be a text field but it has to be present all the time in these about 70 templates). However if we use a text field the best would be to link the parameter using a variable. Anyway I do not know how to set a global variable within fox coding...
    What do you suggest? How can a global variable be set using fox the easiest way? Or is there any other way to display a local fox variable in WAD (using javascript or something else)?
    Any helpful ideas or answers will be <removed by moderator>.
    Thks & Brgds,
    Marcel
    Edited by: Siegfried Szameitat on Dec 3, 2008 3:04 PM

    Your requirement didn't get very clear to me but maybe you can explore whether you can achieve it by calling an FM from inside the fox code.

  • How can I show the Text variable in WAD 7.0

    Hi All,
    How I can show the text variable in WAD 7.0??
    Kinsly suggest me..
    Re

    Hi,
    As far as i know u do not need any special web item to display the text variable as such. have a analysis item in u r WAD and assign query to the same. Ur variables appear as per the configuration u have made in the query designer. WAD has nothing to do.
    Regards

  • Store dropdown value in a variable in WAD

    Hi,
    I would like to pass the values from dropdown box to variable in my IP application. These variables are used to restrict the char values in filters of my application. When I change the dropdown box, my variable value should automatically change. My dropdown box uses the Char/struc member (Characteristic_selection) as data binding because I am doing the cascading dropdown boxes for my selection. I can not use variable as data binding for my dropdown box and I know this will work if I use the variable selection as data binding for drop down box.
    Now, the dropdown value is never stored in the variable, I don't know what I'm doing wrong.
    So, I need to know:
    - Variable settings
    - Dropdown settings
    - Dataprovider sttings
    I am using WAD 7.0
    Thanks!

    Hi Sebastian,
    Ok if I understand right, you have 2 DropDown webitems - on selection of one you would want the 2nd to filter which is cascaded action on DropDowns; and on selection of each DropDown you would want to pass the selections to the main query variables. Check if the below settings work;
    DropDown 1 -> DP1 (perhaps on a master IO), Characteristic -> say C1, Affected Data Providers -> DP2 (DP of DropDown 2), Action -> Command via Command Wizard -> Execution Point of Time -> After Default Action, Command -> SET_SELECTION_STATE_BY_BINDING (under Data Provider Commands -> Commands for Filter Values), Data Provider Affected -> main query DP assigned to the Analysis webitem, Selection Binding -> Characteristic -> C1, Binding Type -> Variable, choose corr. query Variable
    DropDown 2 -> DP2 (perhaps on a master IO), Characteristic -> say C2, Affected Data Providers -> None, Action -> Command via Command Wizard -> Execution Point of Time -> After Default Action, Command -> SET_SELECTION_STATE_BY_BINDING (under Data Provider Commands -> Commands for Filter Values), Data Provider Affected -> main query DP assigned to the Analysis webitem, Selection Binding -> Characteristic -> C2, Binding Type -> Variable, choose corr. query Variable
    --Priya

  • Hierarchies displayed with variable (IP & WAD)

    Dear Experts.
    We are having difficulties in defining value restrictions for (2) hierarchy variables. Unexecptionally all available hierarchies are showing with the hierarchy variables for a given characteristic.
    Objective: We are currently building web layouts for planning (with 2 queries per tab page). Now, 2 different hierarchy variables, one for Input and one for Display of queries, are supposed to restrict the listed char. value (rows). We are looking at two sets of hierarchies about 5 each (in total there is about 30 hierarchies on this characteristic).
    Background: Within BW-BPS's Web App Builder one had previously an option to use so called "Packages Selection" where planning packages from BPS0 could be defined with different hierarchies underneath a given planning level. Thereby the effect of having filtered a hierarchy selection could be achieved.
    Wonder whether there is a way to solve this with the Integrated Planning tools set (QD, WAD)!?
    Thanks in advance.
    Frank

    Hi Marc,
    Thanks for replying,
    Problem is i need to do some calculations in FM and call this FM using formula type planning function.in that FM i used RSDRI API to write data to cube(is there any way i can write to buffer or display calculated values in input ready query??).
    So when i use custom planning function button..it writes data to cube and then if i want it to displayed again as it is not in buffer  i used save_web_template standard button, which will show values but not in planning mode(and it gives warning infoprovider is locked).so my input ready is lost.
    is there any work around. or is there any way to refresh from the request.
    Please provide your inputs for the needful.
    Thanks
    R'Man.

  • Problem with variable in wad

    Hello Guru's
    i had a problem in WAD. we have report in which i have to create a variable for positing date so that the end user can give posting date and execute the report for that particular week. if i execute the BEX report it's working fine.where as if i execute the report in wad. i couldn't see the variable for posting date. it gives output directly. may i know what the problem.
    Thanks
    rad

    For calling up the variable screen, in your template you can use
    <SAP_BW_URL CMD='PROCESS_VARIABLES' SUBCMD='VARIABLE_SCREEN'>
    This command allows you to call up the variables screen again for the current page.
    Also, as Ajay mentioned you have to change the variable options to 'Mandatory: Initial value not allowed'.
    Hope this helps.
    Regards
    Hari

  • How to pass values to variables in WAD 7.0 using java script

    Hi.,
    My requirement is based on WAD 7.0.
    The sales value has to displayed in WAD using graph with various chart types.
    I have created variables for plant and material group in a query.
    I have created drop down box for plant with all plants in it, check box for material group and a Submit button in WAD in FORM tag of HTML coding.
    Once all the values are set in drop down box, checkbox and if the user clicks on submit button, the values has to captured by the variables for which I have created and the graph has to be aligned to the new values in variables.
    Kindly help me how to use java script to get the values from FORM and pass it to variables.
    Regards,
    Selva

    Hi Selva,
    You do not need to use Javascript for this. Instead you can achieve this by using API Commands in WAD 7.0.
    Please configure Action on the ButtonGroup webitem to use 'Commands'.
    ->Choose Command 'Set Variables Values / SET_VARIABLES_STATE' under Commands for Web Templates
    ->Set Display Variable Screen setting to OFF
    ->Choose Query Variable for Plant, Select Variable Type as 'Binding Type', Binding Type as 'Data Provider Selection', Data Provider as the one you have assigned to the Dropdown webitem, Characteristic as 0PLANT or as that assigned to the Dropdown webitem
    ->Repeat above steps for Query Variable Material Group
    Now when you make a selection from the Dropdown webitems, the Chart output will change accordingly. Let me know if this helps.
    --Priya

  • Issue with Default Variable in WAD after Java Patch 7.01.7.31

    Hello all,
    I'm running into an issue with the Web Application Designer Template execution for a particular default variable. This started occuring after Java Patch 7.01.7.31 we had implented over the weekend.
    The issue is when Executing the WAD Template, we have a selection screen with a variable with default values assigned to it. When leaving the default values and hitting Ok to execute  through the screen does not register and stays as is and I get a message at the top with the following: Characteristic Prob % Number has no master data for "1.00" or you do not have authorization.
    This only seems to occur for this default variable on info object Prob % Number, the other default variables seem to work fine. Also another note when clearing out the values it returns data and executes through. The value 1.00 is also a valid value in the cube and also in the output display. If we run this report in the BEx analyzer, the selection screen executes through with the default variable perfectly fine, this is only an issue with the Web Application Designer Template.
    Has anyone ran into this? I've searched and have not found any notes as of yet.
    Thank you,
    -Andy

    Dear Andy,
    Please raise this to SAP, seems like a strange problem this needs to be addressed by OSS note only.
    Close this thread once you get a solution.
    Regards.
    Den

  • Using Variables in WAD

    Hi gurus
    I have created variables for Calender Year and posting periods for the value ranging from and to. Now i have created a web template for this query and i want to see the variables in my web template.
    Please can anyone tell me how to do this.
    regards
    vijyakumar

    hi vijaykumar
       when u open the WAD u find a new template. On the left hand corner u find properties under which u have 2 tabs generic and web item. under web item u have the option force variable screen.
    Drag the web item u want to display onto the new template. Now u can see the properties of that web item in the left hand corner. there u have two types of properties. Specific and general. under specific u find the properties u are looking for.
    hope i m clear this time.
    thanks
    sairam

  • Formula Variable in WAD (Counts) Not Displaying

    Hi Gurus,
    I am using BI7.0.  I have a query that analyzes a charactersitic, such as Priority, uses 2 date (charactersitic[Create Date and Close Date) fields.  I created a new forumla variable, using a Replacement path, to calculate the difference between the dates to derive the difference between the dates and a formula variable to derive the average number of days between the dates.  That is working well.
    However, when using the Bar Graph or the Pie graph I can not see the value of the formula variable that contains the average number of days. 
    I am assuming that because the key figure is a formula variable and not a 'key figure' then I would need to remodel my date fields as Key Figures in order for the Web Items, such as Pie/Bar Charts to view them.
    Has anyone seen this before.....is there anything I can do at the query level in order for my formula variable to show up in the WAD?
    Thank you

    Pallavi
    You are correct.  I had to select the "show summary/total" on the Web Item properities and the results defaulted.
    Thank you

  • Text Variable in WAD

    Hi,
    I have a text variable. I created it in order to display beside the description of the query in BEx report.
    Now, I want to display the same thing in WAD.
    Half of the name of the query is static and half is dynamic...so requesting to let me know how can I proceed and do the same in WAD.

    Create a Text Element in WAD and attache the query as teh dataprovider to that Text Element.
    This will display whatever is there in the Query Description.

  • URL variables in WAD

    Hi Experts
    I'm using a query with variables and in my WAD report I let the user change the variables and then by using URL variables I re-call my template with the changed variables value. The issue is that, by working like that whenever the user change a variable, I re-call the template with it's original settings and I loose all drilldowns that the user already done in the report.
    Is there any way to transfer the current drilldowns in the URL?
    Or is there any other way to change variables and affect the report without re-calling the template through URL?
    Is there anything new in BI7 for that matter?
    Thanks
    Shlomi

    Hi Arun
    Sorry for the multiple postings.
    In any case maybe I didn't explain myself well.
    I'm not using the original variable screen, I have created one of my own and I refresh the data by calling the web template again with the new variables value in the URL.
    In that case the original template comes up without saving the current navigation.
    Shlomi

Maybe you are looking for

  • How do I use my old (no service)Verizon iPhone 4s in Europe?

    Hello! I have an iPhone 4s (Verizon) that no longer has any service. I'd like to use it with a European SIM card on vacation. I can't find what steps I need to take to be able to do this. Do I still need to call Verizon? Is there a way to do it witho

  • How to transfer purchased movie from itunes to Windows 7

    I purchased a movie from itunes, played it on my mac, now I want to play it on a PC running Windows 7.  How can I transfer it? Thanks,  Mike

  • WL 5.1 and SDK4

    Hi, Because I have to connect to Weblogic from a COM Client (ASP), I have to start WL with the SDK instead of the JDK. But when I start the server the following error occurs: The WebLogic Server did not start up properly. Exception raised: java.lang.

  • Flash and HTML Intergration

    I know this has been asked before but after 2 hours of googling I am still confused. Most discussions were too old and not relavant anymore. any. here is what I want to do. I have created a Flash website. http://www.magnoliaparkburbank.org. The clien

  • IPhone : how to type french chars with accents

    how can I type french chars like é è à ç with the iPhone keypad thank you for your help Message was edited by: cmr&xpg