Query OLAP - Total Problem

Hello People,
Our problem it's related about, a Query OLAP, we put the Period Gen 4, as rows:
Jan
Feb
The table reflect the order in the outline, but when we add Total, the order is alphabetic, it's any workarround, to disable this automatic order?
Thanks!

You have to check "Sort order" in the measure's properties

Similar Messages

  • Problem when querying OLAP for Value based hierarchy

    Hi I have problem when querying OLAP for value based hierarchy , for level based dimension it work fine
    the strange part is if I only put one value, it will work perfectly
    for example if I put only 1 value for that value base hierarchy like CF_HIER::426362, then it will get the correct value for that id 426362
    but if I put multiple value to the list
    CF_HIER::426362
    CF_HIER::424470
    CF_HIER::429073
    CF_HIER::424230
    then only some value will come out correctly, some of them will be 0, I wonder why because if I query using each value, then it show correct value
    for multiple value usually only the top in hirarchy give correct value, but the leaf will give 0, but if I query only the leaf, the leaf will give correct value
    this problem only happen for my value based hierarchy, for the level based hierarchy it work fine both for each value or multiple value in the list
    this is the code how I guery
    ////the "elementIdList" is where the value is (CF_HIER::426362,CF_HIER::424470,CF_HIER::429073,CF_HIER::424230), if I only put single value in this list the query work fine, but if I put multiple value then some value give correct result, some will give 0
    String[] elementIdArr = new String[elementIdList.size()];
              int i = 0;
              for (Long elementId: elementIdList) {
                   String elementIdStr ="";
                   if (hierarchy instanceof MdmLevelHierarchy)
                        elementIdStr = hierarchy.getName()+dimension.getValueSeparationString()+
                                            level.getName()+dimension.getValueSeparationString()+
                                            level.getName()+"_"+elementId;
                   else
                        elementIdStr = hierarchy.getName()+dimension.getValueSeparationString()+
                                            elementId;
                   elementIdArr[i++] = elementIdStr;
              Source myList = dp.createListSource(elementIdArr);
              result = hierarchy.getSource().selectValues(myList);
         Source joinedSource = measure.getSource();
              joinedSource = joinedSource.join(result );
    is there any suggestion where I'm doing wrong?or is it different between querying value based hier with level based hier?
    thanks

    Hi I have problem when querying OLAP for value based hierarchy , for level based dimension it work fine
    the strange part is if I only put one value, it will work perfectly
    for example if I put only 1 value for that value base hierarchy like CF_HIER::426362, then it will get the correct value for that id 426362
    but if I put multiple value to the list
    CF_HIER::426362
    CF_HIER::424470
    CF_HIER::429073
    CF_HIER::424230
    then only some value will come out correctly, some of them will be 0, I wonder why because if I query using each value, then it show correct value
    for multiple value usually only the top in hirarchy give correct value, but the leaf will give 0, but if I query only the leaf, the leaf will give correct value
    this problem only happen for my value based hierarchy, for the level based hierarchy it work fine both for each value or multiple value in the list
    this is the code how I guery
    ////the "elementIdList" is where the value is (CF_HIER::426362,CF_HIER::424470,CF_HIER::429073,CF_HIER::424230), if I only put single value in this list the query work fine, but if I put multiple value then some value give correct result, some will give 0
    String[] elementIdArr = new String[elementIdList.size()];
              int i = 0;
              for (Long elementId: elementIdList) {
                   String elementIdStr ="";
                   if (hierarchy instanceof MdmLevelHierarchy)
                        elementIdStr = hierarchy.getName()+dimension.getValueSeparationString()+
                                            level.getName()+dimension.getValueSeparationString()+
                                            level.getName()+"_"+elementId;
                   else
                        elementIdStr = hierarchy.getName()+dimension.getValueSeparationString()+
                                            elementId;
                   elementIdArr[i++] = elementIdStr;
              Source myList = dp.createListSource(elementIdArr);
              result = hierarchy.getSource().selectValues(myList);
         Source joinedSource = measure.getSource();
              joinedSource = joinedSource.join(result );
    is there any suggestion where I'm doing wrong?or is it different between querying value based hier with level based hier?
    thanks

  • ABAP Query Quantity totals wrongly - M.Type 101+, 102-

    Hi Friends,
                    Could any one help me in this? I created an ABAP Query for the combination of T.codes MB51 & MB52. When I see the total qty for the item which has GR and Goods return document.........say first by 101 I rerceive 5 nos and using 122 returns 3 nos. Here Query shows total is 8nos instead of 2 nos.
                  The same way correnponding price also shows for 8nos instead 2 nos.
    Kind Regards,
    Sankar.K

    Hi Sankar,
    You can use MSEG-SHKZG field for +(plus)/-(minus) indicator where 'H' is -(minus) and 'S' is +(plus).
    I hope this can answer your problem.
    Regards
    Gunawan

  • Cascading LOV in BEx Query OLAP Universe + BEx variable

    Hi gurus,
    we have an universe where a Cascading LOV has been defined based on a BO Hierarchy ( based on a BW hierarchy), the OLAP universe is based on a BEx query.
    Now, when the users create a WebI report selecting a value from the value list, the Cascading LOV appears and the user selects the value, descending by the nodes.
    We are analyzing the universe performance and we are testing to add some time BEx variables in the query ( in the current version no variables are used).
    Everything works properly but when we try to select a value from the Cascading LOV and try to select a lower level the webI returns a mdx error indicanting that the time variable is not informed. (WIS 10901: A database error ocurred; MDX query can not be executed: specify a value for the variable Z... )
    We thought that the mdx for the LOV get values from the MD table because in the infoobject definition, it has the Business Explorer Settings:
       Query Def. Filter Value Selection = Value in Master Data Table
       Query Execution Filter Val. Selectn  = Value in Master Data Table
    The Query Execution Filter Val. Selectn  can be defined at the infoprovider also (with the provider specific Properties of the infoobject) and also at the query, whe have not modify none of them.
    My first question is which settings has efect at OLAP Universes, the infoobject settings; the infocube settings or the query settings ?
    Are the Cascading LOV integrated with BEx Query OLAP Universe?
    Is it an application error?
    Many Thanks in advanced.
    Best Regards,
    Nuria

    Hi Ingo,
    many thanks for your quick answer.
    That was one of the possibilities we have analized but the problem is that the user has to inform the hierarchy level for all the reports, that kind of variables is translated in the universe as a prompt
    Now we have only one universe and some business analists users create reports themselves for the business area based on that universe.
    The users create WebI filters without prompts,just filtering the hierarchy node. If we add the BEx variable then the user sould inform the prompt for all the reports based on that universe.
    We want to avoid that prompt, we have several hierarchies in the query for different infoobjects.
    Thanks again.
    Best Regards,
    Nuria

  • Query in item problem

    Hellou everybody.
    I need your help. I am using forms 6i and i have a block with some non DB items. But items are synchronize with DB items for viewing results. I use this items for diplaying results from DB tables. In enter query mode i write condition in this text items and execute query.
    My problem is that i have text item which is VARCHAR2 type and I need to enter the condition for example > 1000. But i don't know how to convert this field to number. When i execute query under char type it not work properly (other result). I tried to change data type to number but i can't because it's not alowed to mixed types.
    select * from table_name where pag_cis > 100 - i need this
    select * from table_name where pag_cis > '100' - i have this
    Can you help me???

    You may use the set_block_property procedure built-in and the 'default_where' property so as to execute the query using the contents of your item (with the name of column , of course).
    Afterwards , you navigate to the db items block (with go_block('blockname')) and execute the query (built-in 'execute_query').
    Hope it helps
    Sim

  • Grand Total problem

    I have grand total problem. This is my pivot table.
    A B A/B
    1 10 0,1
    2 4 0,5
    8 3 2,67
    {color:#ff0000}11 17 _3,27_ GRAND TOTAL{color} (0,1+0,5+2,67)
    A - AVG type
    B - SUM type
    How to make obi calculate grand total like this:
    A B A/B
    1 10 0,1
    2 4 0,5
    8 3 2,67
    {color:#0000ff}11 17 _0,647_ GRAND TOTAL{color} (11/17)
    Is that posssible?
    Would it help to add *<ReportAggregateEnabled>true</ReportAggregateEnabled>*
    in instanceconfig.xml?
    Edited by: Micek on 2009.02.09 12:53

    Conceptually Report Aggregate Enabled should work. Look into this blog article which refers same.
    http://oraclebi.soundvoid.net/2008/10/grand-totals-with-calculated-columns-2/

  • 'Some of the items in the iTunes library were not copied to the iPod because they cannot be found....94 total problems' ??

    "Some of the items in the iTunes library were not copied to the iPod because they cannot be found....94 total problems"
    I keep getting this everytime I plug in my iPod ....I really dont want to lose NINETY FOUR songs, as these are the most played ones! I don't know why it's doing this and its freakin annoying!
    Can anybody PLEASE help me?????

    Thanks for the answer, but this is not a nano, it's a 5th gen 60GB wth video.
    http://support.apple.com/kb/ht1353
    Disk use is already enabled and I manually manage my music.

  • Re: Statistics Query for Total runtimes for Process Chain incorrect

    Hi Guys,
    I am building a Query for Total runtimes for Process Chain Statistics. I used the Cube 0TCT_MC21 for Query - 0TCT_MC21_Q0101.
    I dragged in Keyfigure section - startdate, end date, Start time are all correct and fine but the End time (0TCTENDTIM) is coming incorrect. Is something else i should use to get the End time?
    Please let me know if any suggestions?
    Regards

    Just check if the end times are in GMT ?? usually happens with timestamps....

  • Error querying OLAP universe based on BEx query

    Hi all,
    I have a problem extracting larger (more than 80 000 rows) amounts of data through querying an OLAP universe with WebI.
    The error is:
    Query 1 - NAME_OF_THE_QUERY
    A database error occurred. The database error text is: Error in MDDataSetBW.GetCellData. &INCLUDE INCL_INSTALLATION_ERROR. (WIS 10901)
    The error occurs when I define larger scope of analysis in the query (four levels). With more modest scope (three levels or less) it's working OK. I need larger data set (more than 200 000 rows) to be populated at night through scheduling the report. We can't afford shrink the scope of analysis because it will hit the BW server during the day when it's needed by other users.
    Besides this the speed of the report refresh is very slow - more than 3 minutes per just 400 rows of data. I'm still unable to identify the source of the problem with this slowdown. Executing the same query over the web through the SAP BW BEx Viewer is much much faster - just 3 seconds. Maybe the reason for this is that the BEx viewer aggregates data on the higher level of the hierarchy rather than down to transaction level (like we do by expanding the scope of analysis).
    Anyway, if anyone have ideas about the error above I'll be very grateful if you share your thoughts. Thanks!
    Our environment:
    BO EDGE BI 3.1, standard
    SAP BW 3.0
    SAP Integration Kit (all transports installed)
    BW user with full access

    Ingo,
    Could you point me to an official SAP document regarding the 1 million cells limitation, which describes the exact version and patch level for SAP BW which removes this limitation? It will be very helpful for me because I have to convince the client to migrate BW from 3.0 to 7.01 if it will solve this limitation.
    Thank you in advance!
    Ivan
    BTW I have installed SP2 + FP2.1 and now the SAP integration is not functional, but I have opened another thread for this problem.

  • Query to total columns

    Hello,
    Using Oracle 11g R2. I'm trying to present data in the following format. I've come up with the query below, but I don't think it's right.
    COL1
    COL2
    COL3
    NVL(COL4,SUM(COL4))
    NVL(COL5,SUM(COL5))
    NVL(COL4-COL5,SUM(COL4-COL5))
    1
    10
    10/29/2013 12:04:02
    40
    50
    -10
    1
    20
    10/30/2013 12:04:21
    80
    20
    60
    1
    30
    10/31/2013 12:04:38
    25
    60
    -35
    total 1
    145
    130
    15
    2
    40
    11/01/2013 12:05:03
    90
    10
    80
    2
    50
    11/02/2013 12:05:41
    85
    50
    35
    2
    175
    60
    115
         total 2
    320
    190
    130
    grant total
    465
    320
    145
    create table testrollupRh (col1 number, col2 number, col3 date, col4 number, col5 number)
    insert into testrolluprh values (1, 10, sysdate - 10, 40, 50)
    insert into testrolluprh values (1, 20, sysdate - 9, 80, 20)
    insert into testrolluprh values (1, 30, sysdate - 8, 25, 60)
    insert into testrolluprh values (2, 40, sysdate - 7, 90, 10)
    insert into testrolluprh values (2, 50, sysdate - 6, 85, 50)
    select col1,
             col2,
             col3,
             NVL(col4, SUM(col4)),
             NVL(col5, SUM(col5)),
             NVL(col4 - col5, SUM(col4 - col5))
    from  testrolluprh
    where col1 is not null
    and col2 is not null
    and col3 is not null
    and col4 is not null
    and col5 is not null
    group by rollup ((col1), (col1, col2, col3, col4, col5))
    Any help is appreciated.

    Hi,
    I don't see any problems with your code.
    You should have an ORDER BY clause, of course.  Almost all queries need an ORDER BY clause, but that's often omitted in this forum.
    If you want to put labels, such as 'Total 1' and 'Grand Total' on the super-aggregate rows, you can use CASE and GROUPING, like this:
    SELECT    CASE
                  WHEN  GROUPING (col2) = 0  THEN  TO_CHAR (col1)
                  WHEN  GROUPING (col1) = 0  THEN  '   Total ' || col1
                                             ELSE  '     Grand Total'
              END                                    AS out1,
              col2,
              col3,
              NVL (col4,        SUM (col4))          AS out4,
              NVL (col5,        SUM (col5))          AS out5,
              NVL (col4 - col5, SUM (col4 - col5))   AS out6
    FROM      testrolluprh
    WHERE     col1   IS NOT NULL
    AND       col2   IS NOT NULL
    AND       col3   IS NOT NULL
    AND       col4   IS NOT NULL
    AND       col5   IS NOT NULL
    GROUP BY  ROLLUP ( (col1)
                     , (col1, col2, col3, col4, col5)
    ORDER BY  col1, col3
    Output:
    OUT1                   COL2 COL3              OUT4       OUT5       OUT6
    1                        10 29-Oct-2013         40         50        -10
    1                        20 30-Oct-2013         80         20         60
    1                        30 31-Oct-2013         25         60        -35
       Total 1                                     145        130         15
    2                        40 01-Nov-2013         90         10         80
    2                        50 02-Nov-2013         85         50         35
       Total 2                                     175         60        115
         Grand Total                               320        190        130

  • Monthly Sales Order query Doc Status problem

    Hi Experts,
    I am having an problem while making a total monthly sales order query in which I am not getting the document status which are Open - Printed. Also note that these document which are open printed are not having any target document.
    SELECT T0.[DocStatus],T1.[TargetType],T0.[CANCELED],T0.[CardCode], T0.[CardName], T0.[NumAtCard], T5.[SeriesName], T0.[DocNum], T0.[DocDate], T0.[DocDueDate], T0.[DocTotal],T0.[Max1099]'Total Before Discount',T0.[TotalExpns],T4.[descript]'Territory',T2.[SlpName]'Employee Name'
    ,T0.[discsum]  FROM ORDR T0  ,RDR1 T1,OSLP T2,OCRD T3,OTER T4,NNM1 T5  where  T0.DocEntry = T1.DocEntry AND T0.SlpCode = T2.SlpCode AND T0.CardCode = T3.CardCode
    AND T3.Territory = T4.territryID AND T0.Series = T5.Series and T0.[CANCELED]='N' and T1.[TargetType] is not null
    My mission for the above query is to have Total Monthly Sales Orders with value exluding the cancelled and closed sales sales ( close here means - which are manually done by right click on sales order screen and selecting Close )
    Please guied how to solve this issue because in the back end for Sales Order which have turned to deleivery are showing doc status as closed and the sales order which are manually closed are also showing doc status as closed. How to diffrentiate between them.
    Waiting for a positve feedback.
    Regards,
    Rahul

    Try this one:
    SELECT DISTINCT T0.[DocStatus],T0.[CardCode], T0.[CardName], T0.[NumAtCard], T5.[SeriesName],
    T0.[DocNum], T0.[DocDate], T0.[DocDueDate], T0.[DocTotal],T0.[Max1099]'Total Before Discount',
    T0.[TotalExpns],T4.[descript]'Territory',T2.[SlpName]'Employee Name',T0.[discsum]
    FROM DBO.ORDR T0
    INNER JOIN DBO.RDR1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN DBO.OSLP T2 ON T0.SlpCode = T2.SlpCode
    INNER JOIN DBO.OCRD T3 ON T0.CardCode = T3.CardCode
    INNER JOIN DBO.OTER T4 ON T3.Territory = T4.territryID
    INNER JOIN DBO.NNM1 T5 ON T0.Series = T5.Series
    where  T0.[CANCELED]='N' and T1.[TargetType] != -1
    Thanks,
    Gordon

  • SQ01 query - Drilldown total level larger than 0 and drilldown function

    Hi everybody,
       I have made a sq01 query and set the call up report at "Report assignment" function. The drilldown total level of my query is 1 and I found that this makes the report can't pass the selected data (with cursor) to the receiver report correctly. I can't change the drilldown total level as 0 due to the user requirement. May I ask is there any other way to solve this problem? Thank you.

    Hi everybody,
       I have made a sq01 query and set the call up report at "Report assignment" function. The drilldown total level of my query is 1 and I found that this makes the report can't pass the selected data (with cursor) to the receiver report correctly. I can't change the drilldown total level as 0 due to the user requirement. May I ask is there any other way to solve this problem? Thank you.

  • Query Active Directory + Problem with thumbnailPhoto

    Hi<o:p></o:p>
    I have a problem and I don’t know if it is my SQL Query, so here goes
    <o:p></o:p>
    I have a view on my SQL server that Queries our Active Directory. I can see that there is data in the table.<o:p></o:p>
    But when I try to use the Image in some C# code I get an error on 60% of the images with the exception header missing or corrupted.
    My view is built with this Query:
    select
    * from
    openquery
    ADSI,'SELECT sAMAccountName, mail, title, displayName, telephoneNumber, mobile, sn, givenName,  department, thumbnailPhoto
    FROM ''LDAP:[REMOVED]''
    WHERE objectCategory = ''Person''
    Do you have any idea where the problem is? The photos shows up fine in Outlook, SharePoint, lync etc. I’m pretty sure that the C# code works correctly. Hope you can help.
    Regards
    If only I had time to learn everything I wanted ...

    Hi Latheesh
    I've tried with this script:
    SELECT ISNULL(ROW_NUMBER() OVER ( ORDER BY department ), -999) 'id' ,
    CONVERT(NVARCHAR(25), givenName) AS Fornavn ,
    CONVERT (NVARCHAR(50), sn) AS Efternavn ,
    CONVERT(CHAR(5), UPPER(SUBSTRING(mail, CHARINDEX(mail, N'@'),
    CHARINDEX(N'@', mail)))) AS 'initialer' ,
    CONVERT(NVARCHAR(255), mail) AS Mail ,
    CONVERT(NVARCHAR(75), title) AS Stilling ,
    CONVERT(NVARCHAR(120), department) AS Afdeling ,
    CONVERT(NVARCHAR(13), telephoneNumber) AS Fastnet ,
    CONVERT(NVARCHAR(13), mobile) AS Mobil ,
    CASE WHEN userAccountControl = 2 THEN 'Account is Disabled'
    WHEN userAccountControl = 16 THEN 'Account Locked Out'
    WHEN userAccountControl = 17
    THEN CONVERT (VARCHAR(48), 'Entered Bad Password')
    WHEN userAccountControl = 32
    THEN CONVERT (VARCHAR(48), 'No Password is Required')
    WHEN userAccountControl = 64
    THEN CONVERT (VARCHAR(48), 'Password CANNOT Change')
    WHEN userAccountControl = 512 THEN 'Normal'
    WHEN userAccountControl = 514 THEN 'Disabled Account'
    WHEN userAccountControl = 544
    THEN 'Account Enabled - Require user to change password at first logon'
    WHEN userAccountControl = 8192
    THEN 'Server Trusted Account for Delegation'
    WHEN userAccountControl = 524288
    THEN 'Trusted Account for Delegation'
    WHEN userAccountControl = 590336
    THEN 'Enabled, User Cannot Change Password, Password Never Expires'
    WHEN userAccountControl = 65536
    THEN CONVERT (VARCHAR(48), 'Account will Never Expire')
    WHEN userAccountControl = 66048
    THEN 'Enabled and Does NOT expire Paswword'
    WHEN userAccountControl = 66050
    THEN 'Normal Account, Password will not expire and Currently Disabled'
    WHEN userAccountControl = 66064
    THEN 'Account Enabled, Password does not expire, currently Locked out'
    WHEN userAccountControl = 8388608
    THEN CONVERT (VARCHAR(48), 'Password has Expired')
    ELSE CONVERT (VARCHAR(248), userAccountControl)
    END AS 'Disabled' ,
    CONVERT(NVARCHAR(75), givenName + ' ' + sn) AS 'DisplayName' ,
    CONVERT (VARBINARY(MAX), thumbnailPhoto) AS 'Photo'
    INTO ##adTemptable
    FROM openquery
    ADSI,'SELECT sAMAccountName, mail, title, displayName, telephoneNumber, mobile, sn, givenName, department, thumbnailPhoto,userAccountControl
    FROM ''[REMOVED]''
    WHERE objectCategory = ''Person''
    WHERE department IS NOT NULL
    But i still gets the same error on MANY rows
    OLE DB provider 'ADsDSOObject' for linked server 'ADSI' returned truncated data for column '[ADsDSOObject].thumbnailPhoto'. The actual data length is 6846 and truncated data length is 4000.
    OLE DB provider 'ADsDSOObject' for linked server 'ADSI' returned truncated data for column '[ADsDSOObject].thumbnailPhoto'. The actual data length is 7006 and truncated data length is 4000.
    OLE DB provider 'ADsDSOObject' for linked server 'ADSI' returned truncated data for column '[ADsDSOObject].thumbnailPhoto'. The actual data length is 6496 and truncated data length is 4000.
    If only I had time to learn everything I wanted ...

  • How can i use index in select query.. facing problem with the select query.

    Hi Friends,
    I am facing a serious problem in one of the select query. It is taking a lot of time to fetch data in Production Scenario.
    Here is the query:
      SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
        FROM ztftelat LEFT JOIN ztfzberep
         ON  ztfzberep~gjahr = st_input-gjahr
         AND ztfzberep~poper = st_input-poper
         AND ztfzberepcntr  = ztftelatrprctr
        WHERE rldnr  = c_telstra_accounting
          AND rrcty  = c_actual
          AND rvers  = c_ver_001
          AND rbukrs = st_input-bukrs
          AND racct  = st_input-saknr
          AND ryear  = st_input-gjahr
          And rzzlstar in r_lstar                            
          AND rpmax  = c_max_period.
    There are 5 indices present for Table ZTFTELAT.
    Indices of ZTFTELAT:
      Name   Description                                               
      0        Primary key( RCLNT,RLDNR,RRCTY,RVERS,RYEAR,ROBJNR,SOBJNR,RTCUR,RUNIT,DRCRK,RPMAX)                                          
      005    Profit (RCLNT,RPRCTR)
      1        Ledger, company code, account (RLDNR,RBUKRS, RACCT)                                
      2        Ledger, company code, cost center (RLDNR, RBUKRS,RCNTR)                           
      3        Account, cost center (RACCT,RCNTR)                                        
      4        RCLNT/RLDNR/RRCTY/RVERS/RYEAR/RZZAUFNR                        
      Z01    Activity Type, Account (RZZLSTAR,RACCT)                                        
      Z02    RYEAR-RBUKRS- RZZZBER-RLDNR       
    Can anyone help me out why it is taking so much time and how we can reduce it ? and also tell me if I want to use index number 1 then how can I use?
    Thanks in advance.

    Hi Shiva,
    I am using two more select queries with the same manner ....
    here are the other two select query :
    ***************1************************
    SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
        FROM ztftelpt LEFT JOIN ztfzberep
         ON  ztfzberep~gjahr = st_input-gjahr
         AND ztfzberep~poper = st_input-poper
         AND ztfzberepcntr  = ztftelptrprctr
        WHERE rldnr  = c_telstra_projects
          AND rrcty  = c_actual
          AND rvers  = c_ver_001
          AND rbukrs = st_input-bukrs
          AND racct  = st_input-saknr
          AND ryear  = st_input-gjahr
          and rzzlstar in r_lstar             
          AND rpmax  = c_max_period.
    and the second one is
    *************************2************************
      SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
        FROM ztftelnt LEFT JOIN ztfzberep
         ON  ztfzberep~gjahr = st_input-gjahr
         AND ztfzberep~poper = st_input-poper
         AND ztfzberepcntr  = ztftelntrprctr
        WHERE rldnr  = c_telstra_networks
          AND rrcty  = c_actual
          AND rvers  = c_ver_001
          AND rbukrs = st_input-bukrs
          AND racct  = st_input-saknr
          AND ryear  = st_input-gjahr
          and rzzlstar in r_lstar                              
          AND rpmax  = c_max_period.
    for both the above table program is taking very less time .... although both the table used in above queries have similar amount of data. And i can not remove the APPENDING CORRESPONDING. because i have to append the data after fetching from the tables.  if i will not use it will delete all the data fetched earlier.
    Thanks on advanced......
    Sourabh

  • Error when querying OLAP data with BI answers

    Have been doing all the Lessons in "Using Oracle OLAP With Oracle BI Enterprise Edition 10g Release 3". Got till lesson 3 where I'm supposed to query the data with Answers but If I add any of the facts to the report, I get the following error:
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17003] Oracle gateway error: Unsupported data type 101. (HY000)
    SQL Issued: SELECT Customer."Ship To" saw_0, Measures.COST saw_1 FROM Global ORDER BY saw_0
    So I was wondering if anyone knows what the catch could be.
    Thanks in advance!

    Yes. Me too. I have the same issue and I don't find any information about it. Could anyone help ?

Maybe you are looking for

  • Facetime on my iPhone and iPad

    Can I use the same sign in name to use Facetime on my iPhone and my iPad 2?

  • Why does iMac (Mid 2012) not support Jumbo Frames?

    Why is it not possible to change MTU size to more than 1500? Buying such a high quality product, I would expect that it supports jumbo frames! My NAS supports jumbo frames, the Air Port Extreme does but a brand new iMac doesn't??? Is there any patch

  • Solaris 10 Zones Networking

    This may be spelled out somewhere but I haven't found it yet, so does someone have answer for this? I'd like to run a global zone and serval non-global zones each with it's own IP. Is there anyway to bind all zones to 1 nic or do I need a seperate ni

  • Ldap Authentication

    I am not using the standard login for the portal. I have to connect to the ldap through code and check the presence of the user and passwd in the ldap. Kindly advice

  • Can I copy and paste iMovie projects?

    I have made a project which I mistakenly set at 30fps. All of my original clips are 25fps. Is there any way of copying the whole project and pasting it onto a new project that is set at 25fps?