How to switch between two query in Web templete.

Hi all,
  Here i am facing problem to switch between two query in web template by using one 'table' web item. is there any way to use hyperlink 'SAP_BW_URL' and we can switch to query. here i am using these HTML code..
<table><tr><td class="SAPBEXBtnStdBorder" cellspacing="0" cellpadding="0" border="0"><tr><td>
<table><tr><td class="sapbexbtnstd" ><A href="<SAP_BW_URL cmd='reset_item' item='table_data' query_ID='ZSD_ZSD_M01_Q20' apply_cmd_on_target= "X">" >Switch to other query</A></td></tr></table>
but i am not getting correct functionality.
please help me to solve this problem.
I know the best way to say thanks in SDN.
thanks
Kiran Patel

Kiran,
  Use the web api reset_data_provider as links or in select option in HTML.
   Onchange event of this select option should call JAVASCRIPT method and
   this in turn resets the current dataprovider to your concerned one.
   How to change graphs:
   The graph item has the default data provider:
   <object>
         <param name="OWNER" value="SAP_BW"/>
         <param name="CMD" value="GET_ITEM"/>
         <param name="NAME" value="CHART_1"/>
         <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_CHART"/>
         <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
         <param name="TMP_CHART_DATA_HANDLE" value="IIP_49MOXB0UVNOMM6JOZMZU7QO21"/>
         ITEM:            CHART_1
   </object>
  So if you change the DATAPROVIDER_1 using RESET_DATA_PROVIDER to your concerned DP, this changes chart as well !!
   Please use this method and refer to sample code for Onchange Event on SELECT OPTION:
  <HTML>
