Custom Sort with a merged dimension in webi report

Hello,
I have a merged dimension (Year/Month - APR 2010, FEB 2010, MAR 2010, JAN 2010, ...), I need to apply a custom sort, but with a merged dimension this feature is disabled. Why? How can I solve this problem?
Thanks & Regards
SU

Hello,
This can be solved by creating a variable for the merged dimension object.
After you have done this you can apply a custom sort
Regards
Rim

Similar Messages

  • #SYNTAX error while using Merge Dimension in webi report

    Hi All,
    # Syntax error when using merge dimension in webi report
    screen shot has been attached.
    iam using BO 4.0 SP6
    checked the datatypes in BW
    they are same in BW in both the queries
    i followed the given links but no result.
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3138343530303526
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3136323339323126
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3137353438313026
    http://scn.sap.com/thread/3592588#15241008
    Need Help!!!!!
    Regards
    Sushma

    Hi Mark,
    Thanks for the reply,
    I did not use any formula,
    I used merge dimension
    Anyways i tried in other system,it s working fine.
    Regards
    sushma

  • Merge Dimension in webi report

    Hi, I have a webi report on several bex queries which have month objects.
    if I merge month objects, month objects have data like this from some month object
    period 01 2015
    period 02 2015
    period 03 2015 from month objects from 7 bex queries.
    01 2015
    02 2015
    03 2015 from one bex query
    objects are of text data types.
    if I merge common month objects result is
    period 01 2015          
    period 02 2015    
    period 03 2015    
    01 2015              
    02 2015              
    03 2015              
    but I want result like this
    01 2015              
    02 2015              
    03 2015            
    or
    period 01 2015          
    period 02 2015   
    period 03 2015  
    if I create variables for the objects, I am not able to merge them. how can I achieve this. I am struggling like any thing.
    webi version is 4.1 SP 4 Please help me its urgent.. thanks in advance

    may be you need a trim function as well to get rid of unnecessary space at right.
    =Trim(Right([Merged Period Object];7) )
    also, the measure should have a projection function associated with it and in block properties, "avoid duplicate row aggregation" option should be unchecked.

  • Merge Dimension in Webi 4.0

    Hello All
    I have a unique issue creating a webi on two universes DB2 and Excel as datasources.
    1. Excel datasource has three columns - Col1, Col2 and Col3. A hiererachy is craeted as Col3>Col2>Col1. When I create a webi - "Webi1" on this universe (Query1), I have no issue.
    2. DB2 datasource has multiple table tables. Table 1 is a fact table and col1 in it has the relevent data to the excel datasource Col1. In "Webi1" I created a Query 2 and selected to add objects without creating a new block in "Webi1".
    3. As Col1 in Excel and Col1 in Table1 in db2 has the similar data and data type, I created a merge dimension on the two. There is no other column common in the two datasources.
    4. I included Excel.Col3, Local_Variable.Measure1, DB2.Measure2, DB2.Measure3 in my "Webi1"
    Issue:
    When running the report, I see the correct values in Excel.Col3, Local_Variable.Measure1 columns but the values in DB2.Measure2, DB2.Measure3 are aggregated from the DB2 and shows same value for all records in Excel.Col3 and Local_Variable.Measure1.
    Requirement:
    Is there a way to show only agrregated values in DB2.Measure2, DB2.Measure3 corresponding to the data in Excel.Col3 and Local_Variable.Measure1? I want to pull measures form DB2 corresponding to Excel Col1,Col2 and Col3.
    Merge Dimension:
    There is only one merge dimension which is at the third level of hiererachy and following steps have been taken to ensure there is no issue with the merge dimension:
    1. Data type for both the dimensions is "Charater"
    2. I have used trip on both dimensions to elliminate the spaces in the data.
    3. I verified the data in both dimension in the same format (upper case).
    Any help to resolve this is greatly appreciated.
    Kind regards,

    Hi,
    It's not clear if you mean Patch1.6 or Patch2.6.  For info, we have up to Patch2.11  available now.
    I would simplify your test, focusing on the DB2 universe (in 2 data providers?) first.
    I saw Note 1661803 - WebIntelligence query filter using "Result from another query" is lost and throws message "The current query contains unresolvable objects" when editing query
    Apparently fixed in Patch2.10  - may be of interest to you?
    Regards,
    H

  • Custom Sort of Duplicated row walues in Webi based on SAP BW Universe

    It is a duplicate thread i have already posted in Integration kits - SAP section.
    This is regarding custom sorting of row value which are duplicated in Webi which is based on SAP BW Universe.
    I have created Webi Report based on Characteristic structure. Using Alerter I provide some space for child node to notify it as child node below a parent node.
    Please see a sample table below:
    AAAA
    onpeak
    midpeak
    offpeak
    BBBB
    onpeak
    midpeak
    offpeak.
    If I enable Avoid duplicate row aggregation, i will be able to see duplicate rows for "onpeak" etc. Since Webi does a default sorting, I have to make a custom sort to replicate the structure followed. And in custom sort i dont see duplicated rows, and i see only one "onpeak". Accordingly if I try to sort using custom sort, then the result will be
    AAAA
    onpeak
    onpeak
    midpeak
    midpeak
    offpeak
    offpeak
    BBBB.
    Please let me know if anyone has any solution for this.
    I have already created report with modifying the row names in backend by adding letter before its value for example "1offpeak" for the duplicated row and then removing the letter "1" in webi using substring. But i know this is the crude way of doing it.

    I have changed the naming convention in BI structure by introducing a white space before the name to avoid duplication and used it in report. Not a good solution anyway.

  • Not able to un-merge a dimension in webi report

    Hello,
    I'm facing an issue in webi reports. That is I'm not able to un-merge a dimension. I'm using BO 4.0 sp 6
    I have 6 data providers in my webi report all of those 6 have sales order number in common. The report refreshes fine but a new requirement came in where I had to add another query (data provider) which also has the sales order number.
    Now in the report I need to merge the new query's sales order number with the existing merged sales order number. When I un-merge the existing sales order number; webi just does not respond.
    Any ideas? thanks in advance.
    Regards,
    samique

    The way I resolved this is:
    1- Removed Sales Order Object from all the existing queries. (the variables that were using the sales orders broke)
    2- Added a new data provider query in webi; then added sales order objects in all the data providers.
    3- Merged the Sales Order objects in the webi report.
    4- fixed all the variables with calculations requiring sales order object.
    5- Dragged the Sales Order object to the report body.
    I hope to see an option in future where we don't have to do all this just to add a new data provider query to an existing report that uses merged dimensions. Because its just a waste of time re-doing things.
    There should be an option to merge new dimensions to the existing merged dimensions in the webi report.
    Regards,
    samique

  • How to restrict values of Dimensions in Webi report prompt

    Hi
            I need to create a WebI report for a set of Business users. We have several thousands of Agencies. Business Users want to see only the agencies they work with (about 100) in the prompt. This way they need not go through thousands of agencies they dont work with. I tried to use List Of Values option but that didnt give me desired result.  Please let me know how to restrict values in prompt to few values from the n number of values available in database.
    Thanks in advance.

    Hi,
    there is no such step-by-step!
    I would encourage you to consult documentation and search for terms 'row level restriction' in the help guides.
    Practice makes perfect
    Good luck
    H

  • Customer Exit Variable not working in BO-Webi Report

    Hi All,
    I have created a universe based on Bex Query.
    Bex query consists of a customer exit variable on Calendar year/month where in it will populate current calendar year month by default while executing the query. It works fine while executing in SAP BI Bex Analyser.
    I have created a universe based on the query. For Calender year/Month i got L00, L01, LOV values in universe.
    Based on the universe I have created a Webi report. I did not specify calendar year/month as query filters. While directly executing the Webi report, I get the calendar year/month variable screen. But the value for it not populated based on customer Exit code written in BI.
    What has to be done to get the customer exit values in variable screen.
    Thanks for your understanding.
    -- Selva

    Since you have customer exit variable in your bex query, it will be like a global filter in your universe.
    Execute the webi report and check whether you are getting only current month data.
    --- Thanks

  • ALV Sort with cell merge

    Please help!
    When i run an ALV report in foreground, there is cell-merge when a column is sorted.
    However, when the ALV run @ background, why the cell-merge cannot work ? All data is listed, rather than is summarized into a block for all rows with the same field content.
    Please Advice
    Regards
    Annie

    Hi,
    see this example.
    TABLES : vbak.
    TYPE-POOLS: slis.                      " ALV Global types
    SELECT-OPTIONS :
      s_vkorg FOR vbak-vkorg,              " Sales organization
      s_kunnr FOR vbak-kunnr,              " Sold-to party
      s_vbeln FOR vbak-vbeln.              " Sales document
    SELECTION-SCREEN :
      SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max.
    PARAMETERS p_max(2) TYPE n DEFAULT '20' OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    DATA:
      BEGIN OF gt_vbak OCCURS 0,
        vkorg LIKE vbak-vkorg,             " Sales organization
        kunnr LIKE vbak-kunnr,             " Sold-to party
        vbeln LIKE vbak-vbeln,             " Sales document
        netwr LIKE vbak-netwr,             " Net Value of the Sales Order
        waerk LIKE vbak-waerk,             " Document currency
      END OF gt_vbak.
    INITIALIZATION.
      v_1 = 'Maximum of records to read'.
    START-OF-SELECTION.
      PERFORM f_read_data.
      PERFORM f_display_data.
    *      Form  f_read_data
    FORM f_read_data.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE gt_vbak
               FROM vbak
                 UP TO p_max ROWS
              WHERE kunnr IN s_kunnr
                AND vbeln IN s_vbeln
                AND vkorg IN s_vkorg.
    ENDFORM.                               " F_READ_DATA
    *      Form  f_display_data
    FORM f_display_data.
      DEFINE m_fieldcat.
        add 1 to ls_fieldcat-col_pos.
        ls_fieldcat-fieldname   = &1.
        ls_fieldcat-ref_tabname = 'VBAK'.
        ls_fieldcat-do_sum      = &2.
        ls_fieldcat-cfieldname  = &3.
        append ls_fieldcat to lt_fieldcat.
      END-OF-DEFINITION.
      DEFINE m_sort.
        add 1 to ls_sort-spos.
        ls_sort-fieldname = &1.
        ls_sort-up        = 'X'.
        ls_sort-subtot    = &2.
        append ls_sort to lt_sort.
      END-OF-DEFINITION.
      DATA:
        ls_fieldcat TYPE slis_fieldcat_alv,
        lt_fieldcat TYPE slis_t_fieldcat_alv,
        lt_sort     TYPE slis_t_sortinfo_alv,
        ls_sort     TYPE slis_sortinfo_alv,
        ls_layout   TYPE slis_layout_alv.
      m_fieldcat 'VKORG' ''  ''.
      m_fieldcat 'KUNNR' ''  ''.
      m_fieldcat 'VBELN' ''  ''.
      m_fieldcat 'NETWR' 'X' 'WAERK'.
      m_fieldcat 'WAERK' ''  ''.
      m_sort 'VKORG' 'X'.                  " Sort by vkorg and subtotal
      m_sort 'KUNNR' 'X'.                  " Sort by kunnr and subtotal
      m_sort 'VBELN' ''.                   " Sort by vbeln
      ls_layout-cell_merge = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                is_layout   = ls_layout
                it_fieldcat = lt_fieldcat
                it_sort     = lt_sort
           TABLES
                t_outtab    = gt_vbak.
    ENDFORM.
    rgds,
    bharat.

  • Prompt's customized LOV is not pre-selected when webi report is refreshed

    BO XI R 2 SP 1
    DB: Oracle10g
    Hi - I have customized LOV in every dimension and it's value is '*All'....it appears at the top of LOV values in the prompt list.
    When I open the report, it shows the *All is already selected; but when I refresh this report using 'Refresh Data'; everythings comes up fine but *All no longer shows up as pre-selected value.
    Is there a way to handle this situation? Please let me know if you need more explanation.
    Note that when I hit the save button; report comes back with all '*All' pre-selected in all prompts.

    I don't know how to access the document you mentioned...
    anyway, to display All as customized value; edit the dimension's SQL and add
    UNION
    SELECT 'All' FROM DUAL (for oracle)
    SELECT 'All' FROM anytablename (for SQL Server)
    select the checkbox not to generate SQL and then click Run...click Display and then you should be able to see All as one of your custom value.

  • How to include custom style sheets in BI 7 WAD (Web Reports)

    Hi,
    I have WAD in 3.X, where I have used custom stylesheets. Now I need to use the same style sheets of 3.x development in BI 7 WAD.
    How do i achieve this?
    Regs, Arka

    Hi,
    Stylesheets cannot be included via the Web Application Designer for BI 7.0 web templates. You need to use the Theme Editor of the Portal instead. Please refer to the documentation:   
    http://help.sap.com/saphelp_nw70/helpdata/de/f4/bb7a3b688d3c1de10000000a11402f/frameset.htm
    Best regards,
    Janine

  • Custom sort problem

    Hi,
    I have a merged dimension created by two queries and a variable which is again created with the measures of these two queries.
    They all work fine. However when I apply a custom sort to the merged dimension, the value of the variable disappears in the table. (It's still same after refresh of queries). It's fine when ascending or descending sorts are applied.
    Any ideas about this strange behaviour?
    Thanks!

    XI 3.1 + SP3 + FP3.5
    I've found an exact matching note to the case but it's not solved yet (1604268).
    The point is, same case works fine in one of my reports but fails in a copy of it. The only difference between these reports is only a few additional dimensions and they are not relevant with the table I'm trying to apply the custom sort. Eventhough I remove these additional dimensions and make same reports exactly same, copy version is still unable to show the values after custom sort.

  • How does Merged Dimensions Work in WebI created on SAP BI Queries

    Hi,
    I need to know how does Merge dimensions work in WebI when using SAP BI Query as source?
    Below is my understanding when connection is defined for the universe on oracle database:
    1) To get the data in merged dimensions, there must be physical join (Either Direct or vai some other tables) between different tables at backend level (This means  there  must be join between tables in Oracle database.)
    2) we get the UNION of data when dimensions are merged at webI level.
    I dont know how this works in SAP BI.
    Since there is different data model defined for different BI Queries in SAP , and for each BI Query and there is seperate Universe, So how can you get correct data in WebI when there is no connections in DSO's used in different BI queries?
    Can any one suggest me the way data apperas in merged dimensions for WebI created on SAP BI?

    I assume we are only talking about merging dimensions in Web Intelligence here and not on the BW backend. this is a client side mere where you have 2 resultsets.
    if you want to do this on the BI server side it would be a multi-provider combining different InfoProviders - or a InfoSet - depending on the join type you need. MultiProvider is a union, Infoset allows you to choose
    Ingo

  • Custom sorting in Web Dynpro ALV columns

    Hello Experts,
    I want to implement custom sorting on some of columns in Web Dynpro ABAP ALV.I searched in SDN forum,but couldn't find much useful information on this?are there any events through which we can achieve this?
    is it technically feasible?
    Any information on this will be great help.
    Thanks,
    Naidu

    Hello Thomas,
    Thanks for your quick response.Actually i want to display Price and currency values together  in single column ,like 5000 USD.For this i have to use character field as i can't take currency field .If i take char field for price,sorting will based on character type rather than decimal type.Due to this,i want to implement custom sorting on that particular field.
    Anyhow thanks for confirmaion.
    Thanks,
    Naidu

  • Webi report: Issue Cannot retrieve dimensions from Cube

    Hello Experts,  We're facing an issue with a partical set of Webi reports in Quality environment. The reports are BW reports based on OLAP BICS connectivity on top of Bex queries.y  Below is the scenario and the issue:  1. The backed Bex queries have been trasported to Quality BW system and they're running fine when run from RSRT or Bex analyzer. 2.The Webi reports along with the BICS connections have been migrated to the Quality box and the BICS connections have been editied so that they point to the Quality BOX bex queries and they're testing and responding to the connection successfully. 3. The Webi reports pointed to the Dev Box in the Dev BOBJ system are working fine, but when the same reports for which the connections were repointed in Quality as above, are giving the error "Cannot Retrieve Dimensions from Cube".  Steps taken: a. Deleted the reports and the BICS connection from Quality environment and remigrated the reports,connecitons and changed the connecitons but still the issue persists. b.Tried finding the root cause and got the following issue in the Bex query in Quality: There are filters put in the Bex query . All other filters are working fine except 0CALMONTH. We tried putting all sorts of variables on 0CALMONTH, but the moment a variable is put on 0CALMONTH, this issue occurs. But when we tried removing the variable from 0CALMONTH in filters and restricted it to a single value, the Report works fine.  However the same is not an issue in the Dev Box and all queries with similar variables are working fine.  So we're thinking this might be an issue on the BW backend and the cube might have to be transported again to the Quality Box.  ANy quick suggestions or inputs on this would be greatly appreciated.  Thanks and regards, Abhishek

    Hi Abhishek,
    I am facing same issue.Have you resolve this issue?
    Regards,
    Rajesh

Maybe you are looking for

  • CALL_FUNCTION_NOT_FOUND

    Since January, some data missing in EWA report (e.g. performance data), and I found some short dump in ST22 with CALL_FUNCTION_NOT_FOUND. I found in source systems and those data capture successfully. How can I let the SolMan read those information b

  • Syncing my iPod

    OK, I'm not sure if this is the best place to ask this, but I've got to start somewhere. My issue is in trying to sync my iPod with iTunes. To try to sum it up, I originally started downloading on one computer (computer A) and now I'm trying to downl

  • HT1329 Help - transferring iPod to iTunes without original iTunes?

    I need to know how to transfer my iPod music to a new iTunes without connecting to my old iTunes (as my hard-drive is corrupted and is being replaced)

  • Business Information Management - Quickbase, Basecamp, etc.

    I work with international trade with dozens of customers and factories, hundreds of contacts, and at any moment in time there may be dozens if not hundreds of projects I need to manage, from quotes to production to shipments and deliveries. Recently

  • Enter Customer Invoice

    Hello, can anyone explain to me what is the main difference between enter incoming invoice MIRO and enter customer invoice F-22. pros & cons ? and what I need to set up to be able use F-22. I know that this is probably a very brod question, but any h