Deleting data from a cube

Hi,
I added a info object to a dimension in a cube. now i want to delete the info object from the cube. But since the cube has data in it, i cannot do it unless i delete all the data from the cube. When i select 'delete data', i'm given 2 options, delete fact table only and 2nd option delete fact table and dimension table. what is the difference between the two and what option should i select.
i then need to load the cube back from ODS. the cude right now is setup in the proce4ss chain to do a delta load every day. would this be affected after i delete the data and load it again from the ODS?
Thanks
Sameer

The way I understand your question is...
1) You have data in the cube from which you have to remove an infoobject
Ans: To acheive this, you have to delete the data from the cube
2) You have deleted the data and then deleted the IO, activated the cube and the update rules from the ODS which feeds this cube
3) Now you have to reload the deleted data from the ODS. But you already did an init and you are loading delta's from this ODS to the cube through process chain.
Ans: As you've already deleted the whole data from the cube, do a full load from the ODS (you can do this even when delta initialization is done) to your cube by creating a new infopackage under the export datasource of the ODS. This will capture all the records from the ODS. Then to be on the safe side so as not to load any duplicate records...go the infopackage that you've used to do the full load (you can even create a new Info package)...SCHEDULER -> Initilization options for source system -> Delete the existing INIT -> Then do Init again...
Leave the delta infopackage as is and let the process chain take care of the deltas from now on...
Hope this helps. Let me know I am missing something here...

