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.

Similar Messages

  • 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

  • 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.

  • IP- Planning CUBE data deletion.

    Dear Experts,
    We have a planning enabled cube and the data is loaded and distributed as per reference (planning Function) is used and the planning sequence is run on the cube.
    Unfortuntely due to some issue in CRM we have to delete data from the cube for the last two months and reload.
    My doubt is that if i just delete the data requests and also planning requests and then reload and run my planning sequence which will reporcess the data from last two months again or else will their be an issue.
    Because in the normal cube its quite simple just delete all the requests from the cube and DTP will take care about the rest.
    So please suggest is their anything i need to take care.
    Thanks and Regards
    Neel

    Hi,
    If you know what data you want to delete (Selection criteria is clear to you ),as you specified last two months data then i will suggest go with selective deletion.
    You can follow the following steps for correct deletion:-
    1) Check the data in the cube by using listcube,with same selction criteria (In u r case last two months) .This will confirm you know and checked what you want to delete.
    2) Select the cube--> Right click --->Change Real time load Behavior.
    3)Select Planning not allowed.
    4)Select the cube,right click manage option.
    5) Select contents tab ,click on delete selection button.
    6)Specify same selction which you checked in cube and delete the contents.
    7)Change the load behavior back to load not allowed.

  • Dimension tables not deleted when cube data deleted

    We are using a process chain to delete the entire contents of the cube prior to the next load.  Over the course of time repeating this everyday, we see that the RSRV check tells us that the "MAX % ENTRIES IN DIMS COMPARED TO F-TABLE"  = 4718% !!  How can this be if each day the data is getting deleted from all related tables?  The max could only be 100% then, correct?
    Please advise.  I could not find an OSS note that the dimensions are not deleted as well with that step in a process chain.
    Thanks, Peggy

    Hi,
    we have fixed it call creating our own ABAP code with the following CALL:
      CALL FUNCTION 'RSDRD_DIM_REMOVE_UNUSED'
          EXPORTING
            i_infocube        = YOUR_ICUBE
    OPT       i_t_dime          = YOUR_DIMENSION
    OPT       i_check_only      =
          IMPORTING
            e_repair_possible = tp_repair_possible
    OPT     CHANGING
    OPT        c_t_msg           = it_msg
          EXCEPTIONS
            x_message         = 1
            OTHERS            = 2.
    (inserting code in the new SDN frontend is a bit of a nightmare...)
    and included this ABAP in the chain
    You can also go via RSRV and do that manually.
    I don't recommend to delete the whole dim table since the loading time will be drastically higher if you have your DIMS empty...
    The above works as well for aggregates...
    hope this helps
    Olivier.
    Edited by: Olivier Cora on Jan 15, 2008 5:41 PM

  • Does OLAP cubes store primary fact data (10gr2)?

    Does Oracle OLAP(OLAP option of 10g database) physically store inside cube data of fact table it is based on?
    More detailed:
    1. There are fact table F and several dimension tables around it - D1, D2, D3
    2. In analytical workspace there is a cube C. C mapped to F and D1, D2, D3
    3. After the cube have been maintained does it contain all the data of table F? Will records of table F be duplicated in cube С somehow?

    Hi,
    Please I need your help.
    In the case where the Cube store primary fact data (On 11gR2), Is the result of a request on the Cube the same that a request with ROLAP (under SQL Developer) ?
    My Fact table (C) contains one million lines. When creating a request on Obiee (using the Cube), I get just 1900 lines... :(
    Thanks and regards

  • 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...

  • Steps involved in Selective Deletion of Data from Info Cube

    Please search...this is much discussed in different threads out here
    Hi Experts
    I shall be greatful if you can updated me with the detail steps involved in Selective Data Deletion from a Info Cube....as i need to delete data selectively from a Infocube in LIVE system...so there is no second chance for me..
    Please update in detail
    Thanks in advance
    Edited by: Moderator

    Not sure how you were searching, but did you come across any of these...
    https://forums.sdn.sap.com/search.jspa?threadID=&q=selective+deletion&objID=f131&dateRange=all&numResults=15

  • I am trying to delete the data from the info cube.

    Hi All,
               i am trying to delete the data from the info cube.in cube reporting symbol is availble.when i click on delete button delete symbol is coming again when i click on refresh button request is not deleting .please give me solution .
    Thanks,
    chandu

    Hi,
    Also try to delete in Data Mart Status.
    R u deleting particular request or the entire data in cube, if entire data then right click on Cube select Delete Data, it entirely deletes Data.
    Hope it helps you...Let us know if you still have any issues.
    Reg
    Pra

  • Deleting the latest request from info cube.

    Hi All,
    In our project, we have data from May 2012 to till date. Data is freezed and there is no change of data till May 2014. And there is change in data for current month only ie) June 2014. So i have pulled the full load from May 2012 to May 2014 and loaded in the Info cube.
    I am deleting the current month data and loading only the current month data to Info Cube. So i want to delete the current request in the info cube before loading and load only the current month data.
    Can you pls guide me how to achieve this through Process chain. I am unable to identify which process type will suit my requirement.
    Thanks.

    Hello Vincent,
    As mentioned by you, that there is no change in data from May 2012 to May 2014, you can keep the request which contains this data(for Example Req1). If Request2 contains data from May 2012 to June 2014 then you need to delete this request i.e Req2 and load only data for June 2014. Later you can follow below mentioned process.
    Now coming to option which you are looking for process type to achieve this via process chain, there is a process variant called "Delete Overlapping Request", which is used to delete data from the target based on certain condition depending requirement.
    Hope this resolves your issue. Below document explains steps to achieve the same.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0431c48-5ba4-2c10-eab6-fc91a5fc2719?quicklink=index&…
    Best Regards,
    Venu Gopal K

  • How the data is stored in Info cube...in the back end what will happen???

    Hi Experts,
    How the data is stored in Info cube and DSO...in the back end what will happen???
    I mean  Cube contain Fact table and Dimension tables How the data will store and what will happen in the backend???
    Regards,
    Swetha.

    Hi,
    Please check :
    How is data stored in DSO and Infocube
    InfoCubes are made up of a number of InfoObjects. All InfoObjects (characteristics and key figures) are available independent of the InfoCube. Characteristics refer to master data with their attributes and text descriptions.
    An InfoCube consists of several InfoObjects and is structured according to the star schema. This means there is a (large) fact table that contains the key figures for the InfoCube, as well as several (smaller) dimension tables which surround it. The characteristics of the InfoCube are stored in these dimensions.
    An InfoCube fact table only contains key figures, in contrast to a DataStore object, whose data part can also contain characteristics. The characteristics of an InfoCube are stored in its dimensions.
    The dimensions and the fact table are linked to one another using abstract identification numbers (dimension IDs) which are contained in the key part of the particular database table. As a result, the key figures of the InfoCube relate to the characteristics of the dimension. The characteristics determine the granularity (the degree of detail) at which the key figures are stored in the InfoCube.
    Characteristics that logically belong together (for example, district and area belong to the regional dimension) are grouped together in a dimension. By adhering to this design criterion, dimensions are to a large extent independent of each other, and dimension tables remain small with regards to data volume. This is beneficial in terms of performance. This InfoCube structure is optimized for data analysis.
    The fact table and dimension tables are both relational database tables.
    Characteristics refer to the master data with their attributes and text descriptions. All InfoObjects (characteristics with their master data as well as key figures) are available for all InfoCubes, unlike dimensions, which represent the specific organizational form of characteristics in one InfoCube.
    http://help.sap.com/saphelp_nw04s/helpdata/en/4c/89dc37c7f2d67ae10000009b38f889/frameset.htm
    Check the threads below:
    Re: about Star Schema
    Differences between Star Schema and extended Star Schem
    What is the difference between Fact tables F & E?
    Invalid characters erros
    -Vikram

  • Record count is double in the Fact tables when compared to Cube data!

    Hello BW Gurus,
    I have 2 question to be answered!
    1. I have a cube which consist of 3 years of data. Due to some bad data in it, I have dropped the cube data completely from fact and dim tables and did an init. from ODS. the load failed due to "No SID found for value '2000000000000000000000010' of characteristic 0MAT_PLANT". I have run a RSRV test to find if there is any inconsistency in SID's for 0MAT_PLANT but everything looks great. Considering the time span in mind to finish the load I have removed that record from PSA and re-pushed the data from PSA which was successful, however I wanted to know if anyone has come across such kind of error.
    2. The load finished successfully in the cube but the performance of the cube was very bad coz my cube request shows only 3.5 million records but when I checked in the fact table it was showing double i.e. 7 million records, which is because I deleted the failed init. request and re-pushed the data from PSA. can anyone suggest me how to overcome this I mean how to bring back my fact table records to 3.5 million?
    please advise me and thanks so much!
    Swathi.

    hi Swathi,
    1. for 0mat_plant no sid, beside rsrv, you can try rsd1, infoobject maintenance, there is menu (about 3rd from left) 'fill sid ...'.
    for infocube update, please make sure you 'delete data',
    'fact and dim...'. check again if fact table counts 0 records then you can update from ods with 'initialize'. or if you go by psa then delete data both infocube and ods (from ods to cube should sufficient).
    2. for performance, check in infocube -> manage -> performance, make sure index and statistic is green. you can create index there, also refresh the statistic.
    hope this helps.

  • Is it possible to use same data source for two info cube

    Hi,
    My Problem is in BW we can not have value of material at storage location level.In R/3 also value is maintained at plant level.
    Then we searched and we found out one hot to doc for summarized display of stock values on storage location level.
    Problem is that we have gone live in last December and we are using " 0AFMM_C02 " and it contains around 1,81,26,000 records. and according to note we have to use
    "0IC_C03".
    Both the cube uses same data sources for the data.So, how to get the data for "0IC_C03".
    and how to delete the data of existing info cube.And is it possible to delete data selectively from the info cube.
    Pls. help.
    Regards,
    viren.

    Hi,
    You can't create update rule from PSA.You can create from the infosource or from ODS or from cube to cube or ODS to ODS.
    In your scenario, what you can do is create update rules from the ODS to the new cube and then transfer the data from there. Or from the Infosource create rules to the new data target and then upload the full data and then set up the delta.
    Third option is to create update rules from the existing cube to the new cube and then load all the data one time. Then you can deactivate the update rules as that was needed only for 1 time data transfer.
    Cheers,
    Kedar

  • 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

