Query runtime problem.

Hi Gurus,
We have a BW 3.5 query build on an infoset (ABC). And this infoset is build on 2 cubes (PQR, XYZ).
When I am running the query its taking lot of time(more than 3 hrs).
I have checked this query in RSRT  and i found the belo message.
RSRT-> Performance Info  -> Further Reporting i got the beloe message
(    Database indexes of an InfoCube and its aggregates (PQR) 
   ORACLE: Index /BIC/DPQR2~01 has possibly degenerated 
   ORACLE: Index /BIC/DPQR6~01 has possibly degenerated 
   ORACLE: Index /BI0/SREQUID~0 has possibly degenerated 
   Database statistics of an InfoCube and its aggregates (PQR) 
   Database information about InfoProvider PQRtables (PQR) 
   Check database parameter for star schema table for InfoCube PQR(PQR) 
   Database indexes of an InfoCube and its aggregates (XYZ) 
   ORACLE: Index /BI0/SREQUID~0 has possibly degenerated 
   Database statistics of an InfoCube and its aggregates (XYZ) 
   Database information about InfoProvider XYZtables (XYZ) 
   Check database parameter for star schema table for InfoCube XYZ(XYZ) 
RSRT -> Execute Debug
                                    seleting with (Input help->Shw SQL View, Read Data)
Error is:
EAn SQL error has occurred: ORA-20001:   is an invalid identifier#ORA-0651
EAn exception with the type CX_SY_NATIVE_SQL_ERROR occurred, but was neith
EError reading the data of InfoProvider PQR
EError while reading data; navigation is possible
I>> Row: 127 Inc: LRSDU_UTIL_ORAF09 Prog: SAPLRSDU_UTIL_ORA
I have checked in RSRV with Query-> Generation and execution of queries, it shows query is fine.
I have checked indexex in SE14 & SE12 every thing fine and i dont access to DB02.
Please let me know how to handle this issue.
Thanks in advance
Peter...

Hi Peter,
This error occured with the message No ORA-20001.
So,Check for the note 633914 and search in this note for ORA-20001.
Regards,
Shiva.

Similar Messages

  • Long Query Runtime/Web-template Loading time

    Hi,
    We are having a very critical performance issue, i.e. long query runtime, which is certainly not acceptable by client as well.
    <b>Background Information</b>
    We are using web application designer (WAD) 2004s release to design front end of our reports built in BI 7.0 system.
    <b>Problem Area</b>
    Loading of web template on browser
    <b>Problem Analysis</b>
    Query taking so long time to run, whenever we load it through portal or even directly through web application designer. Current runtime for query is more than a min. And I have noticed that 95% of runtime is taken for loading variable screen. FYI – if I run query through Query Designer or BEx Analyzer, it takes 3-5 seconds to execute.
    We have taken all the statistics and everything proves that query is not taking any time to execute but it’s the loading time which creates bottle neck.
    <b>Possible Cause</b>
    Web template holding 11 data providers, 5 of which are based on queries and rest are on query views. These data providers load into memory in parallel which could cause delay.
    These data providers expose detailed variable screens. Out of 21 input fields, exposed by web template, 8 fields are based on hierarchy node variables and 1 on hierarchy variable. And to my knowledge each time hierarchy/hierarchy node variable loads complete hierarchy into memory whenever they are called (in other words, its not performance efficient to use hierarchies).
    I request you to please consider this as matter of high priority and provide me with suggestions to remove bottle necks and make the application performance efficient. Please let me know, if you need any further information.
    Thanks.
    Shabbar

    I would recommend you see how long the query execution actually takes without running from the web template. If actually the individual query takes long time then you need to do some performance improvement on back-end side (aggregates, indexing,... and so on).
    But the performance issue is only with web templates, then you need to find some notes on it, because, I remember we had to apply some notes in relations  of browser taking too long time to load the selection screen in web reports.
    After exhausting all the option, then I will implement precalculating the query result before hand using broadcaster.
    thanks.
    Wond

  • Query Runtime Statistics - Delta Load Errors

    Good Morning,
    We recently upgraded our BI system to 7.0.  One of the consultants who was here activated some standard business content, as the title of my subject shows, Query Runtime Statistics.  The Infocube that is being loaded in the process chain he activated is: 0TCT_C01.   This load utilizes 4 individual delta loads, coming from Datasources: 0TCT_DSA1, 0TCT_DSO1, 0TCT_DSO2, and 0TCT_DSO3.
    The problem we're having is that at least 2 of these frequently fail ( 0TCT_DSO2 and 0TCT_DSO3 ).
    The failure messages we get is that some of the data coming in for object 0TCTSTATOBJ (Query Runtime Object) is always bad.   Some example values of the data that it is trying to load include:
    FILTER(1)
    TABELLE(1)
    GENERISCHER NAVIGATIONSBLOCK(1
    I'm not seeing anything in particular that would indicate these as being invalid values.  The ()'s I wouldn't think would be causing it, given that those are in our system as acceptable characters (checked RSKC to verify) and there's nothing else that looks out of place (aside from the values coming in as German). Has anyone else come across an error like this for this particular statistics load?  Manually changing these erroneous in the PSA is not an option given the frequency of the failures.
    Any help would be greatly appreciated.  If I need to clarify or relay any additional information, please let me know as well.  Thanks

    Sita,
    I greatly appreciate your response.  However, I probably should have provided some additional technical information regarding the issue.
    The values I posted actually are from the PSA.  These values that are given are telling the person what Java object the report being used, has had an issue (may not just be reporting issues, but general statistics for the use of these java objects, not sure yet).
    I am aware that when BI gets an invalid character, it replaces it (in the display screen) with a #.  Unfortunately, we do have # in our permitted characters and the reason why that doesn't work to qualify what was entered is because while it shows up in your display screen as a #, in the background it still sees it as the invalid char.   Subsequently, you won't always be able to see what that invalid char is.  We've encountered this many times over the years with our Sales Orders when a Rep (or someone within the company) enters invalid characters (typically they do a copy and paste from Excel using a different Font, or are using arabic or other foreign characters).
    Given that the values we're recieving are in German, my only conclusion is that the words themselves contain german characters often used in certain letters.  For example, the letter U can sometimes have what they call an umlout (spelling may be off on that).  An umlout almost looks like a quotation mark that is placed directly above the letter itself.   Another common letter in German is the ß symbol.
    We may be able to bypass our problem by entering in these german characters, but I guess I was looking for more than just a "hack" solution and was curious if anyone else out there has had a similar issue on their system and if they were able to come up with a solution other than trying to guess and add in "special characters" that are not normally used in the english language.
    Again, my appologies for not being more descriptive and thank you again for replying.

  • About query related problem

    hi ,
           we are generate query in 2005b,and procced for execuite query.following problem occure'<b>odbc sql server driver'[sql server] syntax error the converting the nvarchar value' 70302/20307' to column of data type int received alert OAIB</b>
    QUERY SHOWN BE AS FOLLOW.
    SELECT T5.DocNum as'Po. No. ', T5.DocDate as 'Po Date',T0.CreateDate,T5.NumAtCard as 'Man.PO. No/ Dt.', T0.DocNum as'AP No. ', T0.DocDate as 'AP Date',T0.NumAtCard as 'Vendor Ref. No.', T0.U_vbdt as 'Vendor Ref. Date', T0.CardName as 'Vendor', T1.Dscription as 'Item',  T1.Quantity AS 'QTY'  , T1.Price as 'Basic Rate', (T1.Price *T1.Quantity) as 'Value',T0.Comments as 'Po No. & Po.Dt.' FROM OPCH T0 INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode INNER JOIN OPDN T3 ON T2.CardCode = T3.CardCode INNER JOIN PDN1 T4 ON T3.DocEntry = T4.DocEntry INNER JOIN OPOR T5 ON T2.CardCode = T5.CardCode INNER JOIN POR1 T6 ON T5.DocEntry = T6.DocEntry INNER JOIN OITM T7 ON T1.ItemCode = T7.ItemCode INNER JOIN OITB T8 ON T7.ItmsGrpCod = T8.ItmsGrpCod WHERE (  T1.BaseRef  =  T3.DocNum )  AND ( T4.BaseRef =  T5.DocNum ) AND (  T0.U_vbdt >=[%25]AND  T0.U_vbdt <=[%26]) AND ( T4.Dscription =T1.Dscription ) AND ( T4.Dscription = T6.Dscription  ) AND  (( T1.Dscription=[%0] OR T1.Dscription=[%1] OR T1.Dscription=[%2] OR T1.Dscription=[%3] OR T1.Dscription=[%4] OR T1.Dscription=[%5] OR T1.Dscription=[%6] OR T1.Dscription=[%7] OR T1.Dscription=[%8] ) OR ( T0.CardName=[%10] OR T0.CardName=[%09] OR T0.CardName=[%27] OR T0.CardName=[%28] ) OR ((  T8.ItmsGrpNam =[%11]  oR T8.ItmsGrpNam =[%12] OR T8.ItmsGrpNam =[%13] OR T8.ItmsGrpNam =[%14] OR T8.ItmsGrpNam =[%15] OR T8.ItmsGrpNam =[%16] OR T8.ItmsGrpNam =[%17] OR T8.ItmsGrpNam =[%18] OR T8.ItmsGrpNam =[%19] ) and  ( T7.U_FirmName =[%20] OR T7.U_FirmName =[%21] OR T7.U_FirmName =[%22] 
    oR T7.U_FirmName =[%23] OR T7.U_FirmName =[%24] )) )

    Hi Vishal,
    the value '70302/20307' is not an whole number so converting it to an int is not possible.
    You should check your data for this value an change your query or data.
    Regards
    Ad

  • Query designing problem while applying cell properties

    Hello Experts,
    I have a problem while designing query. Problem is as follow:
    I have a calculated field on key figure column. This key figure calculates variance between 2 columns.
    for E.g I have 2 columns Budget and Actual and third column is %Variance which should be          
    1. ((Actual - Budget)/Budget) *100 or
    2. ((Budget -Actual)/Budget)*100, depening on some values on the row i should use any of these 2 formulas but the result should be dispalyed in single column % Variance.
    how can i change the formula in key figures depending on these conditions. I can achieve this by applying cells but i dont want to do so as it is very complex way to desing these queries.
    also let me know applying cells on query affects its performance or not?
    Regards,
    Nirav

    Hi Nitin,
    Your reply may help me.
    But my exact requirement is not that. Requirement is as follow:
    I have created Char. Structure in row which contains few rows as revenue and few rows as expense.
    I created them by creating selections. Now in case of expense the variance should be                (Budget-Actual)/Budget *100.
    In case of revenue variance should be (Actual-Budget)/Budget *100.
    So, here i have to find out revenue & expense char. iresspective of which one is greater.
    Regards,
    Nirav

  • Query has problem

    Below query has problem .
    Pls see the queries for Usage Summary with Partition and Without Partition
    . I have executed this now so it may be in Buffer …****
    DB Query ... SUM from event objects, bin variables
    SELECT sum(amount) , sum(quantity), event.poid_type,ebal.resource_id,****
    event.service_obj_type, event.service_obj_id0,ebal.
    rate_obj_id0, ebal.OFFERING_OBJ_ID0, ebal.IMPACT_CATEGORY ****
    FROM event_bal_impacts_t ebal, item_t item, event_tevent*
    WHERE event.item_obj_id0 = item.poid_id0****
    AND ebal.obj_id0 = event.poid_id0****
    --                   and event.Poid_id0 >= 266838277921701888****
    --                 and event.Poid_id0 < 267928993456455680****
    --               and ebal.obj_id0 >= 266838277921701888****
    --             and ebal.obj_id0 < 267928993456455680****
    AND item.bill_obj_id0 = 148715294****
    AND ebal.product_obj_id0 = 27433706****
    AND ebal.account_obj_id0 = 146876519****
    AND item.account_obj_id0 = 146876519****
    AND event.poid_type like '%session/telco/gsm%'****
    AND ebal.impact_category <> 'Free'****
    AND resource_id not in (select resource_id from
    resource_id_t)****
    group by****
    event.poid_type, ebal.resource_id,****
    event.service_obj_type, event.service_obj_id0,****
    ebal.rate_obj_id0, ebal.OFFERING_OBJ_ID0,ebal.
    IMPACT_CATEGORY****
    order by****
    ebal.resource_id desc;****
    SELECT sum(amount) , sum(quantity), event.poid_type,ebal.
    resource_id,****
    event.service_obj_type, event.service_obj_id0,ebal.
    rate_obj_id0, ebal.OFFERING_OBJ_ID0, ebal.IMPACT_CATEGORY ****
    FROM event_bal_impacts_t ebal, item_t item, event_tevent*
    WHERE event.item_obj_id0 = item.poid_id0****
    AND ebal.obj_id0 = event.poid_id0****
    and event.Poid_id0 >= 264199450015039488****
    and event.Poid_id0 < 265237388991660032****
    and ebal.obj_id0 >= 264199450015039488****
    and ebal.obj_id0 < 265237388991660032****
    AND item.bill_obj_id0 = 148715294****
    AND ebal.product_obj_id0 = 27433706****
    AND ebal.account_obj_id0 = 146876519****
    AND item.account_obj_id0 = 146876519****
    AND event.poid_type like '%session/telco/gsm%'****
    AND ebal.impact_category <> 'Free'****
    AND resource_id not in (select resource_id from
    resource_id_t)****
    group by****
    event.poid_type, ebal.resource_id,****
    event.service_obj_type, event.service_obj_id0,****
    ebal.rate_obj_id0, ebal.OFFERING_OBJ_ID0,ebal.
    IMPACT_CATEGORY****
    order by****
    ebal.resource_id desc;****
    --

    848478 wrote:
    Below query has problem .
    Pls see the queries for Usage Summary with Partition and Without Partition
    . I have executed this now so it may be in Buffer …****
    DB Query ... SUM from event objects, bin variables
    SELECT sum(amount) , sum(quantity), event.poid_type,ebal.resource_id,****
    event.service_obj_type, event.service_obj_id0,ebal.
    rate_obj_id0, ebal.OFFERING_OBJ_ID0, ebal.IMPACT_CATEGORY ****
    FROM event_bal_impacts_t ebal, item_t item, event_tevent*
    WHERE event.item_obj_id0 = item.poid_id0****
    AND ebal.obj_id0 = event.poid_id0****
    --                   and event.Poid_id0 >= 266838277921701888****
    --                 and event.Poid_id0 < 267928993456455680****
    --               and ebal.obj_id0 >= 266838277921701888****
    --             and ebal.obj_id0 < 267928993456455680****
    AND item.bill_obj_id0 = 148715294****
    AND ebal.product_obj_id0 = 27433706****
    AND ebal.account_obj_id0 = 146876519****
    AND item.account_obj_id0 = 146876519****
    AND event.poid_type like '%session/telco/gsm%'****
    AND ebal.impact_category <> 'Free'****
    AND resource_id not in (select resource_id from
    resource_id_t)****
    group by****
    event.poid_type, ebal.resource_id,****
    event.service_obj_type, event.service_obj_id0,****
    ebal.rate_obj_id0, ebal.OFFERING_OBJ_ID0,ebal.
    IMPACT_CATEGORY****
    order by****
    ebal.resource_id desc;****
    SELECT sum(amount) , sum(quantity), event.poid_type,ebal.
    resource_id,****
    event.service_obj_type, event.service_obj_id0,ebal.
    rate_obj_id0, ebal.OFFERING_OBJ_ID0, ebal.IMPACT_CATEGORY ****
    FROM event_bal_impacts_t ebal, item_t item, event_tevent*
    WHERE event.item_obj_id0 = item.poid_id0****
    AND ebal.obj_id0 = event.poid_id0****
    and event.Poid_id0 >= 264199450015039488****
    and event.Poid_id0 < 265237388991660032****
    and ebal.obj_id0 >= 264199450015039488****
    and ebal.obj_id0 < 265237388991660032****
    AND item.bill_obj_id0 = 148715294****
    AND ebal.product_obj_id0 = 27433706****
    AND ebal.account_obj_id0 = 146876519****
    AND item.account_obj_id0 = 146876519****
    AND event.poid_type like '%session/telco/gsm%'****
    AND ebal.impact_category <> 'Free'****
    AND resource_id not in (select resource_id from
    resource_id_t)****
    group by****
    event.poid_type, ebal.resource_id,****
    event.service_obj_type, event.service_obj_id0,****
    ebal.rate_obj_id0, ebal.OFFERING_OBJ_ID0,ebal.
    IMPACT_CATEGORY****
    order by****
    ebal.resource_id desc;****
    --Consider getting the asterisk key fixed, since it results in invalid SQL syntax

  • We are interested to know how/where to check query runtimes for any Query in SAP BW?

    We are interested to know how/where to check query runtimes for any Query in SAP BW?
    Is there any table or program to get the query run time details per query for a particular day.

    Hello Sravan,
    Bex statics tables would be 'RSDDSTATHEADER','RSDDSTATINFO' & 'RSDDSTATEVDATA'. all these can found in one view 'RSDDSTAT_OLAP'.
    above can give historical statistic.
    For current Query statics : T-code RSRT, and select debug mode select display statistics and then execute.
    Once you get the output press F3(one step back), there you can see statics of the query for that particular execution.
    Thanks,
    Mallikarjuna

  • Dynamic calculation of values at query runtime

    Hello, Everybody,
    I have situation in which I have calculate the value for characteristic at query runtime.
    Query is based on Infoset SEMPLDATA. In Infoset I have fields u201CEmployee IDu201D, u201CBirth dateu201D, u201CAgeu201D dedicated as virtual variable, u201CNumber of Employeesu201D.
    Then I execute query I enter a value for variable u201CDateu201D. After that query should calculate age for employee: for example ( variable u201CDateu201D u2013 u201CBirth dateu201D )/365. And query result is listed like this: u201CAgeu201D, u201CNumber of Employeesu201D.u201D Ageu201D is dynamic it depends on variable u201CDateu201D.
    Iu2019m doubting will virtual characteristic help me. Could you give your suggestions?
    Thanks in advance.
    Best Regards,
    Arunas Stonys

    Hey.  You can do this with a virtual characteristic.  I'm not fond of them because of performance, but it should work.  I am also assuming you have date of birth as an available field to do the calculation.
    So, you could implement code in the variable user exit.  After "Date" has been entered and the exit code is invoked you can pass that date to memory.  Something like export "date" to memory ID xxxxx.  I would create the memory ID object based on user ID running the query and date, or something like that.  Then when you are processing in the virtual characteristic user exit, just do an import from memory, referencing the same memory ID as when you exported.  Then you should be able to just do the date of birth - "date."  
    I have done this in the past to be able to retain user selection information for use in the virtual object calculations.
    Just thought I would add a bit more here.  You could also use formula variables based on your "Date" variable and "Date of birth" and do the calculation in a formula.  Not completely sure about your situation, but that's another idea.
    Hope this helps.
    Thanks
    Edited by: Siboda_Eric on May 12, 2010 4:21 PM

  • Detailed Query Runtime Statistics - Substeps of Data manager Event

    Dear All,
    I am using the report for 0TCT_MC02_Q0200 to analyse the Detailed Query Runtime Statistics.
    The report shows that the Event 9000 (Data manager Event) took a time of 109 seconds.
    I would like to know as to what does the 9000 Data Manager Event that takes 109 seconds do for me.
    What is it doing for 109 seconds ????
    Can I have more details about the substeps of Data manager Event and time taken by them ???  Any Table or a report would suffice my requriement.
    Thanks
    Regards
    Shalabh

    Hi Jain,
    Execute the query in RSRT or in RRMX. To Check how much time it is taking to execute this querry?? To get this information, Goto SE11> Give table name RSDDSTAT_DM in BI7.0 or RSDDSTAT in BW3.x> Display -> Contents-> Give from date and to date values as today, user name as Ur user name, and give the query name--> execute.
    Now u'll get a list with fields like Object name(Report name), Time read, Infoprovider name(Multiprovider), Partprovider name (Cube), Aggregate name... etc. If the time read is less than 100,000,000 (100 sec) is acceptable. If the time read is more than 100 sec then it is recommended to create Aggregates for that query to increase performance.
    Here in this table u'll find detailed Query Runtime Statistics.
    Hope thsi helps you..
    Regards,
    Ramki.

  • Unit of Measure conversion in query runtime

    Hi all,
    I am attemoting to utilise the ability to convert key figure quantities in BI7, at query runtime by using a user entry variable and a conversion type.
    Does anybody know of any decent documentation as to how to configure this?  The SAP help documentation seems both confusing and inaccurate.
    My data records contain key figures with unit 0BASE_UOM and conversion between units for each Material code are held in 0MAT_UNIT.  
    Thanks in advance

    Hi
    My feeling is when you do conversion on aggregated level(multiple products), if any of the product has UOM missing then you coversion fails on aggregted level.
    It looks strange that UOM conversion looks fine when you do conversion on each product.
    I suggest you to check whether the UOMs (that you want to convert)are updated correctly on each product on their repective location in the product master under UOM tab.
    regards
    Vijaya.

  • Error in BI Administration Cockpit for "Query Runtime Statistics"

    Dear all,
    after implementing the BI Administration Cockpit in BW and the EP I noticed, that whenever I try to modify my object selections under the node "Query Runtime Statistics", I get an error saying
    "The Entered Value Is Not in the List of Valid Values"
    This occurs under the following nodes:
       BI Application Statistics -> BI Application Selection -> Web Templates / Workbooks
       BI Application Object Statistics -> BI Application Object Selection -> Queries / Query Views / Planning Functions ....
       InfoProvider Statistics -> InfoProvider Type Selection
    Any ideas how to fix this issue???
    Thanks,
    Andreas

    Andreas,
    Thank you for your response. I applied the note 1463442 to our Development system. It fixed the error, that is , now I don't get "entered value is not in list of valid value". But when I unselect objects and click on "SUBMIT" button, nothing happens. It should redraw the report based on the selection.
    Is this working for you ? If so, please advise us.
    Thanks again,
    Ravi

  • Regarding Variable entry at the query runtime

    Hi
    In the Query Designer they have taken many variables which are user entry but when I run query I am getting only few options where I can enter values and other variables are not displayed for entry and they are taking some value as default though thay do not have default value. When I check it in Query Properties all Variables are displayed but at the Query Runtime very few are displayed.
    Please suggest me how to get all options at the Query Runtime  to enter the values. It is very urgent Plz send ur suggestions soon.
    Points will be assigned.
    Regards
    Balaji

    Balaji,
    I suspect some of your variables have been personalized. Run the query, when it's run then select Change query - Change variables values from the Bex toolbar. Have any variables little yellow smiley faces on the right hand side of the input area?  If so you may want to remove the personalization by selecting each face and select reset personalization.
    Regards
    Gill

  • Have CS5 and after installing yosemite is asking to install Java SE6 Runtime, problem is Java has a ton of version 6 and none for Mac, why hasnt adobe provide the right version download?

    Adobe needs to get their act together, be specific as to what version of Java SE6 Runtime is needed to open CS5  (InDesing, Illustrator, etc.)and if possible offer a direct download, since Oracle has a ton of version of SE6 and none of them for Mac specific platform. This short sight on behalf of Adobe and carelessness on behalf of apple is the kind of garbage, this companies will never get!

    I'm pretty sure this post has the link in it...
    Dreamweaver and Java SE 6 Runtime problem on MAC Mountain Lion OSX
    If not, do a search of the DW forum for Java SE 6, there has been a lot of discussion about it and the download link for it is floating around here somewhere.

  • QUERY RUNTIME

    I have a query which is based on the ODS.The query is taking a lot of time to run.What parameters should i check and how should i make sure that the query will run quickly.Is it something to do with indexes in the ODS.

    I saw this information which might be useful
    As stated by several people, primary indices are supplied with the ODS objects. With regard to to query performance on ODS objects, the best approach is to trace (st05) the execution of a poorly performance access. When the trace is read, normally the system will spend a long time on one access (it can vary, but this is most common). A secondary index can then be created on the selective fields in the long running WHERE clause. For example, I recently improved the performance of a query which was hanging for 32 seconds to 2 seconds. The SQL looked similar to this:-
    SELECT
    FROM
    "/BI0/APU_O3200" T_00 , "/BI0/SCURRENCY" T_01 , "/BI0/SCMMT_ITEM" T_02 , "/BI0/SFUNDS_CTR" T_03 ,
    "/BI0/SPU_MEASURE" T_04 , "/BI0/SAC_DOC_TYP" T_05 , "/BI0/SDATE" T_06 , "/BI0/SAC_DOC_NO" T_07 ,
    "/BI0/SPSTNG_SEQ" T_08 , "/BIC/SZTXTLG" T_09
    WHERE
    ( T_00 . "FM_CURR" = T_01 . "CURRENCY" ) AND ( T_00 . "CMMT_ITEM" = T_02 . "CMMT_ITEM" AND T_00 .
    "FM_AREA" = T_02 . "FM_AREA" ) AND ( T_00 . "FUNDS_CTR" = T_03 . "FUNDS_CTR" AND T_00 . "FM_AREA"
    = T_03 . "FM_AREA" ) AND ( T_00 . "PU_MEASURE" = T_04 . "PU_MEASURE" AND T_00 . "FM_AREA" = T_04
    . "FM_AREA" ) AND ( T_00 . "AC_DOC_TYP" = T_05 . "AC_DOC_TYP" ) AND ( T_00 . "PSTNG_DATE" = T_06
    . "DATE0" ) AND ( T_00 . "ACDOC_NO_F" = T_07 . "AC_DOC_NO" ) AND ( T_00 . "PSTNG_SEQ" = T_08 .
    "PSTNG_SEQ" ) AND ( T_00 . "/BIC/ZTXTLG" = T_09 . "/BIC/ZTXTLG" ) AND T_00 . "FISCPER3" = '004'
    AND T_00 . "FISCYEAR" = '2005' AND ( T_00 . "FM_ACTDETL" = '000' OR T_00 . "FM_ACTDETL" <> '000' )
    AND NOT ( T_00 . "FM_ACTDETL" = '010' ) AND T_00 . "FM_AREA" = 'F1' AND T_03 . "SID" = 2684 AND
    T_04 . "SID" = 1281
    GROUP BY
    T_01 . "SID" , T_02 . "SID" , T_03 . "SID" , T_04 . "SID" , T_05 . "SID" , T_06 . "SID" ,
    T_07 . "SID" , T_08 . "SID" , T_09 . "SID" , T_00 . "FISCPER3" , T_00 . "FM_VTYPE"
    6 TABLE ACCESS FULL /BI0/APU_O3200
    ( Estim. Costs = 20,821 , Estim. #Rows = 1 )
    Don't be put off, the only imporatnt parts are the ODS table name (in the FROM clause) - "/BI0/APU_O3200" in this case and the end of the WHERE clause. The start of the WHERE clause specifies the join conditions (which we NOT interested in) and the end gives us the (hopefully)selective fields which access the ODS object ("/BI0/APU_O3200"). Here the selective fields are:-
    FISCYEAR
    FM_ACTDETL
    FM_AREA
    A secondary index should be created on these fields to improve performance and avoid the full table scan seen above. If query runtime is still unacceptably high, then more selective fields will have to be added, which of course is also a functional issue.

  • Get value of formula variable during query runtime into a text variable

    Hi all,
    I wanna get the value of the formula variables during the query runtime into a text variable.
    My scenario is like this: First I defined a formula variable Z_DATE_3 which is processing by replacement. It will get the day of a characteristcs(Startdate).
    Then I defined a text variable and in the function module related to this text variable, I used the parameter I_T_VAR_RANGE which can store the value of formula variable during the query runtime.So I can read the value from this table in my function module.
    But I have a issue, when I run the query which used the defined text variable, it seems that it doesn't call the corresponding function module. Because I set a breadpoint in hte code and it never reach this breakpoint.
    If I removed the parameter I_T_VAR_RANGE , it can enter the function module.
    So could you please give some advice?
    Is my solution correct or not?
    And what's wrong with the parameter I_T_VAR_RANGE? Did I use it correctly?
    And My code is:
    DATA:  l_s_range_v TYPE rrrangeexit,
                 l_day type sy-datum.
    if i_step <> 2.
    raise no_processing.
    endif.
      READ TABLE i_t_var_range INTO l_s_range_v
         WITH KEY  vnam = 'Z_DATE_3'.
    if sy-subrc = 0.
         l_day = l_s_range_v-low.
    endif.
    Thanks in advance!
    Best regards
    Fanchest

    Hi, Fanchest,
    I'm having just the same issue.  Did you find a solution?
    I wrote a short routine in CMOD to derive the value of a formula variable to a text variable, but it's not working (I don't get any value).  Can you share your solution?
    Thanks in advance,
    LL

Maybe you are looking for

  • HDR camera mode shows "Saving" for a long time after taking a picture

    I noticed that after taking a photo in the HDR mode with the camera on 4.1 (4th Gen phone), the "Saving Photo" and spinning icon persist on the screen. The only way to stop it is to tape the top button on the phone, which shuts off the screen. When I

  • 1394 net adapter not working in device manager

    I,m running the KT4 Ultra  with fire wire on board with XP prof. Every thing is working fine except in device manager I have two listings for the 1394 net adapter.The first has the yellow explantion mark, Code ten."this device won't start. And the se

  • Data Doubler - Format for both OSX and Windows 7 to read/write?

    Hello! I have a Mid-2012 MacBook Pro 13" and I've ordered the OWC Data Doubler with a 1.5TB HDD to put into the optical bay. I have a couple of questions. 1. What format should I use for the HDD to allow both my OSX and Windows 7 sides read and write

  • Sales Header and Item integration issues.

    Experts, If I integrate 2LIS_11_VAHDR and 2LIS_11_VAITM into an ODS: Issues: 1) If I make my SO # as a Key Field: then I cannot capture all my item level details since they will be overwritten as the key is just SO #. 2) If i make both SO # and SO It

  • Downloaded Brushes will not work!

    Okay, so after a month of struggling to get Potoshop CS6 Extended Teacher Student Edition to work, I was playing around, downloading brushes and actions. The actions work. But I can't get the brushes to. I download them into the downloads file and th