<HEAD>
<script>
function callDP() {
     if(document.forms[0].dp.value == "1") {
        //form your URL here..
       url = SAP_BW_URL_Get() + "&CMD=RESET_DATA_PROVIDER&DATA_PROVIDER_1=..&...";
        SAPBWOpenURL(url);
        //or docuemtn.location.href = url..
        //etc..
</script>
</HEAD>
<BODY>
<form>
<select name="dp" onChange="javascript:callDP();">
<option value="1">1</option>
<option value="2">2</option>
</select>
</form>
</BODY>
</HTML>
HOPE THIS HELPS !!!

Similar Messages

  • How to switch between two databases

    Hi,
    I have a requiremet of using two databases for one of my projects. one which have login related data and second database is having the actual client data.
    my question is " how can i configure single java application to switch from one database to another database? "
    Thanks in advance.

    use two connections, one per database, of course.
    %

  • How do I quickly* switch between two Skype account...

    I have a need to be able to quickly* switch between two Skype accounts on my Windows 7 desktop computer.
    Both accounts have high-security difficult-to-remember and hard-to-type passwords.
    Many products have a facility for doing this, remembering recent account/password combinations, or having linked accounts.
    Does Skype have a way of doing this?
    And if it doesn't, how do I request it get one be developed?
    I use a password manager, LastPass, but of course Skype isn't a browser so it doesn't work with Lastpass.
    * "Quickly switch" means without switching computer sign-on accounts and without re-typing the high-security difficult-to-remember and hard-to-type passwords many times per day.
    I understand you're all volunteers.  Thank you very much for your efforts on this.
    - Keith
    Solved!
    Go to Solution.

    This can be done by setting up an another Skype client in a separate directory and with a shortcut containing the extra /datapath, /removable and /secondary switches.
    http://community.skype.com/t5/Windows-desktop-client/Why-did-Microsoft-have-to-go-and-ruin-Skype-lik...
    For your purpose you can make use of a copy of Skype.exe of the already installed Skype application.

  • Use of  "findByMultipleParameters" for   "OR " between two Query Filters

    Hi,
    I am also working in CE7.1 .I have  a query regarding the use of  "findByMultipleParameters" .
    That is how to use "OR " between two Query Filter condition,because if we add multiple queries into Query Filter List it will by default taking "AND " .
    For an example, I have to pull data from a table/BO with a condition col A = 10 OR ( col B > 100 AND col c = "XYZ") .
    My code snippet looks like given below.......
    List queryFilters = new ArrayList();
    QueryFilter queryFilterOne = QueryFilterFactory.createFilter("ROLLUMBER",Condition.EQ, rollNumber);
    QueryFilter queryFilterTwo = QueryFilterFactory.createFilter("NAME",Condition.EQ, "123");
    queryFilters.add(queryFilterOne);
    queryFilters.add(queryFilterTwo);
    List students = studentServiceLocal.findByMultipleParameters(queryFilters, false, "xyz");
    I have tried all these and found all of them deprecated,Please suggest something appropriate.Your quick response will help a lot.
    //queryFilterOne.setAction(QueryFilter.OPERATION_OR);
    //QueryFilterFactory.createBoolOperator(queryFilterOne.OPERATION_OR);
    //queryFilters.add(QueryFilter.OR);
    //queryFilters.add(queryFilterOne.setOperation(QueryFilter.OPERATION_OR));
    My another Query is what is the role of implCheck(Boolean),findByName(String) in "findByMultipleParameters()" ?
    Thanking you for your help in advance.
    Regards,
    Sonali
    Edited by: Sonali Das on Sep 14, 2010 2:32 PM

    Hi Praveen/Harris,
    As Mr Bhanu said , we can get the result by using formula variable defined on attribute with replacement path as processing type.
    There is document in https://websmp101.sap-ag.de/bi
    in infoindex->How to Calculate with attributes
    To findout the difference between formula variable and current date, define one more formula variable with processing as custoemr exit.And fill this variable with sy-datum or something else.
    with rgds,
    Anil Kumar Sharma .P

  • How can I create a query with web service data control?

    I need to create a query with web service data control, in WSDL, it's query operation, there is a parameter message with the possible query criteria and a return message contains the results. I googled, but cannot find anything on the query with web service. I cannot find a "Named Criteria" in web service data control like normal data control. In Shay's blog, I saw the topics on update with web service data control. How can I create a query with web service data control? Thanks.

    Hi,
    This might help
    *054.     Search form using ADF WS Data Control and Complex input types*
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html

  • How to switch between messages in the BlackBerry Hub

    With the release of BlackBerry 10 version 10.1, we’ve added a new gesture to the BlackBerry Hub that allows you to quickly switch between your next and previous messages. It’s simple: while viewing a message drag your finger from the left to the right and in one continuous motion swipe up or down.
    For example, in the following screenshot you’ll notice I am viewing ‘Test 08”. To get to the next message, “Test 09”, all I need to do is swipe from left to right (red arrow) followed by swiping up (green arrow) in a single motion. To switch to the previous message, “Test 07”, I complete the same gesture, but swipe down instead (blue arrow).
    Tip: Using a BlackBerry Q10 or Q5? On top of using this gesture to switch between messages, you also have the option of pressing the N key to view your next message, or the P key to view a previous message.
    If this gesture doesn’t appear to be working on your device, verify you are using BlackBerry 10.1.0.4181 or later by going to Settings > About and reviewing the OS Version field. If the OS Version is lower than 10.1.0.4181, check for updates by going to Settings > Software Updates.
    For more details about the availability of BlackBerry 10.1, check out Inside BlackBerry’s post on BlackBerry 10 Software Updates.
    VIA | helpblog.blackberry.com
    http://helpblog.blackberry.com/2013/10/how-to-switch-between-messages-in-the-blackberry-hub/
    Please thank those who help you by clicking the button.
    If your issue has been solved, please resolve it by marking "Accept as Solution"

    I would set up a variable before you get to that node, lets call it $EmpID and assign to it the value of the prompt you want to play lets say 12345 which would be the library promptID. It will then play prompt, get digits, and once you validate if it goes through the expression that flags it as invalid, in that node re-declare the variable, but this time give it the value of the new prompt you want to play, then sent it back to the node which will then play the new prompt and collect the digits.

  • MSI R9 290 How to switch between Gaming Modes?

    Hi, I just got a MSI R9 290... with Afterburner installed. This card has 3 preset modes that are supposed to be easy to switch between OC Mode 1007Mhz, Gaming 974Mhz, Silent 947Mhz... How do I switch between modes? I just tried to up the MHz in Afterburner and must have done something wrong, becuase I froze everything instalntly and had to reboot. Can someone please advise me how to switch between these modes? Do I have the right software installed, Afterburner or is there another suite specificly for this card? I did not install the card, and sorry I am a noob when it comes to OC. . . Noob to gaming in general, but I am getting some pretty bogus 30FPS on a 2012 game, LA Noire, which shouldnt even be demanding for t

    Quote from: kris.meaney on 07-March-15, 18:45:04
    This card has 3 preset modes that are supposed to be easy to switch between OC Mode 1007Mhz, Gaming 974Mhz, Silent 947Mhz... How do I switch between modes?
    You need the Gaming APP for switching (not Afterburner): http://download.msi.com/uti_exe/gamingApp.zip
    Afterburner is for manual overclocking (for advanced users) if not using the modes.

  • How to switch between markets in AppStore?

    How to switch between markets in AppStore? It says that I cannt buy in Russian market because my account registered in other

    Follow the directions here:
    http://support.apple.com/kb/ht1311

  • Can any one tell me how to talk between two controller.....

    Hi,
    Can any one tell me how to talk between two controller.....
    Help will be awarded.
    Regards,
    Gurprit Bhatia

    Hi Gurpit,
    If you want to share data between 2 controllers then you can simply do that by providing a data link between the controllers in your data modeler.
    If you want to use some methods of one controller in another then you can do it using
    wdThis.wdget<controller name>().<method name>();
    If your question is something different than this then please elaborate your requirement.
    Regards,
    Murtuza

  • Question How to switch between tabs automatically? for example every 30 seconds

    Question
    How to switch between tabs automatically? for example every 30 seconds

    Tab Mix Plus has that feature.
    *Tab Mix Plus: https://addons.mozilla.org/firefox/addon/tab-mix-plus/

  • AS: how to switch between screen modes?

    hi @ all,
    does anybody know how to switch between the 4 screen modes in ps cs3?
    - standard
    - maximized
    - full screen with menubar
    - full screen
    I looked around but could not find anything discribing a way doing this by applescript.
    the only thread I found
    http://www.adobeforums.com/webx/.3bc85cba/0
    refers to javascript but I was not able to adopt it.
    thanks for any help
    Claus

    To do it with AS only, you need to simulate the "f" key with System Events:
    tell application "System Events"
      tell process "Adobe Photoshop CS3" to keystroke "f"
    end tell
    That will loop thought the screen modes as if you did it manually.
    To run the JS from the other thread, you need to use the "do javascript" command. Remember to escape all the quotes in the JS:
    tell application "Adobe Photoshop CS3"
      do javascript "var screenModeOptions = new Array(4);
         screenModeOptions[0] = \"screenModeStandard\";
         screenModeOptions[1] = \"screenModeMaximized\";
         screenModeOptions[2] = \"screenModeFullScreenWithMenubar\";
         screenModeOptions[3] = \"screenModeFullScreen\";
         applyScreenMode(screenModeOptions[0]);
         function applyScreenMode(mode){
          var desc = new ActionDescriptor();
          var ref = new ActionReference();
          var menuID = stringIDToTypeID( mode );
          ref.putEnumerated( charIDToTypeID( \"Mn  \" ), charIDToTypeID( \"MnIt\" ), menuID );
          desc.putReference( charIDToTypeID( \"null\" ), ref) ;
          executeAction( charIDToTypeID( \"slct\" ), desc, DialogModes.NO );
    end tell
    The JS is the better solution if you wanted to skip directly to the desired screen mode without looping through the others.
    Carl.

  • White box appears while switching between two desktops

    Hello all,
    Since few weeks I have a problem when I switch between two Desktops. Everytime I switch between them a white box appears in the left corner of my screen (see screenshot).

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Switching between two languages

    Is there any easy way to switch between two languages - Pingyin and English. At the moment, I have to go to settings and change the language and then go to Keyboards and delete Pingyin.
    iPhone 5s with IOS 8.1.1.
    Thanks.

    That's what the "globe" key is for.

  • How change information between two Web Applications?

    Hi,
    Has anyone any code sample or article how to build
    a "bridge" that would change data stored into session and servletcontext
    between two separete web application in same servlet engine?
    What I have understood is that they can not normally share same
    session or servletcontext data...
    Thanks,

    Hmm...
    Text in this Sun's tutorial says:
    "This lesson, however, shows you what to do if your servlet requires a resource available from its own server"
    The actual problem is following:
    - In Web Application 1 servlets/jsps stores data into session object and servletcontext
    - then user can request a page in Web Application 1 which should "activate/launch" Web Appilication 2 and
    pass some session objects or objects stored into servletcontext from Web Application 1 to Web Application 2.
    How to do this, it's the problem.

  • How to define the dynamic navigation between two component in web ui

    Hi All,
    I have a requirement to create a new assignment block in accounts overview screen .
    1.Created new view(Table view) in the BP_HEAD component.
    2.Created new button on the table view toolbar .
    3.If the user clicks the new button it should navigate to interaction log component(BT126H_CALL).
    Please hekp me step 3 how to do .
    I have checked planned activity assignment block in the account but is dynamic navigation.
    Please explain me how to define the dynamic navigation between two components.
    What is window delegate .
    Thanks,
    Venkyy

    Hi ,
    Kindly follow the link , this will be helpful for your issue :
    http://wiki.sdn.sap.com/wiki/display/CRM/CRM-NavigatingtoyourcustomBSP+component

Maybe you are looking for

  • Using the Apple Universal Dock with an old amplifier?

    Hi, Yesterday, I bought the universal dock to hear the music I have on my iPhone on my home stereo, an old amplifier (NAD C320), connecting them with an 3.5mm <-> 2 RCA cable. I hear a little noise every 10 seconds, but there's no music. I did the sa

  • Export-RTF is not working in CS3

    Dear Guys, I'm new to this field. With reference of InDesign CS3 scripting guides i exported TXT output from an InDesing Document. But i cannot export RTF Output. Can anyone help me on this? Thanks SaRaVaNaN.N

  • Trying to Insatll Oracle Internet Directory 10g release 1

    I am trying to install OID 10g release 1 when it gets to the point where it is running the Internet Directory Configuration Assistant it fails with the following message: oracle.ldap.util.CommunicationErrorException: Unable to establish connection to

  • Consumption Level / measurement

    is anybody know the best transaction to be used in order to get the average consumption (per day, week, months,...) for a raw material? This transaction should provide real time updated information. At least to get the total consumption instead of th

  • How do I sync my files from TC back onto my new computer

    Im trying to sync my files from my TC back onto my new computer, but I forgot the password and I don't understand how to reset the TC password..