Maybe you are looking for

  • ITunes 6.0.1.3 suddenly locks up my computer

    Running iTunes 6.0.1.3 on XP Pro. iTunes installed without problems. Plays music fine. Works ok but with the two following problems. Some Text that was in .mp3 comment tag has turned to groups of numbers. The other problem is when switching applicati

  • Apple Mail Search is acting strange

    Hello. I have been having some major issue with Apple Mail (6.5) in its search function. I have been a heavy user of Apple Mail (over 15,000 emails on the program- and archived every year) for many years, and never had this issue. When I search for a

  • 802.1x Critical Authentication feature 12.2(25)SEE

    The critical authentication feature does not seem to work. Port does not move to authorized state if RADIUS (ACS) server is not available. In fact, it even seems to break the Authentication Fail VLAN functionality. If RADIUS server is not available a

  • Import librfc32.dll by reflection

    Hi .net Specialists, hope anyone can help. I`d like to connect a external program with SAP. The external program provides a scripting interface to add custom VB.NET code. But it`s not possible to add own assembly references. The program vendor told m

  • It is not possible to reset to factory State

    Ciao My pc has this problem: "it is not possible to reset to factory State" Noteboock  HP Pavilion dv6-6c65el OS: Windows 7 Home Premium 64-bit SP1 CPU Intel Core i5-2450M CPU @ 2.50\3.10GHz hd3000 integrata Graphics Radeon HD 7690M XT 2Gb GDDR5 BIOS