Similar Messages

  • Deleting Data from SSAS CUBE

    Hello Everyone,
    I have a question, we developed a Basic Cube by building dimensions & Fact from the Source table(Everything in DSV, no Physical DIM and Fact Tables). Now everything goes well.  The Source table will only have CUrrent day data.
    My Question is: Need to delete  particular day data from the cube without disturbing the Existing Data.
    Eg: When I process the data on 31st of March, cube will have only 31st. But when I process 1st , 2nd data CUbe should have 31st +2nd data. 1st Dated data should be deleted from cube,when ever I process the data I just need month end data need to be stored
    with current day data. all the other stuff should be deleted from the cube.
    if I process the Cube on 1st of May, I should only have 31st March, April 30th and May 1st data.
    Hope the Question is clear, please let me know.
    Any help/suggestions would be appreciated.
    Thanks In Advance.
    Thanks, Please Help People When they need..!!! Mark as answered if your problem is solved.

    Hi BKomm,
    I Guess the only way to handle this scenario is by using partitions.
    Create partitions for every last day of months + One additional partition for  current_date.
    your where clause for current_date partition should be somewhat like this
      Where Date = current_date And Date <> Last_Day_of_current_Month
    so that it does not duplicate data for the last day of current month.
    Saurabh Kamath
    Hello Kamat, I was looking for something else inorder to delete the existing data from a cube. But your Approach is far better than making it complex, it did not strike to my mind. Thanks will implement practically and check.
    Thanks Again.
    Thanks, Please Help People When they need..!!! Mark as answered if your problem is solved.

  • Deleting Data from the cube

    Is there any function module which drops all the data from the cube?
    Or is there a function module which deletes all the requests from the cube?
    Thanks.

    Hello,
    Check one of the foll:
    RSAPO_DELETE_CUBE
    RSAPOADM_CLEANUP_CUBE
    RSAR_DELETE_ICUBE
    RSAU_INFOCUBE_CONTENT_DELETE
    RSDG_CUBE_DELETE
    RSDPC_DROP_CUBE
    RSDPM_DB_CLEANUP_CUBE
    RSDPTEST_MOLAP_CUBE_CLEANUP
    RSDPW_INFOCUBE_DELETE_ALL_DATA
    RSDPW_INFOCUBE_DELETE_DATA
    RSDPW_INFOCUBE_DROP
    RSDP_MDMETA_ICUBE_DROP
    Regds,
    Shashank

  • Delete data from Cube which is uploaded to Open hub

    Hello Friends I am required to delete the data from GL Cube, But it is connected to 2 Open Hub
    which has one as table /BIC/OHZZIGL_C10 defined in Open hub destination. I deleted the data from this table in SE14, but still when I try to delete the data from cube it throws the below error
    Please help me how to now delete the data from cube, when should i go in open hub t delete all the uploaded requests.
    Request 1.882 already updated in target 3.913 by DTP request DTPR_4CU6JHRJ7MY889A7XBUJ0GDVK(ZZIGL_C10)
    Thanks
    soniya

    just check on your datamart status for that request. Go to the manage screen of your infocube and check where all that request got updated using datamart status.

  • What is the difference between methods of deleting data from cube

    Hi,
    Is there any differences, pros and cons for deleting data from cube by:
    1) deleting the specific request loaded into the cube
    2) using selective deletion with specific characteristic values
    Assumption for the above is both the options will delete the same data set.
    Thanks and regards.

    Hi BW Beginner,
    Yes, of course, there are differences.
    Selective Deletion:
    PROS: You can use to delete data that satisfies a certain criteria (e.g. some characteristic values).
    CONS: I think this locks the whole cube during deletion
    Deletion by request id:
    PROS: You can easily delete all data that belongs to a certain request id (i.e. you can easily delete a bad load).
    CONS: If you have already compressed the cube, you can not use deletion by request id to delete a certain request.
    Hope this helps.

  • Reloading of deleted data from ODS to cube

    i have deleted the data from the cube using selective option in the cube. Now i want to reload the deleted data. Since i have data  in ODS i am loading it into cube. But it is doing a full update which i don't need. I wanted only the deleted data to be reloaded from ODS. Since i have some routines and rules in the cube. i am deleting the cube and reloading the data. Could anyone suggest

    Hi Pooja.........
    R u aware of it that which value u hav deleted................if u know that..........then run full IP with selection......In the Data Selection tab u give the selection........provided that field is included in the Data selection tab..........if not and if u hav authorization........then u can go to RSO2.....in the source system....Give the datasource name.........go to change mode .........Check the selection box for that field.......then activate the datasource............again replicate it.............then Activate the transfer rule using the program : RS_TRANSTRU_ACTIVATE_ALL.........
    Then that field will be available there for selection..............But do this if it is must to do the load in this way..............
    Hope this helps......
    Regards,
    Debjani.......

  • Deleting Data from Infocube before loading

    We are doing full loads by "Plan Version" into our CCA cube. We do these full loads each night. Eventually a "Plan Version" will stop changing and we can discontinue loading.
    My question is there a way we can delete data in the cube by "Plan Version" before the new request is loaded. Right now it deletes overlapping request after the load but this is inefficient.
    We would like to delete the data before we load.
    We are doing this using a process chain in order to drop indexs first then reload and update statistics.
    Thanks
    Richard
    Message was edited by: Richard Carrier

    Richard,
    You can do full replacement load of your plan data by changing your plan data load infopackage which persumably have the selection to load plan data i.e. 0vtype 20-90. 
    In the Data target tab of the infopackage, select the update data target for the cube(s) in question and click on the automatic loading of identical/similar requests from the infocube (the column to the right of the pencil) and click on delete existing requests button and tick
    a) full or initial data load  and selection are the same or more comprehensive.  I typically like to tick also the
    boxes for infosources are the same, datasources are the same and source system are the same. 
    This will load the infopackage as you normally do and after that immediately delete any same or encompassed requests.  i.e. if current value type selection is 20-90, it would delete a request for 20 as well as a value type for 40 and one for 50...
    Hope this helps,
    Mary
    Hope this helps.

  • Deleting data from an Infocube in BW using ABAP program?

    Hi Everybody,
                       I have to create a ABAP program in SE38 which, on execution will delete selected data from a Cube in BW module. How to achieve it. Is there any function module that can do so? Eagerly waiting for your suggestions.
    Regards,
    Pulokesh

    Dear Ravi,
                  Other than two parameters I_INFOCUBE, I_SHOW_REPORT do i need to pass any value to the table I_T_SELTAB.
    Regards,
    Pulokesh

  • BW Statistics: Deleting Data from InfoCubes.

    Hi,
    I want to see data in BW Statistics: Deleting Data from InfoCubes.
    I am working on  BI 7.
    I have set the infoprovider in Tcode RSDDSTAT.Marked 2 Infocube statistics ( X) and OLAP(2).
    Already activated the BI Statistics.
    I am deleting data from one of the cube . But when I go to cube 0BWTC_C11(BW Statistics: Deleting Data from InfoCubes)
    It is not showing any data .
    I can't see any data in RSDDSTATDELE table also
    Do I need to do any other setting ? Am I missing any steps?
    I need to dislay the log for deleted request /deleted data  ?
    I need to display the log for deleted infoobject/infopackage also? Where can i get this ?
    Pls guide  .
    Regards
    Nilesh

    Hi Venkat,
    I can not able to see in the report also . I have tried 0BWTC_C10/0BWTC_C10_Q251 to 254.
    Whenever I am doing to delete it individullay it goes to table SDDSTATDELE .But whenever I am deleting whole data from cube or request ID  it is not updating  table RSDDSTATDELE.( which is further used to get data )
    <b>I got this from SAP help .</b>
    The characteristic can have the following characteristic values C,N,D and T:
    C (Choose): The system automatically chooses the best delete mode. This is N or D.
    N (Create New): If over 10% of an InfoCube’s data records are to be deleted, the system replaces the InfoCube fact table with a table with data records that are not to be deleted.
    If you want to delete more than 10% of the records, the system creates a new table, copies the data records you want to keep to the new table, deletes the old table and then renames the new table.
    D (Delete): If you want to delete less than 10% of the data records, the system deletes these individual records directly from the InfoCube fact table.
    <b>T<b> (Truncate): If you want to delete all data records, the system deletes all data records from the tables, but retains the tables in the database.</b></b>
    So how to see these records? I am doing full upload to cube 0BWTC_C11(BW Statistics: Deleting Data from InfoCubes).
    Before this do I need to extract data for other CUBE also.
    Pls suggest .
    Regards
    Nilesh

  • Error  While  Deleting Data  From ODS

    Hi all,
    We are getting short dump while deleting data from a perticular ODS.
    Part of short dump is--
    trigger Location of Runtime Error
       Program                                 SAPLRSAC
       Include                                 LRSACU75
       Row                                     535
       Module type                             (FUNCTION)
       Module Name                             RSAR_TRANSTRUCTURE_ACTIVATE
    help is desperately required
    Regards
    Srini--

    try to activate InfoSource and later delete data.
    Check if all ODS related objects are consistent and active.
    also pls attached the whole dump for more clarity if this does not work.

  • Error while deleting data from a write optimized DSO using a Process Chain?

    Dear Bwers,
    I am facing a strange error while using process chains to delete data from data target which is a write optimized DSO. The process shows as failed but the data gets deleted in the DSO. The error message is as below. Did anybody have a similar problem? Any suggestions.
    Thanks
    Raj
    Error while deleting content of InfoCube/DataStore object ZLSD_G03
    Message no. RSDODSO153

    Please, check if you get any short dump in ST22 related to this issue.

  • Open HUB ( SAP BW ) to SAP HANA through DB Connection data loading , Delete data from table option is not working Please help any one from this forum

    Issue:
    I have SAP BW system and SAP HANA System
    SAP BW to SAP HANA connecting through a DB Connection (named HANA)
    Whenever I created any Open Hub as Destination like DB Table with the help of DB Connection, table will be created at HANA Schema level ( L_F50800_D )
    Executed the Open Hub service without checking DELETING Data from table option
    Data loaded with 16 Records from BW to HANA same
    Second time again executed from BW to HANA now 32 records came ( it is going to append )
    Executed the Open Hub service with checking DELETING Data from table option
    Now am getting short Dump DBIF_RSQL_TABLE_KNOWN getting
    If checking in SAP BW system tio SAP BW system it is working fine ..
    will this option supports through DB Connection or not ?
    Please follow the attachemnet along with this discussion and help me to resolve how ?
    From
    Santhosh Kumar

    Hi Ramanjaneyulu ,
    First of all thanks for the reply ,
    Here the issue is At OH level ( Definition Level - DESTINATION TAB and FIELD DEFINITION )
    in that there is check box i have selected already that is what my issue even though selected also
    not performing the deletion from target level .
    SAP BW - to SAP HANA via DBC connection
    1. first time from BW suppose 16 records - Dtp Executed -loaded up to HANA - 16 same
    2. second time again executed from BW - now hana side appaended means 16+16 = 32
    3. so that i used to select the check box at OH level like Deleting data from table
    4. Now excuted the DTP it throws an Short Dump - DBIF_RSQL_TABLE_KNOWN
    Now please tell me how to resolve this ? will this option is applicable for HANA mean to say like , deleting data from table option ...
    Thanks
    Santhosh Kumar

  • Update/insert/delete data from xcelsius to Database via web service

    Hi,
    I need to create dashboard that go function can <b>update/insert/delete</b> data send to <u>Database</u> thru <u>web services</u>, as i know got 2 xcelsius add-on software which support those of function <b>InfoBurst</b> and <b>flynet </b>
    <b>InfoBurst</b>
    http://www.infosol.com/azbocug/minutes/4-Writeback%20to%20a%20Database%20with%20Xcelsius.pdf
    <b>flynet </b>
    http://www.flynetviewer.com/public/community/Blogs/FlynetXcelsiusServerUser/default.aspx
    Except this 2 purchase add-on xcelsius, any other solution ?  
    Maybe need to write some in MSSQL or C# programming which enable insert, update, delete ...etc  ?
    *note: i not use Xcelsius Engage Server , i use Xcelsius Engage only
    thanks,
    regards
    s1
    Edited by: Leong Pui Kee on Mar 1, 2011 6:06 AM

    Hi,
    As of now in Xcelsius/Dashboard Design there is no feature or functionality to insert/update/delete data from database.
    Solution:
    Create a Web service in let’s say C# or Java, which will perform insert/update/delete operation.
    In Xcelsius add Web Service connection and user above web service.
    Xcelsius Web Service connection provides option to pass input values to a Web Service (Input Pane) and get the result (Output values pane).
    We can pass values to be written to the database as a input to Web Service via Web Service connection from Xcelsius and write data to the database.
    Note:
    Performing delete operation from Xcelsius Dashboard could be risky and may delete important data from database. I would not prefer giving delete option/functionality in Xcelsius dashboard.
    Hope this helps!
    Thank you.
    Regards,
    Vinay Mhaske

  • To load data from a cube in SCM(APO) system to a cube in BI system.

    Experts,
         Please let me know whether it is possible to load data from a cube in SCM(APO) system to a cube in BI system.If so explain the steps to perform.
    Thanks,
    Meera

    Hi,
    Think in this way,
    To load the data fro any source we need datasource Ok. You can genare Export data source for Cube in APO,  then use that datasource for BW extraction, try like this. I think it will work, in my case I'm directly loading data from APO to BW using the DataSource sthat are genaraed on Planning Area.
    Why you need to take data from APO cube?. Is there any condition for that?. If it is not mandatory, you can use the dame datasource and load the data to BW, if they have any conditions while loading the data from APO to APO cube, they you try check wherther it is possible in BW or not. If possible then you use DataSource and do the same calculation in BW directly.
    Thanks
    Reddy

  • Delete data from archive server

    Hello,
    we have following question : How do you delete data from archive server which has passed the retention time and need to be removed from archive server.
    Have you any ideas?
    Thanks,
    Stefan

    Hi Planung,
    For deletion of data SARA transaction is used. Also deletion indicator is required to set for the documents which you are not using. Use the bapi BAPI_DOCUMENT_DELETE  for deleting the documents which are set with deletion indicator.
    I hope this will resolve the query.
    Regards,
    Ravindra

Maybe you are looking for