BW Report iView - Buttons to create graphs on the fly

I once created a BW report through the portal and it had buttons at the top so once I had filtered my query the way I wanted it I could click the graph button at the top of the screen and automatically graph it.  That was very cool!  Now I can't remember how I got that option to appear?  There was a whole row of icons at the top of the screen, for example one was a pie graph, one was a bar graph, one was an Excel icon, one was CSV I think...
How do I get those to appear?  I used Web Application Designer and then referenced it via the portal iView.  I don't see the option for the toolbar anywhere and I'm baffled how I did it before.

add the following lines of code to your webtemplate.
<table  align=right  cellspacing="1"  bordercolor="#111111"  id="AutoNumber1" style="border-collapse: collapse">
      <tr>
       <td  >
<A href="#Navbar">
<IMG title=<SAP_BW_TEXT program='SAPLRRSV' key='742'> alt="<SAP_BW_TEXT program='SAPLRRSV' key='742'>" src="/sap/bw/Mime/BEx/Icons/pixel.gif" border=0 ></A>
<A  href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*GR1*&MULTI=X&HIDDEN=''>"><IMG alt="<SAP_BW_TEXT program="SAPLRRSV" key="622">" src="Mime/BEx/Icons/S_B_TVAR.gif" border=0></A></td>
<td  > |</td>
<!-- Display Bar Chart--->
<td  >
<A href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=GR1GR2NavBlock&HIDDEN=' CMD_2='CMD=RESET_ITEM&ITEM=GR2Chart&WIDTH=600&HEIGHT=400&HIDDEN=&ITEM_ID=0QUERY_TEMPLATE_COLUMNSTACKED&GENERATE_CAPTION='>">
<IMG alt="<SAP_BW_TEXT program="SAPLRRSV" key="657">" src="Mime/BEx/Icons/S_GISBAR.gif" border=0>
</A>
</td>
<!-- Display Pie Chart--->
<td  >
<A href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=GR1GR2NavBlock&HIDDEN=' CMD_2='CMD=RESET_ITEM&ITEM=GR2Chart&WIDTH=600&HEIGHT=400&HIDDEN=&ITEM_ID=0QUERY_TEMPLATE_PIES&GENERATE_CAPTION='>">
<IMG alt="<SAP_BW_TEXT program="SAPLRRSV" key="658">" src="Mime/BEx/Icons/S_GISPIE.gif" border=0>
</A>
</td>
<!-- Display Line Chart--->
<td  >
<A href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=GR1GR2NavBlock&HIDDEN=' CMD_2='CMD=RESET_ITEM&ITEM=GR2Chart&WIDTH=600&HEIGHT=400&HIDDEN=&ITEM_ID=0QUERY_TEMPLATE_LINES&GENERATE_CAPTION='>">
<IMG alt="<SAP_BW_TEXT program="SAPLRRSV" key="659">" src="Mime/BEx/Icons/lines.gif" border=0></A>
</td>
<!-- Display 3D Bar Chart--->
<td  >
<A href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=GR1GR2NavBlock&HIDDEN=' CMD_2='CMD=RESET_ITEM&ITEM=GR2Chart&WIDTH=600&HEIGHT=400&HIDDEN=&ITEM_ID=0QUERY_TEMPLATE_3DCOLUMNS&GENERATE_CAPTION='>">
<IMG alt="<SAP_BW_TEXT program="SAPLRRSV" key="660">" src="Mime/BEx/Icons/columns_3D.gif" border=0></A>
</td>
<td  > |</td>
<!-- Display Export Excel--->
<td  >
<A  href="<SAP_BW_URL CMD='EXPORT' FORMAT='XLS' DATA_PROVIDER='DP' SUPPRESS_REPETITION_TEXTS=' '>">
<IMG alt="<SAP_BW_TEXT program="SAPLRRSV" key="T77"> <SAP_BW_TEXT program="SAPLRRSV" key="T72">" src="Mime/BEx/Icons/S_X_XLS.gif" border=0 ></A>
</td>
      </tr>
    </table>
Regards
Raja

