XLR - How to display top 5 customer or top 5 products?

I am trying to modify the XL Reporter Dashboards and I am stumped by the following issues:
Display top 5 customer
Display top 5 products.
Could someone please help with this project?
Your help is appreciated!!
John

Hi John,
The syntax for this is:
FACT Top 5 BPA(*) Order By Fig.SO_DocTotal Descending
There is a good document on the SAP portal called XLR Syntax and Functions which covers this and the XLR specific date and period type functions that I found (and still find) very useful.

Similar Messages

  • How to display horizontal line in top-of-page by using object oriented ALV?

    How to display horizontal line in top-of-page by using object oriented ALV.
    I am created top-of-page in object oriented alv.
    But not be successes in showing horizontal line in it.
    Can any one pls give solution for this..
    Thanks and regards..

    Hi
    Try like this
    data: gt_list_top_of_page type slis_t_listheader. " Top of page text. 
    Initialization. 
    perform comment_build using gt_list_top_of_page[]. 
    form top_of_page. 
    * Note to self: the gif must be loaded into transaction OAOR with 
    * classname 'PICTURES' AND TYPE 'OT' to work with ALV GRID Functions. 
    * I Loaded NOVALOGO2 into system. 
    call function 'REUSE_ALV_COMMENTARY_WRITE' 
         exporting 
    * I_LOGO = 'NOVALOGO2' 
    * i_logo = 'ENJOYSAP_LOGO' 
             it_list_commentary = gt_list_top_of_page. 
    endform. " TOP_OF_PAGE 
    form comment_build using e04_lt_top_of_page type slis_t_listheader. 
    data: ls_line type slis_listheader. 
          clear ls_line. 
          ls_line-typ = 'A'. 
          ls_line-info = 'Special'(001). 
          fgrant = xgrant. 
          concatenate ls_line-info fgrant 
          'Stock Option Report to the board'(002) 
                 into ls_line-info separated by space. 
                        condense ls_line-info. 
          append ls_line to e04_lt_top_of_page. 
    endform. " COMMENT_BUILD
    Use following syntex for footer print in alv:
    * For End of Page
    form END_OF_PAGE.
      data: listwidth type i,
            ld_pagepos(10) type c,
            ld_page(10)    type c.
      write: sy-uline(50).
      skip.
      write:/40 'Page:', sy-pagno .
    endform.
    *  For End of Report
    form END_OF_LIST.
      data: listwidth type i,
            ld_pagepos(10) type c,
            ld_page(10)    type c.
      skip.
      write:/40 'Page:', sy-pagno .
    endform.
    check this link
    http://abapprogramming.blogspot.com/
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5dc3e690-0201-0010-1ebf-b85b3bed962d
    Changing width of a custom container dynamically
    Display Page numbers in ALV
    Insert picture in selection screen.
    Logo in OO ALV Grid
    Reward all helpfull answers
    Regards
    Pavan

  • How to display Campaigns--- custom Object1-- Accounts in reports?

    Hi,
    We had requirement that needs to associate Accounts to campaigns, not contacts. I was able to do this using custom object 1 (since many accounts can be associated to many campaigns), having accounts as part of its related information.
    So the related information section of Campaigns is a list of custom obj 1s which, in turn, have multiple accounts associated to them.
    The question is how to display a list of campaigns and list of accounts associated to each campaign(i.e. the list of accounts associated to the custom objects associated to the campaign) in reports ?
    Regards,
    Ani.

    Ani,
    You'll need to use Combined reporting for this functionlity, if you search for this in the KB you should find some information on this or buy Mike Lairsons book from Amazon.com.
    Alternatively I used a report filtered by Account ID to show Campaigns targeted to that Account as a related item, this was standard Campaign/Contact/Account reporting. And all we did was add contacts to Campaigns.
    cheers
    alex

  • How to display cusomized custom tooltip(jwindow)  in jtable cell position

    Hi,
    i am trying to display custom tooltip for jtable cell. i created custom tooltip(jwindow) and on mouseover of jtable cell i am trying to display the custom tooltip.
    But it is not display the position of jtable cell. How to display the exact position of jtable cell
    please help me on this.

    Did you read the posting directly below yours which was also about a custom tool tip?
    JScrollableToolTip is buggy
    The code presented there shows the tool tip in the proper location.
    For more help create a [url http://sscce.org]SSCCE, that demonstrates the incorrect behaviour.
    Don't forget to read the "Welcome to the new home" posting at the start of the forum to learn how to use the "code tags" so posted code is formatted and readable.

  • Web-based BEx: How to display a customized message on the variable screen??

    Hi All,
    I'm now using the web-based BEx. Recently I want to display a customized message (e.g. the usage of the report) on the first page (i.e. the variable entry screen) of the query. Is it possible?
    Thanks.
    BR,
    M. Ng

    Hi marco,
          Check here. itmay help you.
    Custom Messages WAD
    Thanks,
    Vijay.

  • How to display the customer VAT TIN number in the PLD

    Hi All,
            Can anybody tell me how to get the customer's VAT TIN number in the PLD.
            Plz help me, i will reward u with max points.
    Thanks,
    Suresh Yerra

    Hi Suresh Yerra,
    Pls do this.this will surely help you.
    Go to concerned PLD. eg: AR Invoice
    draw one database field.In table field use alt + click in drop down
    this will give u all the tables in the database.
    Now u choose the AR Invoice tax extension table - choose tax id 11 for TIN and tax id 1 for CST
    like this yu can get any tax information.check the tax info. is filled in the BP master data ( accounting tab-tax information)
    Reward points if helpful
    Rgds,
    Suresh Kannan

  • How to display 3 alv with top-of-page using splitter container

    Hi,
    I want to display 3 different alv in a single container corresponding to the 3 check boxes on selection screen.
    i.e.
    If user selects 1 check box only one alv should be displayed, if 2 checkboxes selected by user 2 alv should be displayed and same for 3.
    I cannot use 3 different containers bcoz if second checkbox is not selected then that place remains blank. So I am using single container and using splitter container dividing it into the no of rows corresponding to the no. of checkboxs selected by user.
    Now I also want to display top-of-page for each alv. Please guide me how to achieve this.
    Thanks & regards,
    Harshada

    create with some IF_ELSE conditions as i have done below. in my case the same things are required. if error table is there only then it will be displayed, else only output will be displayed.
    * First Main Container
      CREATE OBJECT obj_main1
        EXPORTING
          container_name = 'CC_CONTAINER'
          style          = cl_gui_custom_container=>ws_maximizebox.
    * create top-document
      CREATE OBJECT obj_dyndoc_id
        EXPORTING
          style = 'ALV_GRID'.
      IF pr_view EQ c_x OR pr_stat EQ c_x.
    * First Splitter Container
        CREATE OBJECT obj_splitter1
          EXPORTING
            parent  = obj_main1
            rows    = 2
            columns = 1.
    * Place obj_parent_html in First row First column
    * for Top_of_page
        CALL METHOD obj_splitter1->get_container
          EXPORTING
            row       = 1
            column    = 1
          RECEIVING
            container = obj_parent_html.
    * Place obj_container1 in Second row First column
        CALL METHOD obj_splitter1->get_container
          EXPORTING
            row       = 2
            column    = 1
          RECEIVING
            container = obj_container1.
    * Set the height of Top of page
        CALL METHOD obj_splitter1->set_row_height
          EXPORTING
            id     = 1
            height = 24.
      ELSEIF pr_email EQ c_x.
    * First Splitter Container
        CREATE OBJECT obj_splitter1
          EXPORTING
            parent  = obj_main1
            rows    = 3
            columns = 1.
    * Place obj_parent_html in First row First column
    * for Top_of_page
        CALL METHOD obj_splitter1->get_container
          EXPORTING
            row       = 1
            column    = 1
          RECEIVING
            container = obj_parent_html.
    * Place obj_container1 in First row First column
        CALL METHOD obj_splitter1->get_container
          EXPORTING
            row       = 2
            column    = 1
          RECEIVING
            container = obj_container1.
    * Place obj_container2 in Second row First column
        CALL METHOD obj_splitter1->get_container
          EXPORTING
            row       = 3
            column    = 1
          RECEIVING
            container = obj_container2.
    * Set the height of Top of page
        CALL METHOD obj_splitter1->set_row_height
          EXPORTING
            id     = 1
            height = 24.
      ENDIF.
    Please note there is no need to create a hEADER in the container, but create it for the 1st table only which is always displayed
    ags.
    Edited by: ags on Nov 4, 2009 4:49 PM
    Edited by: ags on Nov 4, 2009 4:50 PM

  • How to display an element on top of a web object

    Hello,
    I would like to display some grouped elements on top of a web object in my project.
    If you look at the image below, the large black frame is a web object that will play a video in an iframe.
    I'd like to put a smart shape (the white outlined box) on top of that web object with a text object inserted and an image button (the X).
    The idea is that when the video plays people can see what the video title is and click the X so that the box disappears if they wish to do so.
    But even though the group is on top of the web object in the timeline, as soon as the video loads and starts playing the web object takes pole position and the box, text, X, etc disappear.
    Any ideas how I can retain the layer order, even when the video starts playing?
    Thanks.
    R.

    What if you use a script and use a image with the video name and the "x" I´m using the google logo as example.
    var widget = document.querySelector("[id*='Widget'],[id*='Web']")
    var ronanImageTitle = document.createElement("img");
    ronanImageTitle.setAttribute("src", "https://www.google.com/images/srpr/logo11w.png");
    ronanImageTitle.setAttribute("style", "position:absolute; z-index:100; top:0; width:50%");
    $(ronanImageTitle).fadeIn( "slow" , 0);
    $(ronanImageTitle).click(function() {
    $(ronanImageTitle).fadeOut( "slow" , 0);
    $(widget).append(ronanImageTitle);

  • How to Display Detailed navigation passing Top level navigation node name

    Hi All,
    I have prepared a DLN par file but unfortunatly my requirement is such that I need to pass one of the toplevel node name as input parameter and that should display the corresponding DLN which is from 3rd level.
    I have checked in sdn for passing a value to the navigation tag lib which will consider it as a selectednode but could find none.
    Can some body suggest me how to acheive this.
    Thanks in Advance.
    Sai Krishna. K

    Hi Kiran,
    Thanks for your Reply..
    Following is my Scenario:
    I use 2 same versions of portals connected via federated portal concept.
    I have my detailed navigation par file in portal2 and was calling it from portal1 from a iview.
    Since I am not physically navigating in portal2(which mean there is no selected node to iterate ), when I call that iview in portal1 it is picking up only 1st node in top level navigation.
    So i need to pass "My reports" (as 1st level) & "India" (as 2nd level) as parameters such that it gets only its DTN at all times from 3rd level.
    Hope you understand my scenario, below is my iteration code logic.
    <div id="myslidemenu" class="jqueryslidemenu">
    <ul>
         <nav:iterateSelectedNavNodesLevel level="<%=START_LEVEL%>">
         <%-- the 'currentDepth' attribute provides the byte value of the current level --%>
        <nav:recurseNavNodeChildren currentDepth="depth">
             <% current = start + depth.intValue() - 1; %>
             <%=writeClosingTags(last - current)%>
             <%
            last = current;
            %>
            <%-- we want to distinguish between folder and leaf nodes so we can use different graphics --%>
              <%-- complete the html syntax for the 'class' attribute pass it as an anchor attribute--%>
              <li><nav:navNodeAnchor navigationMethod="byURL" />
              <%-- checks for additional navigation level and the appropriate html tags to accomodate them --%>
            <nav:ifNextRecursionDepthWillIncrease>
                <ul>
            </nav:ifNextRecursionDepthWillIncrease>
            <nav:ifNextRecursionDepthWillNotChange>
                </li>
            </nav:ifNextRecursionDepthWillNotChange>
        </nav:recurseNavNodeChildren>
        <%=writeClosingTags(last - start)%>
        <% last = start; %>
    </nav:iterateSelectedNavNodesLevel>
    </ul>
    </div>
    As per the passing parameter concept please explain me a bit more clear with step by step procedure.
    <b>Here if not passing parameters, providing static values will also do for my requirement.</b>
    Many Thanks,
    Sai Krishna.
    Edited by: Konchada Sai Krishna on Feb 14, 2009 9:42 PM

  • How to display the single characterstics (top one) wrt  key figure

    Hi,
    I have got a reporting issue like::
    Values in Cube-
    GL     Fiscal year/period     Doc no    Amount
    1         2004.006                 1              10000
    1          2004.006                2               15000
    1          2004.007                3                20000
    i want to show in my report as--
    1      2004.006                  1               10000
    1       2004.007                 3                20000
    i.e it should pick only the first line from cube corresponding to the 2004.006 period..

    Hi,
    You have 2 options
    1. you can create a transformation and write a starteroutine so that it takes the first record of the document number. but in practical it is not advisable because the cube contains inconsistant data and you cant develope any other reports on it.
    2. Next option is
    Step1
    You  need to write the user-exit to populate Reporting related variables in the Enhancement assignment RSR00001 and select the FM EXIT_SAPLRRS0_001 and then in the include ZXRSRU01 we need to write the code. These are helpful especially we need to derive any varible. (here in your case you can create a customer exit variable for Document number not ready for input)
    Along with that:
    BEx User Exit allows the creation and population of variables and calculations for key figures and variables on a runtime basis.
    Step2
    After creating the variable , For populating the values use the Function module RSDPL_CUBE_DATA_READ to read the data for the cube and populate the same into the internal table.
    Step3
    For the internal table you need to sort the document number and the date so that it picks the top most record in displaying the data. and in the out you will get as you requirement is
    1 2004.006 1 10000
    1 2004.007 3 20000
    Last option but looks silly
    Develop one more Cube which is above your existing cube . and develope a start routine which takes the first record from the cube. and now you can develop the report based on the new cube ( in this new cube the data will be there for the first record)
    hope this helps
    Santosh

  • How to display flash controls on top of an external application?

    Hi,
    We have an external application which is running on top of the Flash player.  Is it possible to display the flash controls( like button) on top of this external application?
    Example: Flash player is running a swf file and we also displaying an output video on top of this flash player by an external application. Do we place a flash textbox to display the video filename over this video display?
    Thanks

    I'm afraid you cannot do that.
    You have two distinct ways of achieving what you want:
    1. You load the video inside the Flash application (provided it's in a supported format) and then you have all the freedom to overlays whatever Flash component you want on top of it.
    2. Depending on the technology and platform with which the external application is built you can instatiate multiple Flash player controls inside of it and place them under and over the video in order to achieve what you want.
    The first solution is the best approach as it will work across platforms seamlessly and you just have to use one technology/language (Flash/Actionscript) to do it. If the video is not in one of the supported formats you can check out Flash Media Encoder that is bundled with Flash Pro.
    Hope this helps.
    Rui

  • How to display new scene on top of the browser as default

    I have a flash animation with 15 scenes, On main page there are many links and user has to browse vertically using browser scrollbar, when a user clicks on a link which is at the bottom and goes to that page the position of scrollbar is same as that was on main page (scene), I want the new scene to be opened at top of the browser as default.

    then you'll need to use javascript to control the scrollbar.
    if you don't know how to do that, post the code you're using in your flash button.

  • How to display the Customer Name in the Sales invoice form

    Hi All!
    May I know the table from which I select the customer name for a certain customer number?
    Thanks in advance!

    Hi,
    Kna1 is the customer master table there you can find the name1 filed
    Thanks,
    NN.

  • PE51 - How to display a custom result in a PE51 forms?

    Hi experts,
    I want to display the result of a specific Module Function in a PE51 form (payslip).
    The module function returns a table with a proper contain for each employee / period.
    I don't know the size of the table (number of lines) for each employee, and data may change.
    For example 2 pieces of payslip from 2 employees :
    Name : Mr Smith
    Entry 1 | Good Father
    Name : Mr John
    Entry 1 | Tall
    Entry 2 | Funny Guy
    Please, could you help me to find a standard friendly solution?
    I imagine I have to use a window with a specific line and so on but I don't know "where" to insert the module function call and which table I have to fill.

    Do you think it's impossible to display a specific table in a PE51 form respecting the standard?

  • PPOME - org. unit - how to display a custom field in Basic Tab

    Hi gurus,
    I would like to show in detail box - basic info tab, a field added to IT P1000, to gather additional info's about the selected organizational unit.
    Can anybody tell me where to start? I goggled a lot but I didn't find any useful information.
    Thanks in Advance
    Paolo

    I have not added the Custom filed in the main screen and added in the Additional data B screen. So closing the message.

Maybe you are looking for

  • Error in manifest or policy file

    Can't run Dreamweaver CS6 or CC - checked my log files - I see: Activation context generation failed for "F:\AdobeCC\Adobe Dreamweaver CC\Dreamweaver.exe".Error in manifest or policy file "" on line . A component version required by the application c

  • Creative Vision M Probl

    The other day the screen on my creative vision M froze so I hit the reset button on the bottom and continued to charge it by USB at my computer. However my mom used it the next day and told me that it seemed to not have charged at all so I decided to

  • Can't update email address

    I need to update my email address. I can't login without a password reset and the email I used is no longer in existance.  I have tried uninstalling adobe digital editions and reinstalling but it kept my old email information. My nook will not upload

  • Server side helpset - duplicate class

    My application running on JBoss throws the following HTTP ERROR: 500 duplicate class definition: javax/help/HelpSet$HelpSetParser This is for a server side helpset. Can any one help me on solving the issue. Also when i run it twice i get the pages I

  • Ipod 5th generation IOS 7 update problem.

    I've got a 5th generation iPod Touch, 64 GB.  I tried to update from 7.0 to 7.0.2.  OTA wouldn't work at all, but I was able to download the ipsw and install it manually.  However, after the update, I tried to load a bunch of music recently purchased