Performance of set variable command in WAD

Hi all
    The set variable command in WAD is performing really badly. Can somebody please help me to identify how to decrease the response time.
thanks in advance

Hi Vikram,
your link to SAP Help is wrong. It refers to BW 3.5 (NW04), but your URL looks like BW 7.0 (NBW04s). So you need another SAP Help link. Try this one:
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/43/ef05462480025ae10000000a1553f7/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/43/ef05462480025ae10000000a1553f7/frameset.htm</a>
Regarding to example 3 your link should look like this:
<a href="http://sthbmdm8dv.client.com.50000http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=ZPlan_W00500&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=zplan_appid&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=10002002">http://sthbmdm8dv.client.com.50000http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=ZPlan_W00500&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=zplan_appid&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=10002002</a>
If the variable screen starts up, you should suppress it in template properties.
best regards
ARNE
Edited by: Arne Witte on Jan 18, 2010 6:40 PM

Similar Messages

  • Set variable command

    Hi all
        The set variable command in WAD is performing really badly. Can somebody please help me to identify how to decrease the response time.
    thanks in advance

    Thanks for your response In our planning scenario there is a data provider which is filtered using a variable. When a row is selected in an analysis item table (which uses another data provider), the variable is set to use the characteristic value of the selected row. This is done using a u2018SET_VARIABLESu2019 command in WAD. Without using the SET_VARIABLES command the performance is acceptable but when SET_VARIABLES is used the performance is slow.

  • WAD drop-down box and commands on Set Variable values/ Set Filter Values

    Hello to all
    I am confused in WAD and Help online couldn't clarify my concerns. Thus here following issue:
    I am using a WAD, where the data provider (query)  is set dynamically. I would like that
    1 user selects company in  drop-down-box 1
    2 I use commands on drop-down-box 1 to manage the next drop-down-box 2 ( like it becomes input ready)
    3 user selects plant in drop-down-box 2
    4 User selects a tab strip A, where report A of multiple reports is placed. Now in this moment I assign the query A to the data provider A.
    Now my questions:
    - I am not clear how to use the bex-variables required for the query ( like company and plan). If I use in drop-down variables, then I can't set anymore commands
    - What means and makes the command set_variable_state
    - What means and makes the command set_selection_state
    Thanks a lot for your clarification and help
    Christian

    Hi Christian,
    I will try and answer your Qs
    - I am not clear how to use the bex-variables required for the query ( like company and plan). If I use in drop-down variables, then I can't set anymore commands
    >> Can you explain how exactly are you trying to populate the DropDown webitems for Company / Plant data for user-selection.
    - What means and makes the command set_variable_state
    >> SET_VARIABLE_STATE is used to assign input values to your query variables. Here, the command gives you a range of input options to select from such as Characteristic/Text/Formula/Hierarchy Variables & Binding Type Selection. Binding Type Selection in addition gives you more options such as assigning manual input from a Text webitem [ITEM_INPUT], assigning value from another Variable [VARIABLE], or simply assigning the selected value from an underlying Data Provider such as one mapped to a DropDown webitem [DATA_PROVIDER_CHARACTERISTIC].
    - What means and makes the command set_selection_state
    >> SET_SELECTION_STATE is used to assign input values to Characteristics in your query. It serves as a Filter option.
    I think in your case using SET_VARIABLE_STATE makes more sense. You can use Binding Type Selection with [DATA_PROVIDER_CHARACTERISTIC] on both the DropDown webitems to assign the values of Company / Plant to the query on runtime.
    --Priya

  • Problem with Variable screen in WAD

    Hi ,
    I have a problem with variable screen in WAD , in the varable seen it is displaying only Key , it is not giving any description , but in BEX is is displaying both Key and Description , can any only have an idea why is this happening . this is occuring only for one variable , rest are working fine .
    Thanks,
    Abraham

    Hi Abraham,
    thsi could be a problem from the specisic setting of the infocube. Please check the BEx Settings from the infocube. You can find them by the following steps:
    - search for the infocube
    - doubleclick on the infocube
    - choose an specific infoobjekt
    - right mousebutton and click "specific dataprovider settings"
    - check if the right entries are set
    Hope this will help.
    André

  • Setting the command prompt...

    Can anyone tell me what I would use to set the command prompt?
    On HP-UX, I would reset the PS1 variable...
    i.e. PS1="
    \$ID @ \$HOST | \$PWD
    --> "
    On Linux, I would reset it as follows:
    i.e. PS1="
    \u @ \h | \W
    --> "
    Neither of these seems to work here...
    I tried the following, and it give me the correct visual layout, but the values don't change when you change directories:
    i.e. PS1="
    `whoami` @ `uname -n` | `pwd`
    --> "
    Any help would be greatly appreciated...

    Hi,
    Changing Your Command Prompt
    The syntax you use to change your command prompt depends on whether you are using the Bourne,
    Korn or C shell.
    Bourne and Korn Shells
    For the Bourne or Korn shells, you redefine your command prompt with the PS1 command. The
    following are three examples:
    PS1=": "
    PS1="`hostname`: "
    PS1="`hostname`{`id`}}: "
    The first example sets the prompt to a colon (:), followed by a space.
    The second example creates a prompt consisting of your machine name followed by a colon and a
    space.
    The third example sets the prompt to your machine name, followed by your login name in braces
    {}, a colon, and a space.
    Type any of the examples above to change your current command prompt. The prompt will remain until
    you change it again, or logout.
    If you want to make your changes more permanent, add one of the above examples (or a prompt of your
    own creation) to your .profile file. If you do this, the prompt you specify will appear each time you
    login in or start a new shell.
    C Shell
    For the C shell, you personalize your command prompt with the set prompt command. The following
    are three examples:
    set prompt="% "
    set prompt="`hostname`\!: "
    set prompt="`hostname`{`id`}}: "
    The first example sets the prompt to the percent sign, followed by a space.
    The second example creates a prompt consisting of your machine name followed by the history
    number of the command (hostname1, hostname2, hostname3, and so on).
    The third example sets the prompt to your machine name, followed by your login name in braces, a
    colon, and a space.
    Type any of the examples above to change your current command prompt. The prompt will remain until
    you change it again, or logout.
    If you want to make your changes more permanent, add one of the above examples (or a prompt of your
    own creation) to your .cshrc file. If you do this, the prompt you specify will appear each time you login
    in or start a new shell.
    Revert back.
    Thanks.
    Senthilkumar
    SUN - DTS

  • How to set variables values via VBA.

    Anybody please help.
    How to set variables values via VBA in workbook. SAP Netweaver 2004s.

    Pass variable values with VBA and BI 7.0 funtions to Query
    At first a remark u2013 Iu2019ve read a lot of threads saying that passing values to a query can be done by using VBA code only. Iu2019ve tested it but Iu2019m not sufficient with the new BEX 7.0 API and therefore I use a mixture of BEX 7.0 funtionality and VBA. I create a BEX 7.0 design item button passing the values to a query u2013 I hide this button somewhere on the sheet or on a hidden sheet and I then raise the event to click the button from VBA code. Works fine and the maintenance is easier if something changes in the API in the future again.
    How to start:
    Switch to design mode in BEX Analyzer:
    Implement a BEX 7.0 design item u201Cbuttonu201D
    Click on the button to implement the properties
    Make the input for the commands
    data_provider = dataprovider_1
    cmd = process_variables
    subcmd = var_submit
    No comes the part with the variables u2013 Letu2019s assume a query has 4 variables but you only want to change 1 with the button u2013 an organizational unit for instance.
    Make a range somewhere in the excel with the following structure:
    Name    Index   Value
    VAR_NAME_1      1       Variablename
    VAR_VALUE_EXT_1 1       variablevalue
    Value should contain the name of your variable of course and u201Cvalueu201D the value of your variable
    Set a name for this range with EXCEL functionality but without the header:
    Back to the properties of the button: Insert the name of the range with the variables in the field Command Range:
    If you have more variables to process you can of course enhance your Filterrange!
    In the left upper Corner you have a name for your button:
    Now you can raise the button-click in vba like this:
    Application.Run "'" & ThisWorkbook.Name & "'!Sheet2.BUTTON_35_Click"
    regards, Lars

  • How to call a set variable?

    Greetings,
    I am creating an apple script that runs a netstat command to grab an IP address. This works.
    The "Set Value of Variable" (called XX) shows the IP address that netstat runs.
    The next apple script activates "Terminal" just fine.
    Within Terminal, I want to tell it to "telnet" to the IP address from the Set Variable and this is where I am stuck. How do I tell it what "XX" is?
    Thanks,

    If it is the only input item in the input (previous actions can contribute to the input), your statement would be something like:
    set DG to item 1 of the input
    If you are only using the variable in your second AppleScript action, you can also just combine them:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into an Automator 'Run AppleScript' action">
    on run {input, parameters}
    set DG to (do shell script "netstat -nr | grep -w 'default' | awk '{print $2}'")
    tell application "Terminal"
    activate
    do script "telnet " & DG
    end tell
    return input -- pass on the input
    end run
    </pre>

  • ForEach not initiating Set-Mailbox Command

    Script retrieves all User Mailboxes where AuditEnabled equals false then it's supposed to set those users to "true" but for some reason it is skipping my Set-Mailbox command.  I know the variable I'm passing contains data so that's not the
    issue and I've tried different syntax but I'm missing something.
    #Mail Server Variables
    $FromAddress = "[email protected]"
    $RelayMailServer = "relay.domain.com"
    $ITSupportEmailAddress = "[email protected]"
    #Connect to Office 365
    $password = ConvertTo-SecureString "password" -AsPlainText -Force
    $cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList [email protected],$password
    $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic -AllowRedirection
    $importresults = Import-PSSession $s
    $today = Get-Date -Format d
    # Define font and font size
    # ` or \ is an escape character in powershell
    $font = "<font size=`"3`" face=`"Calibri`">"
    $UsersList_AuditDisabled = @()
    $userslist_auditdisabled += Get-Mailbox -filter {RecipientTypeDetails -eq 'UserMailbox'-and AuditEnabled -eq $false} |select userprincipalname, auditenabled
    If ($UsersList_AuditDisabled -eq $null) {$UsersList_AuditDisabled = "No Users to Report"}
    else {
    $auditfile = "C:\Office365\AuditUsers.csv"
    $userslist_auditdisabled | sort userprincipalname | Export-Csv $auditfile -NoTypeInformation}
    $userslist_auditdisabled | ForEach
    Set-Mailbox $_.userprincipalname -AuditEnabled $true -ErrorAction 'SilentlyContinue'
    If ($UsersList_AuditDisabled){
    $msg = new-object Net.Mail.MailMessage
    $att = new-object Net.Mail.Attachment($auditfile)
    $smtp = new-object Net.Mail.SmtpClient($RelayMailServer)
    $msg.From = "[email protected]"
    $msg.To.Add("[email protected]")
    $msg.Subject = "Audit Users Enabled"
    $msg.Body = "Attached is the list of users who have Auditing Enabled."
    $msg.Attachments.Add($att)
    $msg.IsBodyHTML = $true
    $smtp.Send($msg)
    $att.Dispose()}
    Remove-PSSession $s
    #Clear all variables
    Clear-Variable audit* -scope global

    Hi,
    First thing - remove -ErrorAction SilentlyContinue from Set-Mailbox and run it again. Any errors?
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Using Spry Data Set Variable in Recordset

    I have a page that contains a spry data set and a recordset. The recordset uses one of the variables from the spry data set to filter its results. how do I apply the spry data set variable to the recordset?

    I believe passing this the variable through the URL requires you to update the page, right?
    Yes
    Is there anyway to grab the spry data set variable direct and apply it to your recordset filter?
    The SpryDataSet variable can only be used on the clientside (JavaScript) so you will have to get your recordset using JS.
    A page refresh can be set in motion if you add {useCache: false, loadInterval: 500} to your dataset to then set an observer to your dataset to invoke the page refreash function.
    Gramps

  • OBIEE 10g - Can I use logical SQL to set variable?

    I am trying to set value of a session variable in the Advanced tab Prefix box of a request.
    Assigment of absolute value like this is working good:
    SET VARIABLE MYVAR=1;
    Can I set the variable using logical SQL? Something like:
    SET VARIABLE MYVAR = (SELECT table1.col1 from catname where table1.col2=1)
    Thanks in advance.

    Hi,
    You can create a session variable or dynamic variable in the RPD and try using it in here at the Advanced Tab prefix.
    But still check yourself if you need multiple values returning in the SQL statement.
    Hope this is helpful/ useful.
    Regards
    MuRam

  • How to Read Variable Values in WAD 7.0 Using JavaScript

    I found a how to: How to Read Variable Values in WAD 7.0 Using JavaScript on SDN.
    I get a Javascript error:
    bics.getElementsByTagName is not a function
    vars = bics.getElementsByTagName("VARIABLES")[0]; // <VARIABLES>
    Thats my script:
    function currency()
    var varnm = "SFS_CP_CURR"; // Name of the variable to be read
    root = document.childNodes[0]; // <HTML>
    body = root.getElementsByTagName("BODY")[0]; // <BODY>
    xml = body.getElementsByTagName("XML")[0]; // <XML>
    bics = xml.childNodes[0]; // <BICS_VIEW>
    vars = bics.getElementsByTagName("VARIABLES")[0]; // <VARIABLES>
    varl = vars.getElementsByTagName("VARIABLE"); // gives no. of variable in DP
    for ( i = 0; i <= varl.length; i++ ) // Loop one by one
    vari = vars.getElementsByTagName("VARIABLE")<i>;
    varnam = vari.attributes[0].text; // get variable name
    mem = vari.getElementsByTagName("MEMBER")[0];
    varval = mem.attributes.getNamedItem("name").value; // read variable value
    if (varnam == varnm) //check varname in loop needs to be read
    if (varval == "ZMON") // check for value1 and fire command1
    SFS_CP_M();
    if (varval == "ZKON") // check for value2 and fire command2
    SFS_CP_K();
    break;
    Where's the mistake?

    I'm afraid I haven't made my question understood clearly.
    What I am looking for is a method to get the value of variable inside excel (e.g. put it into a cell / range of a worksheet, so that we can reference it and use it as an input for planning function execution).
    Please advice.
    Thanks in advance,
    Shady

  • Need help with Different approaches to setting variables in a Flash movie in Adobe Flash CS3 Professional Version

    Hi,
    I'm using Adobe Flash CS3 Professional version of Flash
    software,
    I need help and guidance on
    Different approaches to setting variables in a Flash movie,
    what I should do in the fla file, and in the html file.
    Thanks, Gil

    Hi petro_jemes,
    Just a little claritification, you need to add the value to the variable "[string]$ou", and also change the language in the variable "$emailbody" in the function "Get-ADUserPasswordExpirationDate".
    I hope this helps.

  • How to set user command in module pool program

    hello expert,
    like in report: PARAMETERS: RB_SING RADIOBUTTON GROUP RAD3 DEFAULT 'X' USER-COMMAND C1.
    in module pool program, hw to set user-command in screen.
    srinivas

    PBO.
    Call subscreen <SUBSCREEN NAME> Including sy-repid(PROGRAM NAME) G_DYNNR(SCREEN NUMBER'.
    PAI
    module user_command.
    Call subscreen <subscreen name>
    Module user_command.
    case sy-ucomm.
    when 'BUT1'.
    g_dynnr = 200.
    when 'BUT2'.
    g_dynnr = 300.
    Endcase.
    end module
    REPORT demo_dynpro_tabstrip_server.
    CONTROLS mytabstrip TYPE TABSTRIP.
    DATA: ok_code TYPE sy-ucomm,
    save_ok TYPE sy-ucomm.
    DATA number TYPE sy-dynnr.
    mytabstrip-activetab = 'PUSH2'.
    number = '0120'.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
    SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE cancel INPUT.
    LEAVE PROGRAM.
    ENDMODULE.
    MODULE user_command INPUT.
    save_ok = ok_code.
    CLEAR ok_code.
    IF save_ok = 'OK'.
    MESSAGE i888(sabapdocu) WITH 'MYTABSTRIP-ACTIVETAB ='
    mytabstrip-activetab.
    ELSE.
    mytabstrip-activetab = save_ok.
    CASE save_ok.
    WHEN 'PUSH1'.
    number = '0110'.
    WHEN 'PUSH2'.
    number = '0120'.
    WHEN 'PUSH3'.
    number = '0130'.
    ENDCASE.
    ENDIF.
    ENDMODULE.
    flow logic of the screen 100
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    CALL SUBSCREEN SUB INCLUDING SY-REPID NUMBER.
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    CALL SUBSCREEN SUB.
    MODULE USER_COMMAND.
    flow logic of the screen 110
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    flow logic of the screen 120
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    flow logic of the screen 130
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    REGARDS
    VASU

  • ODI-SET VARIABLE IN PACKAGE

    HI.
    I am using odi11g.
    i set variable "STARTTIME" To sysdate .
    And "END_DATE" to a default value-- '20-JUNE-1981'.
    Now in package i dropped the variable "end_date",and put the TYPE to "SET VARIABLE" and the value as below:
    #VARIABLES_STARTTIME.[ The projects name is VARIABLES]
    But the value of "end-date" isnt getting reset to STARTTIME.
    should there be a different syntax.

    HI,
    Refresing the variable is working thanks.BUT i was trying to use the variable in a loop.
    Where when the package is run fo rthe 1'st time the variable 'LAST_UPDATE' value should be '20-JUNE-1981' and then it should get set to the value present in 'STARTTIME" for the next time the package is run.
    So, in this case, i need to set the value of the variable in the package itself.
    #VARIABLES.STARTTIME isnt getting set.
    i tried the package as per the below link:[ i use odi1g though]
    http://blogs.oracle.com/dataintegration/entry/using_variables_in_odi_the_tim

  • CFCs setting variables

    I am getting a bit confused with cfcs using cfreturn and
    cfinvoke please be patient!
    1.Setting variables in cfc
    In this example cfc I make a query. The cfreturn tag does
    <cfreturn expression /> as I understand it. I don´t
    understand how you define the expression - can you return
    arguments, any column I like in variables? How do I do that?
    <cfcomponent><cffunction><cfargument
    name="user">
    <cfquery name="checkuser">
    select col1, col2, col3, col4, col5, col6
    from user
    where .....=....
    </cfquery>
    <cfreturn checkuser.col1>
    2. Calling cfc:
    In cfinvoke you call a variable using returnvariable="". Is
    it true that the variable doesn´t have to have the same name
    as in the method that the cfinvoke tag is calling? What does return
    variable call? How do I define what it calls?

    In any cffunction, inside or outside a cfc, if you are going
    to return a value, you use the cfreturn tag. You can return
    constants like true, 1, "Dan is so smart", or variables. What you
    return has to be consistent with the returntype attribute of your
    cffunction tag.
    When you invoke a variable, you can use any name you want as
    the return variable. In theory, you don't even know any variable
    names inside the function. The return variable does not call
    anything. It accepts what the function returns.
    It is the cfinvoke tag that calls something. You control what
    it calls with it's attributes.
    Further details are in the cfml reference manual.

Maybe you are looking for

  • NetworkManager: no internet connection when using dhclient

    By default, I get connected to my wireless network, but I don't have access to the internet. I can solve this in 2 ways : 1- I can add the line dhcp=internal in NetworkManager.conf. 2- I can type the command sudo dhclient wlan0. (I did add a kernel s

  • 2nd gen Shuffle not syncing blinks green and orange

    My mom got a new computer. I installed Itunes and connected her 2nd gen Shuffle which previously had been administrated by her niece's computer. I deleted all music,restored to factory settings, bought new music but am unable to get music on her shuf

  • Non Domain computers accessing Report Manager.

    I'm using SQL 2012 and am having a hard time finding documentation on how to turn off authentication for the Report Manager.  All i want to do is having some computers that are not on our domain be able to pull up a report without getting prompted wi

  • My password will not allow me into my ipod touch

    Hi all, I have my ipod touch only a short while, I have availed of the password facility and it worked well until just recently when I entered my password and didnt get into my ipod. the music seems to be still playing on random and it wont stop. I d

  • OutOfMemoryError when connecting to BC4J deployed as EJB in Oracle 8i

    I have deployed a simple Application Module as an EJB in the Oracle 8i. I tried to connect to it with the following code: Hashtable env = new Hashtable(2); env.put(Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY); env.put(JboContext.D