Similar Messages

  • Change the text of a button in a form on the fly

    Hi all,
    I have a form that it is called from another form or from a report. I would like to change the text of the Update and Save buttons on the fly depending on who called it. For instance, if this form is called from the form I would like the Update button to say: "Save & Next", however if it is called from the report the button should say: "Save & Back to Report".
    How could I accomplish this if it is possible.
    Thanks

    I've got the problem fixed. For any of you that would like to know the solution is this. I added the following javascript at the end of an unstructured UI template where I have the form:
    <script language="JavaScript1.1">
    var inURL = false;
    for (i = 0; i < document.all.length; i++) {
         if (document.all.name != null) {
         if (document.all[i].name.indexOf("BACK_URL") > 0) {
                   if (document.all[i].value != '') {
                        inURL = true;
              else {
                   if (inURL) {
                        if (document.all[i].name != null) {
                             if (document.all[i].name.indexOf(".UPDATE") > 0 || document.all[i].name.indexOf(".SAVE") > 0) {
                                  var doc = document.all[i];
                                  doc.value = "Save & Back to Report";
    </script>
    The script works in IE 6+, I don't know if it works in any other browser, I haven't test it and I don't think I will.
    I hope this could help somebody

  • Creating relation on the fly... How?

    Hi All,
    I have 2 block, but there is not relations.
    Block 1 : Based on Table1.
    Block 2 : Based on Table2.
    I have to create the relationship between the blocks on the fly as per requirements. (Like master detail relation ship).
    How can i fulfill this run time?
    Subir

    You could do it by fooling forms into doing what you want.
    Add the following column to each table:
    FORMS_X CHAR(1) default 'X'
    Join these tables as Master-Detail using the wizard on this dummy column, which will create all the required relations and triggers. Then use the order_by clause (set_block_property) to dynamically join the blocks together by the required column(s).
    The query will be something like ...where :master.forms_x = :detail.forms_x and <whatever else you like>...
    I've used this method to do 'fuzzy' data matching between 2 tables containing name and address data - so, I'll have:
    where :master.forms_x = :detail.forms_x and :master.postcode = :detail.postcode
    or
    where :master.forms_x = :detail.forms_x and :master.company_name = :detail.compamy_name

  • Class that creates classes on the fly?

    Hello,
    how do I do this:
    I want to have a class that produces special .class-files (with different variables, different methods) on the fly (during production).
    It should create those files so that they are ready to call (from any other class).
    Is this possible?
    What would be the best solution to this problem?
    Greetings
    zuhans

    Should you really need it:
    http://jakarta.apache.org/bcel/
    The Byte Code Engineering Library is intended to give users a convenient possibility to analyze, create, and manipulate (binary) Java class files (those ending with .class). Classes are represented by objects which contain all the symbolic information of the given class: methods, fields and byte code instructions, in particular.
    Such objects can be read from an existing file, be transformed by a program (e.g. a class loader at run-time) and dumped to a file again. An even more interesting application is the creation of classes from scratch at run-time.

  • LPA Reporting iView - Can we configure or change the table display?

    Hi all...
    We are using the Reporting Launchpad in MSS.  It is using the LPA reporting application to display an employee selection for headcound reports, etc.  The table lists employee, id, and 'P'.  It is limited to 5 entries.  Is there any configuration change this table display?

    Hi 640,
    I just checked it. You cant do it directly in Answers (the css property for the PTCOL2 is going to be the same and I'm not sure how you could assign different div id for it without going through source files). What you could do is create 2 pivot table views and put them side by side in Compound view. Might be tricky, but possible.

  • Using Class and Constructor to create instances on the fly

    hi,
    i want to be able to create instances of classes as specified by the user of my application. i hold the class names as String objects in a LinkedList, check to see if the named class exists and then try and create an instance of it as follows.
    the problem im having is that the classes i want to create are held in a directory lower down the directory hierarchy than where the i called this code from.
    ie. the classes are held in "eccs/model/behaviours" but the VM looks for them in the eccs directory.
    i cannot move the desired classes to this folder for other reasons and if i try to give the Path name to Class.forName() it will not find them. instead i think it looks for a class called "eccs/model/behaviours/x" in the eccs dir and not navigate to the eccs/model/behaviours dir for the class x.
    any ideas please? heres my code for ye to look at in case im not making any sense:)
    //iterator is the Iterator of the LinkedList that holds all the names of the
    //classes we want to create.
    //while there is another element in the list.
    while(iterator.hasNext())
    //get the name of the class to create from the list.
    String className = (String) iterator.next();
    //check to see if the file exists.
    if(!doesFileExist(className))
    System.out.println("File cannot be found!");
    //breake the loop and move onto the next element in the list.
    continue;
    //create an empty class.
    Class dynamicClass = Class.forName(className);
    //get the default constructor of the class.
    Constructor constructor = dynamicClass.getConstructor(new Class[] {});
    //create an instance of the desired class.
    Behaviour beh = (Behaviour) constructor.newInstance(new Object[] {});
    private boolean doesFileExist(String fileName)
    //append .class to the file name.
    fileName += ".class";
    //get the file.
    File file = new File(fileName);
    //check if it exists.
    if(file.exists())
    return true;
    else
    return false;
    }

    ok ive changed it now to "eccs.model.behaviours" and it seems to work:) many thanks!!!
    by the following you mean that instead of using the method "doesFileExist(fileName)" i just catch the exception and throw it to something like the System.out.println() ?
    Why don't you simply try to call Class.forName() and catch the exception if it doesn't exist? Because as soon as you package up your class files in a jar file (which you should) your approach won't work at all.i dont think il be creating a JAR file as i want the user to be able to create his/her own classes and add them to the directory to be used in the application. is this the correct way to do this??
    again many thanks for ye're help:)

  • Best way to create samples on the fly in sample editor

    If I highlight part of a region in the sample editor and want to make a copy of it to use as a sample in EXS24, what's the best way to make that copy so that the plugin effects applied to that larger track are present on the copy. I find that it I just create a copy of the highlighted section, the copy is made with none of the plugin effects applied to it, just the raw sound with no effects applied. I just want to quickly be able to make a copy of a selection in the sample editor and have the resulting copy essentially be a bounce of the sample with effects applied in the resulting file. Possible?
    whew,had a hard time wording that one

    hi
    can't do that in the sample editor - if your files had all the effects bounced down into them already then you could....
    go to the arrange, select your region, solo it and select file>bounce.
    If you don't wanna record automation you could put your regions on a separate tracks and select file>export all tracks...
    rounik

  • "How to create graphs in Reports"

    Hi All,
    Please anybody help me how to create graphs in the BEx Analyzer and whenever the reports will be refreshed the graphs should also be refreshed with the updated data.
    Help much appreciated.
    I will assign points.
    Thanks and Regards,
    Sunil Morwal.

    Hi Sunil,
    You can get charts in Bex Analyzer. After you execute the report, from the Tools menu > Insert Chart. You can position and edit the chart as desired and save this as a workbook.
    Hope this helps...
    Regards.

  • Unable to change language for SAP BW Report Iview

    Dear all
    We are currently rolling out BW Web Templates can be displayed in both EN and MS languages. The language can be changed via the URL that we display, e.g.
    For English Language:
    http://<hostname>:<port>/sap/bw/BEx?SAP-LANGUAGE=EN&cmd=ldoc&template_id=ZTEST
    For Malay Language :
    http://<hostname>:<port>/sap/bw/BEx?SAP-LANGUAGE=7&cmd=ldoc&template_id=ZTEST
    We have published these templates into Ent. Portal 6 using SAP BW Report Iview, but unfortunately we cannot view the report in the Malay language (SAP-LANGUAGE=7), even though we have inserted the command SAP-LANGUAGE=7 in the SAP BW Report Iview query string. All the reports, although defaulted to SAP-LANGUAGE=7 displays in English. We also tried to set the language settings for the Iview, but there are no language 7 or MS in the Iview. It can only be defaulted to the Portal’s language, which is English.
    Note that the reports can be viewed in the different languages if we using the URL separately outside of Portal, and also within BW Bex Analyzer itself. Only the Portal doesn’t allow us to view the reports in MS language.
    Can someone help us on this matter? All helps really appreciated. Thanks a lot.

    Hi Chris,
    That's a bit odd indeed. If I understand your question correctly, you do get the BW reports in the correct language (either English or Malay) using the url's in your post but not when using them within a standard BW report iView?
    The language setting for the iView has, unfortunately, nothing to do with the language for the content itself but can you tell me what the requested URL is for both Reports?
    The BW Report iView is based on the Application Integration Component that generates the URL based on the paramaters you provide in the BW report iView.The following template is being used: <iView[PORTAl_URL]>?System=<System[url_Encode]>&Report=<Report>&DynamicParameter=<DynamicParameter[url_Encode]>. I could be that the generation of the URL fails due to the 7 (don't know why, just a gut feeling because it's the only thing that's different between those urls). You could try to use create an iView based on the Application Integrator instead (some more control over the URL template) but first you need to check whether the URL generated by the iView is correct.
    Cheers!
    Frodo
    P.S: Award points if you find this useful

  • Reporting Services Button not working

    Hi,
    I am having issues loading data from reporting services (using the reporting services button).When I click on the "refresh on load" box, is not pulling the data automatically. The data gets pulled only if I press the button. Also, the trigger cell feature is not working either. This all started happening when I installed sp1. In the first version of excelsius 2008 engage I had no problem. Also I am pulling data based on date range, the data only pulls automatically if I type the numbers in the cells, if I calculated the date range it no longer works and i have to press the reporting services button for it to pull the data.
    is there any setting or a hot fix or some known issues about this?
    Note: I am using report parameters
    Also, I also opened a model that I had created with first version of excelsius 2008 using sp1. The model did not automatically loaded the data. The flash file of that module works fine (since it was created with the earilier version).
    I am sure there is a bug on the reporting services button.

    Hi,
       I just upgraded to the new SP fix. I tested, based on an old file that automatically pulls the data from reporting services, but it didnt work. I still have to test it building from scratch using this new version. I dont think they have corrected the reporting services button issue.
    Thanks
    Ricardo

  • Reporting services button not auto loading the data

    Hi,
    I am having issues loading data from reporting services (using the reporting services button).When I click on the "refresh on load" box, is not pulling the data automatically. The data gets pulled only if I press the button. Also, the trigger cell feature is not working either. This all started happening when I installed sp1. In the first version of excelsius 2008 engage I had no problem. Also I am pulling data based on date range, the data only pulls automatically if I type the numbers in the cells, if I calculated the date range it no longer works and i have to press the reporting services button for it to pull the data.
    is there any setting  or a hot fix or some known issues about this?
    Also, I also opened a model that I had created with first version of excelsius 2008 using sp1. The model did not automatically loaded the data.  The flash file of that module works fine (since it was created with the earilier version).
    I am sure there is a bug on the reporting services button.
    Edited by: Ricardo Rivera on Oct 23, 2008 12:06 AM

    Hi,
       I just upgraded to the new SP fix. I tested, based on an old file that automatically pulls the data from reporting services, but it didnt work. I still have to test it building from scratch using this new version. I dont think they have corrected the reporting services button issue.
    Thanks
    Ricardo

  • Reports9i Builder does not create Graph for Web Source

    Hi
    I installed the new 9iDS and I'm trying to create a jsp page with a graph. If I create a graph in the paper layout it will run in paper layout only. After checking the web source code there is no <rw:graph ... > tag. If I try to insert the graph in the web source view I get REP-0069: Internal error REP-0: oracle/reports/RWExxception: 1.0. Is there a way to create graph for the web layout?.

    Hi Nestor,
    This should work fine. I assume you created the report using the wizard. Did you by any chance choose to create a paper layout only?
    Try the wizard option 'Create Web Layout only' or 'Create both Web and Paper Layout'.
    Regards, Christian.

  • Context Menu in BW Report Iview not opening after upgrade to Portal 7.3

    Hi All,
    We have a unusual problem that, the Context menu of the BW reports for options like filtering is not opening post Upgrade to Portal 7.3 for End users.
    However, with Super Admin role, the Context menu opens for the BW report Iview.
    I have tried giving the same permission that the Super Admin Role has on the BW Report Iview to the End users, still no success.
    Any idea? Anybody faced same kind of problem?
    Please revert for any more info.
    BR,
    Uday

    Hi Uday,
    This is really a shot in the dark since I have not done much with 7.3.  Have you checked for UME actions that are assigned to the administrator but not the end user?
    Best regards,
    Duncan

  • Creating Graph based on runtime conditions

    Hi,
    Right now i am able to create Graphs based on Views. But my requirement is that, if i click on certain component, i should be able to crate another graph at runtime which will display information based on the Clicked Component of original graph.
    Any help will be appreciated.
    Thanks

    Hi,
    I think the options are
    - create a second graph and hide it at runtime
    - create the graph on the fly in a managed bean, wich is quite a bit of code to write, that is justified if the "generated" graph is different (e.g. different model data) for each master selection.
    The first approach should be doable by detecting the selected information on the master graph and the query the detail iterator accordingly + displaying it.
    The second approach is a deep dive into the graph model APIs because you will have to code this all manually. Note that we don't have documentation for this approach yet
    Frank

  • Activity Report iView

    Hello all,
    I have a question regarding Activity Report iView. We are using two portals. The support package level is SPS11 patch 6. The activity Report iView only works on one of the portals correctly. The data are displayed well. But the same iView on the other portal doesn't display any data. The message appears like: No data available for the chosen period.
    I made the same settings on each portal.
    I also made the right settings in the data configuration service.
    Does anyone knows why the iView only works on one of our portals?
    Thanks a lot in advance.
    Best wishes

    Hello,
    There could be various reasons for such behaviors. I will present 2 of the most common reasons:
    1. "DuplicateKeyException" issue -
    An hourly aggregation takes place every hour during the day. When running a clustered environment, all server nodes "wake up" at the same time and try to perform the aggregation, so actually there is a race (since all server nodes are running the same application), and starting this moment data can't be collected (You can get a hint in NW7.0 from the "Status of Activity Reporting" iView when the following message appears: "The database contains non-aggregated data that is more than 2 hours old").
    In order to release the "Traffic jam" which was formed, one should find the duplicated entry (Usually in the WCR_USERSTAT DB table), and remove it manually. Sometimes it is better to remove all the entries from this timestamp and maybe even the whole table.
    However, this will only release the jam, but will not insure that it won't happen again on the next aggregation. In order to do so, you can take one of the following actions:
    (a) Install NW04-SP21/NW7.0-SP13 and on.          
    (b) The recommended solution - Install the latest version of Activity Report, which can be downloaded from SAP note 1084379 - "Portal Activity Report - Latest version (SDA file)".
    This behavior was fixed in NW04-SP21 / NW7.0-SP13, and was even improved in future versions (NW7.0 - SP17).
    For further details please see SAP note 1054145.
    2. The selected iViews are not same iViews which are in fact inside the role -
    The aggregation is OK, all the data is present within the DB, but when you try to generate a content report (iView/Pages report), you receive nothing or very little.
    This usually happens when one adds to the report the source iView itself (the ancestor), rather than the role which this iView was assigned to (Notice that the iView which lay under the role has a different ID and a different PCD URL than the ancestor iView). This causes the report to display the source iView, which of course, is not accessible to any of the end users.
    Hope this helps!
    Lior Baz
    Installed Base Development
    NetWeaver Portal Platform
    SAP Labs Israel

Maybe you are looking for

  • Problems With USB 3.0 On mac?

    I have the new Macbook Pro with Retina Display and today i decided to buy a USB 3.0 memory stick. odd enough the read and write speeds are WAY off.Anyone else having this problem? Thanks

  • What can I use to clean Mac Bugs that live on my PC?

    Hi, I get these bugs from the MAC and I cannot delete them on the PC : .Spotlight, .Trashes, .Spotlight-V100 Spotlight-V100 is there free ware or share ware apps to clean them on the PC. Manik

  • Elements 9 stuck on disc menu screen

    Approx 4 min project with many hours invested in editing.  Now stuck with disc menu showing. Clicking organize/project leaves that window showing with no ability to edit project. Where am I going wrong?

  • Can you make a recovery disk with a mac?

    I have two mac computers. One works that I currently use for personal use. But I recentlly bought a "fixer up iBook G4" that needs an install disk of 10.5 Leopard. I cannot find my disks that came with my Powerbook g4 but can I make a restore disk or

  • Templates Project Setup and Lease Management Setups don't show up during selection set creation

    Hi, I am new to iSetup. I have just installed iSetup using the Isetup List Of Mandatory Patches For R12 (Doc ID 811040.1) I don't find the following templates needed by my users to create selection sets: - Projects Setup - Lease Management Setups Any