When to compress Info Cube Data?

Dear Gurus,
I am mohan.  I have a doubt regarding compression of Info Cube data.  When will we get a situation to compress the info cube data.  Is BW statistics used in taking this decision? Is it to be done by analysing the query runtime in the Transaction ST03?  Please give me detailed information.
Best Regards
Mohan Kumar

Hi,
For performance reasons, and to save space on the memory, summarize a request as soon as you have established that it is correct, and is no longer to be removed from the InfoCube.
Note : the request ID concept can also cause the same data record (all characteristics agree, with the exception of the request ID) to appear more than once in the fact table. This unnecessarily increases the volume of data, and reduces performance in Reporting, as the system has to aggregate using the request ID every time you execute a query.
Using compressing, you can eliminate these disadvantages, and bring data from different requests together into one single request (request ID 0).
-Shreya

Similar Messages

  • Compressing the Cube data

    Gurus,
    How can I compress data in Cube for all the requests which are older than 7 days ?
    I wanted to do it manually (don't wanna use Compression of InfoCube process type in process chain)
    I am aware of the Option:  Cube Manage --> Collapse --> Calculated request ID --> Mention the required number of days...
    Is there any other way of compressing the Cube data..... ?

    Mathew,
    You are right in the sence we cannot seperate the data in Compressed cube based on the Request ID.
    But I am not interested in creating a new cube / ODS. 
    What I wanted is:
    1. Transport all the data in the cube to PSA tables
    2. Deleted all the data in the cube (compressed & Non-compressed)
    3. Reload the Cube from the existing data in PSA
    The issues I am facing are:
    How can I delete a compressed request ?
    Does Reverse Posting be any help in this case?

  • Info cube data deletion fact only

    When we want to delete the data in the info cube, we get an option dialog box to choose
    Do you want to delete only the contents of the fact table
    in InfoCube IC_SDGR1 or do you
    want to delete the dimension tables as well?
    1)fact table only
    2)fact table and dimension table.
    Could anyone tell me when we use only fact table , is anyone encountered with this scenario.
    Because generally we use fact table and dimensional table option for deletion.
    Thanks for the replies

    as long as you haven't changed anything to the dimension you can leave the data in the dimension tables when deleting.Your reload will go a lot faster as less (or none) entries are to be created. on the other hand if you have made a change to your cube and you transport to production and you need to reload, then you need to delete the entries in the dimension table, as you have a new key in the structures and all old entries are useless...
    M.

  • Info cube data doesn't match with R3

    Hi,
    We are using "0AFMM_C02" Info cube for Inventory data.
    for some records its not fatching data for distribution channel.
    I checked the update routine for Distribution Channel.
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:  BEGIN OF it_data OCCURS 0,
         material LIKE /bic/cs2af_mm_inv_1-material,
         plant LIKE /bic/cs2af_mm_inv_1-plant,
         val_type LIKE /bic/cs2af_mm_inv_1-val_type,
         END OF it_data.
    DATA: lt_mrpods TYPE TABLE OF /bic/ascm_d0500.
    INCLUDE rs_bct_retail_update_rules.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_key_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS2AF_MM_INV_1
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BI0/V0AFMM_C02T-DISTR_CHAN
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    data:DISTR_CHAN LIKE /BI0/MCUST_SALES-DISTR_CHAN.
    SELECT SINGLE DISTR_CHAN INTO DISTR_CHAN FROM /BI0/MCUST_SALES
        WHERE CUST_SALES = COMM_STRUCTURE-CUST_SALES.
        IF SY-SUBRC EQ 0.
          RESULT = DISTR_CHAN.
        ELSE.
          RESULT = COMM_STRUCTURE-DISTR_CHAN.
        ENDIF.
    result value of the routine
    RESULT = .
    if the returncode is not equal zero, the result will not be updated
      RETURNCODE = 0.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.
    Can any body tell for what distribution channel it will get data..
    Please help .. its very urgent..
    Regards,
    Viren.

    Hi,
    I have a better suggestion..Try to write this code in Start Routine of Update Rule.
    DATA:  S_DATA TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    DATA:  ITEM_TABLE TYPE STANDARD TABLE OF /BI0/MCUST_SALES
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    *start of modification
    *Populating the item status data from the item status ODS table
    SELECT * FROM  /BI0/MCUST_SALES INTO TABLE ITEM_TABLE.
    LOOP AT DATA_PACKAGE INTO S_DATA.
       LOOP AT ITEM_TABLE WHERE CUST_SALES = S_DATA-CUST_SALES.
         MOVE item_table-DISTR_CHAN to s_data-DISTR_CHAN.
         APPEND S_DATA.
       ENDLOOP.
    ENDLOOP.
    DATA_PACKAGE[] = S_DATA[].
    Hope this works...
    Regards,
    San!

  • Function Module to read Info cube data

    Hi Guys,
              Is there any function module which is used to read the data in the info cube and collect the data to an internal table?
    Thanks
    Kumar

    Reading data from ODS is the best choice provided (1) you have full key, (2) there is an index on ODS for the search fields, or (3) ODS doesn't have too many records.
    If performance starts becoming an issue (due to the lack of one of the three conditions mentioned above), you have no other choice but to read from the cube and only reliable way to query a cube is to use the function module mentioned earlier.

  • BIB-9509 OLAPI error viewing cubes data

    Hi, I'm using 11.1.0.7 Oracle Server and AWM 11.1.0.7.0B. Last week I created a cube, mantained it and I could view all the data. Today when I try to view the cube data I get this error:
    An error has occurred on the server
    Error class: OLAPI
    Server error descriptions:
    DPR: Unable to create server cursor, Generic at TxsOqDefinitionManager::crtCurMgrs4
    OES: ORA-00600: internal error code, arguments: xscbTest, 18446744073709551615], [, ], [, ], [, ], [, ], [, []
    , Generic at TxsRdbSQLQuery::absolute()
    at oracle.dss.dataSource.QueryEvaluator.setUpCursors(QueryEvaluator.java:3979)
    at oracle.dss.dataSource.QueryEvaluator._setUpCursorsForMainQuery(QueryEvaluator.java:2822)
    at oracle.dss.dataSource.QueryEvaluator.getCursorForCube(QueryEvaluator.java:2854)
    at oracle.dss.dataSource.QueryEvaluator.createCubeAndCursor(QueryEvaluator.java:1234)
    at oracle.dss.dataSource.MainQueryEvaluator.createCubeAndCursor(MainQueryEvaluator.java:171)
    at oracle.dss.dataSource.QueryServer.createCubeAndCursor(QueryServer.java:3863)
    at oracle.dss.dataSource.QueryServer._createCommonQuery(QueryServer.java:3822)
    at oracle.dss.dataSource.QueryServer._initCubeQuery(QueryServer.java:3702)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at oracle.dss.util.Operation.execute(Operation.java:72)
    at oracle.dss.dataSource.OperationQueue.update(OperationQueue.java:68)
    at oracle.dss.dataSource.common.BaseOperationQueue.addOperation(BaseOperationQueue.java:176)
    at oracle.dss.dataSource.common.BaseOperationQueue.addOperation(BaseOperationQueue.java:146)
    at oracle.dss.dataSource.QueryServer.queueOperation(QueryServer.java:7079)
    at oracle.dss.dataSource.QueryServer.initCubeQuery(QueryServer.java:3652)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at oracle.dss.util.Operation.execute(Operation.java:72)
    at oracle.dss.dataSource.QueryManagerServer.sendQueue(QueryManagerServer.java:2001)
    at oracle.dss.dataSource.common.OperationQueue.update(OperationQueue.java:207)
    at oracle.dss.dataSource.common.BaseOperationQueue.addOperation(BaseOperationQueue.java:176)
    at oracle.dss.dataSource.common.BaseOperationQueue.addOperation(BaseOperationQueue.java:146)
    at oracle.dss.dataSource.client.QueryClient._initCubeQuery(QueryClient.java:2385)
    at oracle.dss.dataSource.client.QueryClient.initCubeQuery(QueryClient.java:2368)
    at oracle.olap.awm.dataobject.dialog.olapi.UBiBeanUtil.doQueryTop3(Unknown Source)
    at oracle.olap.awm.dataobject.dialog.olapi.UBiBeanUtil.showCrosstab(Unknown Source)
    at oracle.olap.awm.dataobject.dialog.olapi.UBiBeanUtil.showData(Unknown Source)
    at oracle.olap.awm.navigator.node.olapi.UCubeNode.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    anyone can help me??

    It is clearly a database bug. It could be related to
    Bug 7329946 - ORA-600 [XSCBTEST] WHEN TRYING TO VIEW CUBE DATA WITH AWM DATA VIEWER
    The AWM data viewer uses the BI Beans code, so it is probably the same thing. It is related to
    Bug 8719947 - CC CRASHES WHEN THERE IS NEGATIVE VALUES IN CCINCR TUPLES
    My advice is to raise a service request so that you can supply proper trace file information and can get a patch for your specific platform.
    For a faster response to OLAP server related problems you could post to the OLAP Forum
    OLAP

  • How to correct Inconsistent Cube Data

    We have following unique condition of the info Cube data which is causing duplicate records in reporting.
    The Fact table of the Cube has data for one dimension ID 8042 in the Data Packet dimension.
    This dimension Id does not appear in the Data Packet Dimension Table. But still the data is available in the fact table which is supposed to be a deleted data.
    How can we delete this wrong dimension ID data from the fact table without deleting the whole Cube contents? We can not use selective deletion because we can not select the DIM ID in it and the 0REQUID for that dimension does not exist.

    Mangesh,
    This could be caused due to "automatic request deletion" option in the InfoPackage while loading new data.
    You can use a function module RSCDS_DEL_OLD_REQUESTS to delete such requests from specific InfoCube.
    If you are using Oracle database, you can use program SAP_DROP_EMPTY_FPARTITIONS. It deletes partitions (requests) that are no longer referred to in P-dimension.
    Hope it works...

  • Error 3, when loading transaction data into an info cube from flat file

    HI friends,
    I have taken 2 dimension info cube. (customer and product dimensions).I loaded master data through direct update by preparing 2 excel sheets seperately for customer and product. For loading transaction data(through flexible update), I prepared single excel sheet covering all values that is master data info objects of customer and product, key figure values and taken 0unit, 0currency,0calday in transfer rules.(in excel sheet)
    Once I load the data, the "data was requested" option is appearing and error 3 coming, when I go for monitor to check the data.
    sai

    Hi Ram,
          In Monitor see the error message by clicking on Error message button or
         go to details tab and expand the nodes to see which record is having problem.
    Regards,
    Prakash

  • Request yellow when no data for one Info cube.

    Hi all,
    We have been doing delta load from 0FiAR_o06 to cube 0FIAR_C02 , but since a couple of days we have been getting request status yellow in the info cube when no data .. I have checke the settings in infopackage , it is the same for other info cubes in which the request gets green automatically when no data . This problem exists for this cube only.
    I have done RSRV and fact table recreate also but no luck so far ..
    Please help as it is pruduction issue..
    Regards,
    Akash..

    Hi
    Only the Requests that doesnot have data is updated with Yellow Request right, means the whenever the yellow request it could not pull the data.
    You need to recheck the Table Space / Back Ground memory / and Short dump.
    Try to analyse the Yellow request at Job Process / SM37
    Try to raise a Ticket with BASIS Guys for system refresh.
    Hope it helps and clear

  • Creating Info Cube from Generic Data source in BI 7.0

    Hi Gurus,
    I have small issue regarding creation of info cube. currently using BI 7.0, I have created generic datasouce in R/3 and same replicated in BI. now i want to create infocube. but bit confused whether it has to be created through DTP or regular method of creating transfer and update rule for cube. your feedback will be highly apppricated.
    Regards
    Kamal Purohit
    INDIA

    Hi ,,
    After done the Genric Datasource in R3, If u want extract that data from R3 to bw side. First we need Replicate the datasource.
    ->> Once datasource has replicated .
    -> We need to assign the datasource to infosource if we are using in 3.5.
    -> if it is BI7.0  after desinged the Cube or DSO.
    -> we need to do transformation  (3.5 transfer rule and update rule we are using that to first assign datasource to infosource).
    -> here we need to map the fields for both DSO & Data Source. (Creating Transformation)
    -> After done transformation we need to run the infopackage . . (Because still data is avialble in datasource if u run the infopackage the data comes from source system to Data source (Here Datasource is nothing but PSA).
    -> still data is available for PSA.
    -> if u want load data from PSA to Target (DSO/Cube),
    -> we need to run the DTP. (When u execute the DTP the data fetches from PSA to data targets.)
    -> still data is available for the Target(DSO)
    If u want to load data from DSO to Cube.
    We need to do the datamartstatus.
    ->->
        When u want to load data from DSO to Cube.
    -> ->Here no need to run the infopackage.
    -> Here we need run the transformation (just for mapping the fields (ODS & CUBE)).
    -> After done the transformation
    -> we need to execute the DTP ....
    once DTP has done successfull the data moved from DSO to Cube.
    Regards,
    Venkat.

  • Error in Uploading the data in Info Cube

    Hi,
    We are implementing SCM 5.0 APO and ECC 6.0 in UK/I client.
    At the moment we are facing one problem in uploading the Excel file into Info Cube.which was working perfectly earlier.
    Through analysis, we come to know that data flows thru PSA. but  when we try to push that data from PSA manually system gives following error message;
    Runtime Errors         UNCAUGHT_EXCEPTION
    Except.                CX_RSR_X_MESSAGE
    What happened?                                                                                |
    |    The exception 'CX_RSR_X_MESSAGE' was raised, but it was not caught anywhere along the call hierarchy.                                                                               
    Since exceptions represent error situations and this error was not                  
    adquately responded to, the running ABAP program 'SAPLRRMS' has to be    terminated.                                                                               
    Error analysis                                                                               
    An exception occurred which is explained in detail below.                                    
    The exception, which is assigned to class 'CX_RSR_X_MESSAGE', was not caught  and  therefore caused a runtime error.                                                            
    The reason for the exception is:                                                             
    No text available for this exception                                                                               
    Missing Handling of Application Exception                                                        Program                              RSABW_START_NEW                                          
    Trigger Location of Exception                                                                     Program                                 SAPLRRMS                                             
    Include                                 LRRMSU13                                              Row                                     78                                                   
    Module type                             (FUNCTION)                                            Module Name                             RRMS_X_MESSAGE 
    if somebody can give advice on this! As we could upload the data earlier perfectly.
    Thanks
    Regards
    Jignesh.

    Hi Jignesh,
                      I this the first time you are loading into the cube? Is it the a fresh installation?
    The error message doesn't help you much but I would try a couple of things
    1. Replicate the datasources in source system, Activate the transfer and update rules and then try to load
    2. Try loading only till the PSA and then try to simulate the update to cube. If you are using  BI 7.0, then just load the info package, it will load to PSA and unless you run the DTP, it doesnot update the cube.
    3. This can also be a GUI issue. Make sure that you have all the GUI files installed. Is it a dump with message "CX_RSR_X_MESSAGE"?
    Check the Note 763203 - Termination during InfoCube realignment
    Hope this helps. Please donot hesitate to ask more questions.

  • How to extract data from info cube into an internal table using ABAP code

    HI
    Can Anyone plz suggest me
    How to extract data from info cube into an internal table using ABAP code like BAPI's or function modules.
    Thankx in advance
    regds
    AJAY

    HI Dinesh,
    Thankq for ur reply
    but i ahve already tried to use the function module.
    When I try to Use the function module RSDRI_INFOPOV_READ
    I get an information message "ERROR GENERATION TEST FRAME".
    can U plz tell me what could be the problem
    Bye
    AJAY

  • Steps to create Data loading from Flat File to Info Cube in BI

    Hi,
         I am very new BW, I need some one help. When I am trying to create info source i am any pop window stating to create Transaction data or master data.
         After creating Info source, I dont know how to assign this info source to source system (which i created).
          When select the context menu of info source I dont have option to assign the datasource.
          And one more thing is When I am creating the Info Cube. I cant understand how to create.
          Please some one help me how to map the fields to Source system.
    Regds
    Dave.

    Hi,
    For flat file upload, first you need to create the source system.
    Then you need to create the infosource based on the format of the flat file you are going to upload or vice versa depending on your requirements.
    Once your infosource is ready, right click on it and select assign datasource. Here you can assign your flat file datasource. Then create an infopackage and give the path from where the file is to be upload to BW (in the infopackage).
    Also look at the thread below for procedure on flat file upload :
    http://help.sap.com/saphelp_nw04s/helpdata/en/8e/dbe92341c84242be2c7d3917f1c197/frameset.htm
    Cheers,
    Kedar

  • Data correction at Info cube

    Hi,
    For an Info cube, we had done compression, rollup of aggreagates. And, now we had identified wrong data entry for a field from one of the datasources.
    How can we correct the information of that filed for the old records without downtime or deleting the complete information of the cube.
    Thanks a ton in advance.

    Haripriya,
    Its a characteristic or keyfigure...?
    --> If its a characteristic you can follow one of these 2 options...
    1. Create a new datasource and load into CUBE(Do not map any keyfigures...)
    2. Loop back from CUBE to same CUBE and write a routine to populate right value for the filed by lookup. In this case also do not map any keyfields.
        --> Create export datasource on CUBE and use.
    --> If its a keyfigure..
    Need to delete data and load, due to addition.
    Hope it Helps
    Srini

  • Flat File: no data load into Info Cube

    Hi there,
    i try to load a flat file. When I simulate the upload its works well. But no Data was load in my Info Cube. When I try define a query there are no available.
    Can someone provide me with a solution for this problem?
    With rgds
    Oktay Demir

    Hi Oktay,
    in addition to A.H.P.'s marks, check if
    - Data is posted not only into PSA but also into datatarget,
    - updaterules are active.
    - Check Monitor-Status in Cube-Administration
    - Check availabilitiy for reporting of the request wthin Cube-Administration.
    Cheers
    Sven

Maybe you are looking for