Sort option in BEX Report

Hi All,
In the Bex Reoprt. I need to sort a Keyfield . If right click on keyfield
following options are coming (but, sort option is not there in this) again if i double click on keyfield sort option is coming but it is not working... what is the reason can anyone explain me.
*Back to Start
Keep filter value
Fileter and Drildown according to
Add Drilldown according to
Swap key figures with
Calculate
Goto
Coditions
Cur.Translation
All Characteristics
Properties*
full point sure for this....
thanks,
KN

You can make a descending sorting for your key figure using the condition TopPercent (Top%) and take the value 100. To sort ascending, use the BottomPercent (Bottom%) condition on your key figure.
Then 100 % of the values of your key figure will be shown in a descending sorting by default in your query (without using a view).
I used the feature in the newest BEx Query Designer (7.x) and it works fine, I don't know if it's available in the older version (3.x).
Please assign points.
Kind regards,
Ben De Windt
Belgium

Similar Messages

  • How to achieve the sorted data from BEx report.

    Hi Guys.
    I have a report which is having characteristics called customer and posting date.
    when i execute that report i want data in assending order of  first customer and next posting date.
    I have given customer as sorting character in BEx display tab of customer  and then i have given Posting Date also in display tab of posting date. But when query is executed its showing as execel will sort.
    for ex.
    C001          5/29/2007
    C001          6/1/2007
    C001          6/3/2007
    C001          6/3/2007
    C001          10/1/2007
    C001          10/4/2007
    this is how i want see my data
    but i am seeing as below
    C001          10/1/2007
    C001          10/4/2007
    C001          5/29/2007
    C001          6/1/2007
    C001          6/3/2007
    C001          6/3/2007
    Kindly anyone help me out.
    thanks
    peter

    Hi,
    I hope , you can set the property of Posting date by right click on it in the query designer, to make the report display on the required Sorting order.
    With rgds,
    Anil Kumar Sharma .P

  • Error when trying to add sort option to a report based on a view

    Hello,
    I have several reports based on a view. Everytime I am trying to soft them by a column or more, I get this error:
    failed to parse SQL query:
    ORA-00911: invalid character
    If I take the sort out, it works just fine. Any idea how to fix it?
    PS: got it... it was from the ; at the end of my sql...
    Thank you
    Anca
    Message was edited by:
    ancag

    You seem a little grumpy. Yes, it has acurred to me that no one knows the solution. And no, I have not called tech support yet as I have been distracted lately and spending an hour on the phone trouble shooting is an hour I could be studying. Its much easier to "bump" this thread and hope someone with a suggest will chime in.
    Anyway, please dont just tell me to delete something without giving me an idea of what Im deleting. I have a feeling that this login.keychain deletion will cause me to loose the information already stored. Is this the truth?

  • Print or download ALV report with sort options

    Dear friends,
    How i can download into excel or print ALV report with sort options, like customer name column with similar values should not repeat in the print out or download file.
    Regards,
    Praveen Lobo

    Hi Praveen,
    Use this code, its working:-
    *FOR SORTING DATA
    DATA : it_sort TYPE slis_t_sortinfo_alv,
           wa_sort TYPE slis_sortinfo_alv.
    *          SORT W.R.T. CUSTOMER NAME
      wa_sort-spos = 1.
      wa_sort-fieldname = 'NAME1'. "field customer name
      wa_sort-tabname = 'IT_KNA1'. "internal table with records
      wa_sort-up = 'X'.
      APPEND wa_sort TO it_sort.
      CLEAR wa_sort.
    "this will sort the ALV o/p for customer with same name
    "now the name will not be repeated
    "records with same name will be grouped
    *          DISPLAY RECORDS IN ALV GRID
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program                = sy-repid "report id
        it_fieldcat                       = it_field "field catalog
        it_sort                           = it_sort "sort info
      TABLES
        t_outtab                          = it_kna1 "internal table
      EXCEPTIONS
        program_error                     = 1
        OTHERS                            = 2.
      IF sy-subrc <> 0.
      ENDIF.
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir
    Edited by: Tarun Gambhir on Dec 31, 2008 1:13 PM

  • Help on Oracle Report sort option!

    Hi,
    My query in Q_1 of Oracle report is select &a_code ori_code ,&a_desc ori_description from &a ori_lup order by &b. When click on OK button it says
    ORA-00936: missing expression
    select ori_code,ori_description from ori_lup order by ==>
    I am not able to resolve this problem.
    What I am trying to do is I have some maintenance tables which have almost same columns like code, description. I want to define a single report and pass on parameters to this report, so that I can use same report for different tables. If I dont give order by clause it is working fine, but I should also provide sort option based on user selection of sort by code/description.
    Thanks for your help.
    Param Dasana
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Andrew Tselischev ([email protected]):
    Hi
    If I correcly understand you need sorted query, if the parameter 'b' is given, and not sorted query otherwise.
    This may be done, for exeample, by the following way.
    1. Delete the text 'order by' in your query as follows:
    select &a_code ori_code ,&a_desc ori_description from &a ori_lup &b
    2. Create 'AFTER PARAMETER FORM' trigger:
    function AfterPForm return boolean is
    begin
    IF LENGTH( LTRIM( RTRIM( :b ) ) ) > 0 THEN
    :b := 'ORDER BY ' | | :b;
    ELSE
    :b := '';
    END IF;
    return (TRUE);
    end;
    I think it will help for you.
    Andrew<HR></BLOCKQUOTE>
    Thanks Andrew , it worked with your suggestion!!!
    Param.
    null

  • Interactive report Sort option

    Hi,
    Is there any way to show "Null always last" as default in Null sorting option of sort window for all interactive reports in entire application/workspace/system.
    I was trying to modify "apex_ns_3_1.js" but I think.....I am confused.
    Please suggest the way if we could do this in safe manner.
    Apex Version: Application Express 3.1.1.00.09
    Current look of sort window:
          Column                   Direction                         Null sorting
    1    -Select Column-       Ascending                        Default
    2    -Select Column-       Ascending                        Default
    3    -Select Column-       Ascending                        Default
    4    -Select Column-       Ascending                        Default
    5    -Select Column-       Ascending                        Default
    6    -Select Column-       Ascending                        Default
    Expected:
          Column                   Direction                         Null sorting
    1    -Select Column-       Ascending                        Nulls always last
    2    -Select Column-       Ascending                        Nulls always last
    3    -Select Column-       Ascending                        Nulls always last
    4    -Select Column-       Ascending                        Nulls always last
    5    -Select Column-       Ascending                        Nulls always last
    6    -Select Column-       Ascending                        Nulls always last

    Sachin,
    Are you not able to add an order by clause to the main query and default the ordering there? Also, when you create an Interactive Report as a developer you should be able to set/save the settings for the default.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • How to remove Sorting Option in Query's Report

    Hi All,
    When i try to run a Query in Enterprise Portal, I'm getting a "  Sorting option" in each column. Thats not needed in a Report.
    Kindly suggest me How to remove that Sorting options from Each colum header.
    Thanks in Advance.
    Regards,
    Jayaprakash Jayachandran.

    Hi
    Keep the cursor on that characteristics in the navigation pane, right click>Characterisitcs>properties>Sorting-> change the option as you like..
    Else go to Query designer...GO to DISPLAY tab>under SORTING> set it as AS IN THE QUERY
    hope this helps
    Thanks
    BI Learner

  • How to remove Sorting options from Report's Column Headers.

    Hi All,
    When i try to run a Query in Enterprise Portal, I'm getting a " Sorting option" in each column. Thats not needed in a Report.
    Kindly suggest me How to remove that Sorting options from Each colum header.
    Thanks in Advance.
    Regards,
    Jayaprakash Jayachandran.

    hi,
    U can uncheck the sorting option in Navigation Pane,which will remove all sorting options.
    Regards,
    aanand

  • BEx Reporting on BPC 10 Model

    Hi all
    I've been researching the option of bringing our BPC reporting into BW in order to make BPC data available to our existing set of BW users without the need to purchase more BPC licenses and save on training in EPM.
    I have got as far as making the model a data source via the web admin and creating a query based on the virual provider <model>_B.
    However, I still have some key questions which I do not have answered:
    - Is this method of reporting OK as it is ?  I am not making use of any sort of transient query..
    - How are we able to enable authorisation on this BPC data surfaced in BEx without moving the data to new InfoObjects, etc.  I do not believe it is wise to modify any of the automatically created objects from BPC..
    - How are we able to improve the manipulation of hierarchies in BEx (some of which have 15 levels!) ?  Has anyone come across this ?
    My view is (and always has been) that we should be using BPC to reporting BPC data but I need to be sure of my facts and justify exactly why that should be our approach and make sure I am not missing an easy way to do this.
    Thanks
    Ian

    Half a year ago I reported problem to SAP because hierarchies showed wrong totals - with queries based on virtual provider. This happened after upgrading BW and BPC. I reported this to SAP and they answered, that Bex reporting on virtual provider is not supported. After that I changed all queries to basic BPC cube and applied BW authorizations.
    SAP's anwer in january 2014 was:
    "The transient query is the supported BEx query, please kindly work with it for BEx WEB reporting. Note that the transient query also has some limitation, please refer to note 1730125.
    Customer defined BEx query on BPC generated virtual InfoProvider is currently not supported. It's an enhancement request to support customer defined BEx query, please create such  a request on
    SAP Idea Place where BPC product team would regular check and collect development requests."
    I see that later SAP issued note 1988018 which probably solved the issue. But still I didn't see any SAP's official statement that Bex reporting on BPC cubes is supported.
    Regards
    Ivan

  • Bex report does not show loaded data at once

    Hi experts,
    Why Bex report does not show loaded data at once after loading is finished but after some time?
    Could be the reason of it:
    a) huge amount of data in infocube.
    b) there are no deleting/creating indexes before/after loading, because it takes too much time
    c) anothe reason?
    Thank you,
    Tigr_Z

    Hi Tigr,
    A and B both can be the reasons behind, but normally in case of B option the results on report output can be wrong like duplicates sort of showing you double figures.
    C - it can be resource issue, so please look into all and double check with basis if thats the case.
    Regards
    Sunny

  • Header and Footer in a BEx report

    Hi Everyone,
    I have a requirement where I need to provide a space for the user to sign-off with their name and signature at the bottom of the print-out of a BEx report. For this purpose I need to provide a space at the bottom of the report where the user can write their names and sign-off. It should be something like:
    Name: _________________________________-
    Signature: _______________________________
    Date: ___________________________________
    Is there some way I can add all this as the footer text in the BEx query?
    Thanks,
    Ram

    If the BEx query can use a "structure" in the rows section....
    Under last row, add a selection = company code, set it not equal to the company code, & change the description =
    NAME:  ____________________________________________
    Then, copy the above row, but change description to = 
    SIGNATURE: _____________________________________
    Repeat, copy the above row, change description =
    DATE:  ____________________________________
    If you want to add blank lines, copy one of these rows, but change description = a period = .
    By setting the restriction <> to the real company code, then that row should be blank straight across, except for the description.
    A better/more professional looking option is to put the BEx query into a web template, add 3 HTML rows under the query result table, add text per your specs.  Then save web template to the appropriate role/folder to publish it on the portal.
    Edited by: Sharon West on Dec 11, 2008 10:17 AM

  • Strange performance issue in bex report

    Hello Experts,
    I have a performance issue on my bex report.
    I'm running the report with below selection criteria and getting 'too much data' error.
    Country :  equals EMEA
    Category: not equlas 13
    Date : 02/2010 to 12/2010.
    But when I ran the report for smaller date ranges the number of records are not exceeding 13000.
    02.2010 - 06.2010 - 6,555 rows
    07.2010 - 09.2010 - 3,671 rows
    10.2010 - 12.2010 - 2,780 rows
    I know excel can't fit more than 65000 records, but I'm expecting 13000 records for my wide date range which excel can easily fit.
    Any ideas on this one will be appreciated.
    Regards,
    Brahma Reddy

    Hi,
    For Question 1:
    In query designer Go to the Query properties and select the tab "Variable Sequence", here you can set the order of variables as per you requirement.
    For Question 2:
    There will be a option "Hide Repeated Key values", if you uncheck this option then you will have the values for each row even though the material values are same.
    Note; if you are viewing the report in web or WAD report you need to make the same changes in the Web template also because the settings in the query designer will be overridden when you run the query in web.
    Hope this helps.
    Regards,
    Rk.

  • Issue with Variable Personalisation in Bex Report

    Hi Gurus,
    I'm facing a typical problem with Variable presonalisation in the Report.
    I've executed a BEX Report and filtered data on some characteristics and used SAVE AS Button on the Portal to save the resultset. When I'm trying to use the variants, again say after  2 or 3 days i couldn't find updated data for particular variants upon using the same variants rather its refelecting the old data. Further more when I execute the report and try filtering on the same criteria altogether, I'm able to see updated result set.
    Is there any setting to be enabled when we personalise variants or variants are dependent on the data or the date on which they are created. Not sure why the reports are behaving this way. Or Do I need to create variants time and again.
    Any pointers would be of great help.
    Regard,
    Yaseen

    Hello,
    In the BEx report, when you get the variable selection screen there input your selection and at the bottom you have the option of saving them as a variant.
    Now in future when you run the report simply use this variant and execute the report. It should work fine.
    Also remember date selection can be tricky. If you input todays date in the variant, it wil consider the same date in further references. So do a check on that too.
    Regards,
    Shashank

  • Bex Report issue - transaction data of type Char not dispalyed complete

    Hi BI Expers ,
    I have one issue related to Bex reports here
    I have complete data loaded in DSO , there is one field Job Title which is having a length of 60 char . When I am executing the report in Bex Analyzer , the value for Job Title is getting truncated after 30 characters . Although full 60 chararacters are loaded in DSO  still I am not able to present them in reports .
    Can some one help here ,  whether this is Analyzer limitation or is there some setting to fix this issue .
    Regards
    Anurag

    Hi Anurag,
    Check the Output length of the object that is giving out put as 30 charecters.
    And check in Business Explorer tab option for BEx Description short, medium or High.
    Hope this helps.
    Veerendra.

  • Automated execution and mailing of BeX reports

    Hi,
    I have a requirement which goes like this:
    There is a report which gives a P&L statement for a cost center. Say I have one parent Cost Center Group and there are 100 Cost Centers within that group. The report allows the user to select variants based on the cost center. So they have to execute this report every month for 100 different cost centers in order to generate a P&L for each cost center.
    Now the users want some sort of automated way to execute the reports every month for each cost center within a cost center group and then the results (XL based) delivered to them through email. The mail should contain workbooks or BeX reports.
    Is it possible to implement this? If yes then how can this be achieved?
    We are running BW 3.5.
    Thanks in advance,
    Regards,
    Nikhil

    Hi Arun,
    Do you have some document on how to use the RSCRM_BAPI transaction?
    everytime I try to run an extract it generates an error "No authorization to create extract /BIC/0CYYNIKTEST of type Table"
    and when I try to execute the query - it generates an OLAP error in a key figure.
    The query is quite complexin the sense that it uses structures in both the rows & columns sections and also uses all possible types of variables and also hs built in variants already.
    I would be grateful if you can send across some document on the transaction. I would have posted docs & screenshots of the query, but there is no way in SDn to do that.
    Thanks & regards,
    Nikhil

Maybe you are looking for