Trouble displaying Period Depreciation in query against cube 0FIAA_C02

Hello,
I'm quite familiar with writing queries, however and I'm having trouble displaying "Period Depreciation" in a query against cube 0FIAA_C02.
All charactertistics and most of the the key figure values appear with values displayed in the query....however any key figure that is to be related to "Period Depreciation" displays a zero.
Any thoughts on how I can display "Period Depreciation" from this cube?
Jim

Hi,
is the field "Period Depreciation" added to the cube or was it already in the business content ?
If it was added you can check if the value for "Period Depreciation" is correctly filled from within the update rule to the cube.
regards,
Raymond Baggen
Uphantis bv

Similar Messages

  • Error when running a query against Multiprovider using 0FIGL_VC1

    Hi SAP Gurus,
    I'm creating a MultiProvider for FI-GL.It has 2 Cubes.one is 0FIGL_VC1 (Virtual Cube) and other one is Customised Cube.When I run Query against this MultiProvider with  the combination of basic cubes key figures,I'm getting an error
    'Abort system error in Program SAPLRSDRC and Form RSDRC/Form DISPATCHER/RECEIV '
    then system gets disconnected from the Server .
    Please give me the solution to fix it & I'll assign the points .
    Thanks & Regards
    Raja

    Hello Suman,
    Check the table rszglobv for this variable - ZCONLEH.
    If it is available there then see which infoobject it belongs to and then look for that in the query designer. May be resaving the query solves the issue.
    If the variable is not available in the table, then it seems that the variable is lost and you might have to recreate it for keeping the semantics of the query the same as it was before the upgrade.
    Regards,
    Shweta

  • Custom Infotype - to display the description  in query ouput!!

    I have created a Custom Infotype  and when I run a Infoset Query against the custom infoset, the field is getting displayed but not the description.
    For Ex
    ADP Infotype Company Code A11 - America
                           Company Code A12 - Africa
                                                    A13 - Russion,
    My issue is, when i run the query, the three letter code (A111, A12) is getting displayed but not the descripton itself.
    Can some one please let me know how to display the description in the output when we nun the infoset Query.
    Thanks for your assiance!!

    Hi,
    Have u given proper Data element and Domain to the field?
    Generate the Query again.
    Manoj

  • Querying against multiple subject areas

    We would like to write a query against two or more subject areas. Is that possible in OBI EE 10g? Looks like this is a feature available in Business Objects and our users are requesting it. Please suggest how it can be done.

    Hi Nico,
    You are correct, OBIEE 10g will let you use UNION statements in the complex SQL. In fact you can use "Combine with Similar Request" to drive a UNION, UNION ALL and MINUS statement from the Criteria tab without having to go to advanced settings.
    What we were trying to say above was that it doesn't let you JOIN two subject areas together. For example,
    SELECT SUBJECT_AREA1.COLUMN1, SUBJECT_AREA2.COLUMN2
    FROM SUBJECT_AREA1, SUBJECT_AREA2
    WHERE SUBJECT_AREA1.KEY = SUBJECT_AREA2.KEY
    The above just isn't possible.
    One thing you can do that sort of accomplishes it (but it behaves really kludgey) is use the union statement + null/0 place holders + group by statement. This is a pain though. For example:
    1) Your Logical SQL should be something like:
    SELECT SUBJECT_AREA1.COMMON_DIMENSION, SUBJECT_AREA1.MEASURE1, 0 MEASURE2
    FROM SUBJECT_AREA1
    UNION
    SELECT SUBJECT_AREA2.COMMON_DIMENSION, 0 MEASURE1, SUBJECT_AREA2.MEASURE2
    FROM SUBJECT_AREA2
    2) In the criteria tab, create new aggregate columns based on MEASURE1 and MEASURE2 grouped by COMMON_DIMENSION. For example:
    NEW_MEASURE1= SUM(MEASURE1 by COMMON_DIMENSION)
    NEW_MEASURE2=SUM(MEASURE2 by COMMON_DIMENSION)
    ***I think you have to reference the saw name and not the logical name at this point. Hence it may read something like: SUM(saw1 by saw0) and SUM(saw2 by saw0)
    3) Throw the COMMON_DIMENSION, NEW_MEASURE1, NEW_MEASURE2 into a pivot table and you're all set.
    Like I mentioned, it behaves very strangely and is a pain to implement, but it does display the expected results a join would.
    -Joe

  • Display planned depreciation values for depre areas

    Hi,
    I have 2 depreciation areas, 01 for book and 04 for local depreciation.
    How do I display the periodic depre values for 04 in asset explorer posted values tab  if I don't want to maintain a derived depre area?
    Your assistance will be greatly appreciated.
    Thank you

    Hi,
    if area 04 does not post, you will not get any info on the "posted" values tab. Simply because this area does NOT post to G/L then.
    Only parallel depreciation areas, or real depreciation areas which are part of the definition of a POSTING derived depreciation area get also period values stored, this is the exception.  But a standalone real depreciation area, which does not post and which is not parallel will not store period depreciation values.
    Regards,
    Markus

  • How to query a cube using SQL ?

    Hi I have a MOLAP cube say CubeA with dimensionA having Attribute A1 and dimensionB having attribute B1
    the measure of cube is M1.
    Any idea how i can query the cube using SQL dislaying both the dimensions with the measure interlinking them.
    I just need a general overview of how to sql query a cube .. I have the dimensions and sttributes and name of the cube but i ineed to know how to query it... I was given an example
    SELECT
    t.time_long_description,
    p.product_long_description,
    c.customer_long_description,
    f.sales,
    f.sales_ytd
    FROM
    time_calendar_view t,
    product_std_view p,
    customer_std_view c,
    sales_cube c
    WHERE
    t.dim_key = f.time
    AND p.dim_key = f.product
    AND c.dim_key = f.customer
    AND t.level_name = 'CALENDAR QUARTER'
    AND p.level_name = 'BRAND'
    AND c.level_name = 'STATE';
    but i cant understand it.. i cant figure out what are the dimensions and where are the attributes...
    Any idea would great...

    There's a nice tutorial here: http://st-curriculum.oracle.com/obe/db/11g/r1/olap/cube/querycubes.htm
    Here are a few basics. Note that the link between the dimensions is the join between the dimension or hierarchy views and the cube.
    * The primary key to every dimension and hierarchy view is DIM_KEY.
    * The primary key to the fact table is dim1, dim2, dim3, so all joins are between dim_keys and dim1, dim2, etc.
    * Dimension, hierarchy and cube views contain rows for both leaf (detail) and summary rows (that means cubes can return very, very large numbers of rows is you aren't careful)
    * You typically want to query for the aggregate level data rather than use SUM ... GROUP BY. Let the cube do the work and let it manage calculations.
    * Dimension views contain rows for all dimension member. hierarchy views contain rows for only members of the hierarchy.
    * You typically select one of the long or short description columns to display data within an application.
    Here's a commented version of your query:
    SELECT
    t.time_long_description, -- long descriptions
    p.product_long_description,
    c.customer_long_description,
    f.sales, --measures
    f.sales_ytd
    FROM
    time_calendar_view t, --hierarchy views
    product_std_view p,
    customer_std_view c,
    sales_cube c --cube view
    WHERE
    t.dim_key = f.time ; -- joins between hierarchy and cube views
    AND p.dim_key = f.product
    AND c.dim_key = f.customer
    AND t.level_name = 'CALENDAR QUARTER' -- Filters to ask for data at the quarter
    AND p.level_name = 'BRAND' -- brand
    AND c.level_name = 'STATE'; -- and state levels.
    You want to have a filter on every dimension to avoid return all rows in the fact table for that dimension (remember, the cube contains summary rows). If you want to drop a dimension from a query (e.g., you don't want product in the query, intending for the query to be the aggregate of all products), filter to an all/total level.
    e.g.,
    and p.level_name = 'ALL PRODUCTS'
    or
    and p.long_description = 'All Products'
    There are many variation of this query, but if you understand the basics you'll work your way there.
    And, never do a select count(*) from a cube. Doing so will select the entire cube, detail and summary data.

  • Query against XMLType

    I'm hung up on something that I suspect is very easy, but I have little experience working with XML in the database and think I've just stared at it too long.
    I have an XML document (fragment below) stored as an XMLType in a 10g R2 database table and I want to return the following result set from a query against the document:
    PAGE_ID PAGE_SUBMISSION_FIELD
    21 F39EF21
    21 F85FG3E
    21 F73EF58
    21 FA4939F
    22 FDE77A4
    22 FF3AD33
    Here is a fragment of the XML document:
    <root-interface>
    <page-group>
    <display-page validation-state="new">
    <id>21</id>
    <page-submission-fields>
    <page-submission-field>F39EF21</page-submission-field>
    <page-submission-field>F85FG3E</page-submission-field>
    <page-submission-field>F73EF58</page-submission-field>
    <page-submission-field>FA4939F</page-submission-field>
    </page-submission-fields>
    </display-page>
    <display-page validation-state="new">
    <id>22</id>
    <page-submission-fields>
    <page-submission-field>FDE77A4</page-submission-field>
    <page-submission-field>FF3AD33</page-submission-field>
    </page-submission-fields>
    </display-page>
    </page-group>
    </root-interface>
    Here is the table in which it is stored:
    desc cms_session_interfaces
    Name Null? Type
    SESSION_ID NOT NULL NUMBER
    INTERFACE_ID NOT NULL NUMBER
    CREATED NOT NULL DATE
    LAST_ACCESSED DATE
    INTERFACE_XML SYS.XMLTYPE
    Here is a close as I've come with a query:
    select extract(value(display_pages), '//id/text()').getStringVal() page_id,
    extract(value(display_pages), '//page-submission-fields/page-submission-field') page_submission_field
    from cms_session_interfaces csi,
    table(xmlsequence(extract(csi.interface_xml, '//root-interface/page-group/display-page'))) display_pages
    where csi.session_id = 41
    and csi.interface_id = 596
    (the specified session_id and interface_id are just for testing purposes)
    This returns two rows consisting of the PAGE_ID and an object of XMLType containing the page-submission fields. Almost there, but not quite; any suggestions would be appreciated.

    As Marco said, xmltable is very handy:
    SQL> with cms_session_interfaces as (
      2  select XMLType('
      3  <root-interface>
      4    <page-group>
      5      <display-page validation-state="new">
      6        <id>21</id>
      7        <page-submission-fields>
      8          <page-submission-field>F39EF21</page-submission-field>
      9          <page-submission-field>F85FG3E</page-submission-field>
    10          <page-submission-field>F73EF58</page-submission-field>
    11          <page-submission-field>FA4939F</page-submission-field>
    12        </page-submission-fields>
    13      </display-page>
    14      <display-page validation-state="new">
    15        <id>22</id>
    16        <page-submission-fields>
    17          <page-submission-field>FDE77A4</page-submission-field>
    18          <page-submission-field>FF3AD33</page-submission-field>
    19        </page-submission-fields>
    20      </display-page>
    21          </page-group>
    22  </root-interface>') interface_xml
    23  from dual)
    24  select page.id,fields.field
    25  from cms_session_interfaces csi,
    26  xmltable('//root-interface/page-group/display-page'
    27   passing interface_xml
    28   columns
    29    id varchar2(10) path 'id',
    30    page_fields xmltype path 'page-submission-fields') page,
    31  xmltable('/page-submission-fields/page-submission-field'
    32   passing page_fields
    33   columns
    34    field varchar2(25) path '.') fields
    35  /
    ID         FIELD
    21         F39EF21
    21         F85FG3E
    21         F73EF58
    21         FA4939F
    22         FDE77A4
    22         FF3AD33
    6 rows selected.Best regards
    Maxim

  • How to use one query against multiple table and recieve one report?

    I have duplicate tables, (except for their names of course) with commodities prices. They have the same column headings, but the data is different of course. I have a query that gives me a certain piece of information I am looking for but now I need to run this query against every table. I will do this every day as well, to see if the buying criteria is met. There are alot of tables though (256). Is there a way to say run query in all tables and return the results in one place? Thanks for your help.

    hey
    a. the all 256 tables whuld be one big partitoned table
    b. you can use all_tables in order to write a select that will write the report for you:
    SQL> set head off
    SQL> select 'select * from (' from dual
      2  union all
      3  select 'select count(*) from ' || table_name || ' union all ' from a
      4  where table_name like 'DB%' AND ROWNUM <= 3
      5  union all
      6  select ')' from dual;
    select * from (
    select count(*) from DBMS_LOCK_ALLOCATED union all
    select count(*) from DBMS_ALERT_INFO union all
    select count(*) from DBMS_UPG_LOG$ union all
    remove the last 'union all', and tun the generated quary -
    SQL> set head on
    SQL> select * from (
      2  select count(*) from DBMS_LOCK_ALLOCATED union all
      3  select count(*) from DBMS_ALERT_INFO union all
      4  select count(*) from DBMS_UPG_LOG$
      5  );
      COUNT(*)
             0
             0
             0
    Amiel

  • Best practice for a same query against 2 different tables

    Hello all,
    I want to extract info about tablespaces storage, both permanent and temporary. For that I use 2 different cursors that do exactly the same query but against a different table (dba_data_files and dba_temp_files).
    CURSOR permanentTBSStorageInfo (tablespaceName VARCHAR2) IS
    SELECT file_name, bytes, autoextensible, maxbytes, increment_by
    FROM dba_data_files
    WHERE tablespace_name = tablespaceName;
    CURSOR temporaryTBSStorageInfo (tablespaceName VARCHAR2) IS
    SELECT file_name, bytes, autoextensible, maxbytes, increment_by
    FROM dba_temp_files
    WHERE tablespace_name = tablespaceName;
    First I'm bothered that I have to use 2 cursors to execute the same query against 2 different tables. Is there no another way around?
    Then I fetch the results of this cursors in 2 different loops because I didn't find a way to dynamically call the cursors. I am looking for best practice here, knowing that I will do the same parsing against the results of the 2 cursors.
    Thank you,

    Hi
    Check whether the below query is helpful or not
    select      fs.tablespace_name "Tablespace",
         fs.tempspace "Temp MB",
         df.totalspace "Total MB"
         from
         (select
         tablespace_name,
         round(sum(bytes) / 1048576) TotalSpace
         from
         dba_data_files
         group by
         tablespace_name
         ) df,
         (select
         tablespace_name,
         round(sum(bytes) / 1048576) tempSpace
         from
         dba_temp_files
         group by
         tablespace_name
         ) fs
         where
         df.tablespace_name = fs.tablespace_name;
    Thanks

  • Java.sql.SqlRecoverableException error while querying the cube

    Hi
    I get the following error when I try to query the cube from a Java program
    java.sql.SqlRecoverableException: no more data to read from the socket.
    This error occurs sometimes and sometimes it does not occur.
    We observed that if many people simultaneously try to query the cube the error crops up.
    Is this a bug or is there a solution or a method to deal with this sort of situation

    That sounds like the connection to the database is not there, or was dropped. Check that you are not maxed out on the number of processes.

  • Display Text in a query as a symbol

    Hi everyone,
    I have a query (BI 7) that displays runtimes of BI applications (generated from technical content -0TCT_MC01 multiprovider).
    In the rows there is 0TCTBIOTYPE (type of BI application) which usually displays texts as below:
    query
    Web Template
    I would like to show in the report the symbol (image) instead of the key/text of this infoobject.
    Any idea?

    Hi Reuvel,
    Nice requirement.
    Not sure 100% but from my memory i guess we can display the image for characteristic, instead of text or key by using Analysis web item Using parameter modification in WAD .
    Kindly check for Modifcation parameter Display image Module (com.sap.ip.bi.*.Documentcontent) in WAD, it might solve your purpose.
    Regards,
    Ashish

  • Trouble displaying icon on push button in 6i Forms

    Hi,
    I'm having trouble displaying an icon on a button at both design and run times. I'm using Forms 6i with client/server enviornment. I have tried to follow several forums regarding icon setup and the Whitepaper articles. I have tried different suggestions but am still unable to get the icon. Here's my latest attempt:
    1. Copied .jar file to C:\Oracle_Developer_9i\forms90\java folder
    2. Modified formsweb.cfg (in the serverApp=default section) and included the following:
    archive_jini=f90all_jinit.jar,myAppIcons.jar
    imagebase=codebase
    3. In button's properties I set:
    iconic = 'Yes'
    icon filename = C:\Oracle_Developer_9i\forms90\java\myAppIcons.jar
    My guess is that I didn't copy the icon files (from the .jar file) correctly. As suggested in the Whitepaper, I don't have the c:\ myApp\ icons directory. I did a search for an icon directory and found multiple icons folders (due to other oracle projects installed on my pc) but don't know which one to use. Being that I'm using 6i and the instructions were for 9i I didn't know if the directory/folder name is different. Is there another directory/folder (using 6i) where I should copy all the .gif files from in addition to storing the .jar file in the C:\Oracle_Developer_9i\forms90\java directory?
    Also, I feel that I'm not calling it correctly from the location in step 3. Being that the icon exists in the jar file, how would I reference it within the file? Does anybody have any suggestions? Any help would be greatly appreciated.
    Thank you,
    Eric

    Robin,
    I tried your suggestions but am still unable to view the icon. Here's what I now have tried.
    1. I've created UI_ICONS in the windows registry under the form's oracle home and am calling c:\icons from that variable.
    2. In c:\icons, I copied the .jar file's contents (search.gif) into this folder. This is where I may have a problem in addition to my next step in calling the filename. You mentioned in your first post to put my .ICO files there. Should I rename my .gif to .ico? Not sure if I followed you there.
    3. In the button property, I set icon = yes and icon filename = c:\icons\search.gif -- Not sure if I used the right syntax for the filename. I've tried renaming it to .ico and it still does not display.
    Sorry about all the questions but I really appreciate your help. Do you see anything else that I did that may cause it to not display?
    Thanks again,
    Eric

  • Display results of MySQL query from AMFPHP by ArrayCollection in AS3 (Flash CS4)

    Hi, i am using Flash CS4 (AS3) + AMFPHP + MySQL to do own flash frontend for Wordpress CMS.  Everything is going fine but i`ve got one problem. Problem with properly display of result of query in AS3 by using ArrayCollection.
    When i check my service in "amfphp/browser/" in web browser i`ve got this (with all needed data):
    (mx.collections::ArrayCollection)#0
    filterFunction = (null)
    length = 2
    list = (mx.collections::ArrayList)#1  
    length = 2     source = (Array)#2
    That is the reason that i suppose that service work fine.  Problem is when i try to display result in AS3. In actionscript i have got this:
    function getNewsListHandler(result:Object):void{
    trace(result);
    This function displays: [object Object].
    I know that "result" is an ArrayCollection type but i don`t know how to get rows and columns from this. I know that my data is there but i have no idea how to get it.
    Clarify: I don`t know how to get to Arrays and simple data variables which are in ArrayCollection.
    Could anyone help me with that problem. I would be gratefull
    P.S. I tried also change query type in service.PHP for mysql_fetch_query but in that case i`ve got only one row (not all data).

    Thanks for fast reply,
    arr_coll:ArrayCollection = new ArrayCollection ({col1:"data1",col2:"data2"}, {col1:"data3",col2:"data4"});
    you would get the data like
    var resultstr:String = arr_coll[1][1].col2;
    trace(resultstr);
    //results in data4
    could you explain me how it was happen (arr_coll[1][1].col2)? It`s not clear to me. I thought in this case rather something like this :
    var resultstr:String = arr_coll[1]['col2'];
    It should give me "data4". I know it wasn`t but i don`t understand ArrayCollection in level which is needed to use your advice in my case. Could you clarify "arr_coll[1][1].col2" a bit?
    What would it look like when you would have something like this:
    arr_coll:ArrayCollection = new ArrayCollection ({col1:"data1",col2:"data2"}, {col1:"data3",col2:"data4"},{col1:"data5",col2:"data6"},{col1:"data7",col2:"data8"});
    and you would want know f.e. position in ArrayCollection of  "data6". How would you code this? arr_coll[1][2].col2?

  • Query against materialized view from stored procedure brings back empty row

    I have a stored procedure that runs a query against a materialized view. When I run the query outside the SP it works just fine. When I change the MV to a table name, the SP works. When I change it back to the MV i get an empty row. Any ideas? The code is below:
    PROCEDURE getAuth     (p_naid        IN  NUMBER,
                             p_scope       IN VARCHAR2,
                             o_xml_data    OUT SYS_REFCURSOR
                             ) IS
      BEGIN
        IF p_scope = 'Approved' THEN
          OPEN o_xml_data FOR
            SELECT naid,
                   p_naid,
                   auth_type,
                   xml_data
            FROM some_mv
            WHERE naid = p_naid;   
          RETURN;
          CLOSE o_xml_data;
    ... the rest of the procedure ...

    does procedure contain EXCEPTION handler?
    if so, then remove, delete & eliminate EXCEPTION handler (at least during testing & debugging)

  • Query on Cube jumps to Query on ODS ; Query on ODS takes Long time

    Hi All,
    Perormance Issue:  Query on Cube jumps to Query on ODS.
    Query on ODS taking long time.(JumpQuery)  
    Specific to ODS Query: When i have checked the Query on ODS(individually) also taking longer time
    Actually ODS contains quite huge data. Indexes already maintained.
    I have checked the RSRT- Execute SQL and Debug Option also. Indexes maintained Perfectly .
    Order of objects in ODS indexes are matching the order of Objects in SQL stat of RSRT Trans. Inspite of that taking long time.
    I have checked both the ways jumpquery aswellas individually .
    My question is when the query is jumping from cube to query on ODS how to check the performance, how the query is executing in background when switching over to the second query, Moreover calculated keyfigure has been used for jumping to the target query.
    How can query(ods query)  time is optimized or improve performance when jumping  from query on Cube ?
    can any body help?
    Rgds,
    C.V.
    Message was edited by:
            C.V. P

    What i understand is that you need to optimise the Query jumping time . But this will be very less compared to the time taken by the query on the ODS.
    Ideally you shouldnt be making a BEx Query on the ODS , as this takes a long time. What you can do is try executing the Bex Query on the ODS to find out as to where the issue lies. If this query is taking a long time , there is not muich that you can do here.

Maybe you are looking for