Deleting infopackages in a Cube

Hello,
I wasn't able to find answer to this specific question, so here we go:
I have an infopackage which feeds a cube. Unfortunately it does not support delta extraction. Therefore, every day when I load this infopackage, I would like to delete from the Cube the last day's feed (When I load the infopackage today, I'd like to automatically delete data from the infopackage from yesterday - the dataload is on a daily basis).
To do this, in RSPC I have made a "Delete Overlapping Requests in Infocube" in a process chain (generally it goes: Start > Drop Indexes > Load Data (infopackage 1) > Load Data (infopackage 2) > Delete Overlapping requests (infopackage 1 & 2) > Create index > DB Statistics)
the cube is fed from 2 data sources, thus 2 infopackages are used.
In delete selections of "delete overlapping requests" i've made the following entries:
(X) Delete Existing Requests...
......... (X) Data Sources are the same
......... Selections are
.............. (X) Same or more comprehensive
(rest not marked)
Both infopackages are restricted by time - they extract only data for several fiscal periods (0FISCPER)
Yet the "old" requests are not being deleted.
Where have I done a mistake?

Hi Dyl,
As ur InfoCube is not Delta Enabled.  u should delete the previous data.
So Model the process chain in this manner...
1. Delete the Existing data target Contents first..
2.Drop the index.
3. Load the Info pack 1
4. Load Info pack 2.
5. Create index.
This would be a easy option..
Delete the Data Target Contents first...
Hope this helps u..
Best Regards,
VVenkat...
Edited by: Venkata Narayana Jakkampudi on Dec 16, 2008 2:43 PM

Similar Messages

  • System log - how to find out who has deleted the req from cube.

    ^hello friends
    how can i find out who has deleted the request from cube ?
    i wanted to check the system log , that who has deleted the request from cube .
    could you please let me know how to check the same ?
    regards
    manoj

    Hi,
    Did you try the method I had suggested. It will work.
    Also its better to try the path I had suggested as it will display the logs for that particular Cube only.
    But if go through SM37 > B_DEL* it will display all the logs for all the deletion jobs not just this cube and it will be difficult to find out.
    Try that and you should get the log.
    Thanks,
    JituK

  • While deleting the data from cube..getting the following erros...

    while deleting the data from cube the below error occured in develoment..any help
    i have 4 requets.....2 are deltedd but no records for those...
    2 are not deleted and they have some data..
    please give me u r inputts pelase
    Performing check and potential update for status control table
    Message no. RSM1490
    Diagnosis
    If data is loaded into an InfoCube, or existing data is edited (aggregated/compressed/deleted/got from a DataMart), then there is a change in  the potential reportability of the data , or the possibility of deleting data by request, or of aggregating or compressing.
    This status of each one of these Cubes is stored in a status table, that is updated when there is any change to the status of a request in the Cube.
    The system now analyzes the requests in the Cube and compares the calculated status with the status table.
    If deviations from the status table arise then you are given the option of adjusting the status table.
    System Response Procedure Procedure for System Administration

    Hi,
    Did you tried by right click on cube and delete data? are those requests are compressed or roll up?

  • Delete overlapping requests from cube not working in processchain.

    In a process chain, 'deletion of overlapping requests from the cube ' step is used.
    Before this step a DTP step runs with a full update to load the cube. This process chain is scheduled every day.
    Issue is, the process chain failed at the DTP step and after correcting and repeating, the step got executed.
    However, the next step after the DTP,'delete overlapping requests from the cube'
    gets executed but without deleting the previous day's request.
    In the step details a message that 'No request for deletion were found' can be seen.
    Then next day when the DTPstep is executed without any problem the 'delete overlapping requests from cube' step is successful
    and the previous requests from cube are deleted.
    the deletion selections in the step ' delete overlapping request from infocube' is
    Delete existing requests
    Conditions:
    only delete requests from same DTP
    Selections
    Same or more comprehensive
    Because of this issue on a particular day because of the presence of 2 days requests the data is getting aggregated and shown as double in the reports.
    Please help.

    Hi Archana,
    When you delete the bad request from target and before repeating your DTP in PC, make sure the bad request deleted from table RSBKREQUEST also.
    If you find the same request in table, first delete the request from table and repeat the DTP in PC.
    Now Delete overlapping step should work.
    As this is not the permanent solution, please raise an OSS for SAP
    Regards,
    Venkatesh

  • Can any one explain how the Requests deletion in an ODS & Cube works?

    Can any one explain how the Requests deletion in an ODS & Cube works & differs?

    It works in the normal way as you delete a request but following are the differences between them
    1) If you try to delete a request from the ODS, all the requests which are loaded after this request also get deleted, and in the cube its not.
    2) You cannot delete a request from the ODS once its change log has been deleted, similary you cannot delete a request from the cube that has been compressed.
    3) you can delete overlapping requests from a Cube. but in ODS its not possible.
    Regards,
    Bharat

  • Delete Existing request in Cube of two years before data using ABAP

    Hi,
    I want to automize the process of deleting cube data which is Two years old in the process chain.
    I know this could be done in process type of delete overlapping request . There we  Should write ABAP code to acheive the same.
    I have seen the editor screen but could do nothing as i am writing the code for the first time.
    In the code i see the following:
    {form compute_XX
      tables l_t_request_to_delete structure rsreqdelstruc
      using l_request like rsreqdone-rnr
      changing p_subrc like sy-subrc.
    *Insert Source Code to decide if requests should be deleted.
    *All Requests in table l_t_request_to_delete will be deleted
    *from Infocube XX.
    *Add new requests if you want to delete more (from this cube).
    *Remove requests you did not want to be deleted.
    $$ begin of routine - insert your code only below this line        -
         loop at l_t_request_to_delete.
         endloop.
         clear p_subrc.
    ENDFORM.}
    Any clue of how to procede?

    You will need code similar than bellow in the routine that you mentioned:
    *Defined the ccupeaka data types as the timestamp calculation module
    *requires this data types
      DATA i_date LIKE  ccupeaka-timestamp.
      DATA i_request_date LIKE  ccupeaka-timestamp.
      DATA i_diff_sec TYPE i.
      DATA i_diff_day TYPE i.
      DATA i_request_tm LIKE rsreqdelstruc-timestamp.
    *Define here the retention period in days
      DATA c_retention_day TYPE i VALUE 70.
      i_date+0(8) = sy-datum.
      i_date+8(6) = '000000'.
      LOOP AT l_t_request_to_delete.
        i_request_tm = l_t_request_to_delete-timestamp.
        i_request_date = i_request_tm.
        CALL FUNCTION 'CCU_TIMESTAMP_DIFFERENCE'
          EXPORTING
            timestamp1 = i_date
            timestamp2 = i_request_date
          IMPORTING
            difference = i_diff_sec.
    *Get the day difference:
        i_diff_day = i_diff_sec / 24 / 3600.
    *Exclude all request that are within the retention
    *time
        IF i_diff_day LE c_retention_day.
          DELETE l_t_request_to_delete.
        ENDIF.
      ENDLOOP.
    However, it is bad practice to keep a lot of request in a cube (e.g. all request of 12 month) without doing compression.
    Normally you would use request compression (lets say for all requests older 7 days) to have best cube query performance. As after compression you can no longer do request deletion you would then use the selective deletion as descibed in the document in the post above to control the data volume in the cube.
    Best regards,
    Axel

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

  • Delete overlapping requests in Cube

    Dear all,
    I need delete the requests uploaded in the previous day when transferring new request into Cube,and the system is BW 7.0,but I use 3.5 data source and infoSource.
    The issue is that when I

    Tianli,
    You can delete the overlapping request in the infocube.
    In the infopackage -
    > Data Targets -
    > Automatic loading of similar/identical requests
    You can set the parameter for deleting the overlapping request here.
    If you are using process chains, there is a process type available
    Load process and post processing-----> Delete overlapping request from infocube.
    Can you post your question again as I see it is incomplete..
    Sasi

  • Delete and reinit the cube

    Hi Friends,
    I have a cube, which is loaded from R/3 datasouce 2LIS_05_Q0NOTIF and 2LIS_05_Q0ITEM. There was an issue and some of data is missing. We are planning to delete the cube content and run init delta on the cube again. There are few clarifications required
    1. I think i don't have to fill the setup tables  for delta init
    2. I think I need to delete the delta queue from RSA7
    3. What else I need to do?
    Thanks in advance
    Balaraj

    Hi Balaraj,
    Before this decision is taken to refill setup, what data is missing.
    Is this something loaded as part of full/init or as part of delta.
    If you are sure about the missing data and have an options to give selection conditions for this in Setup filling and also in the infopackage, then it would be a good idea to perform slective deletion of those records from cube and then fill the setup with only those records and load this to the cube using a full update with selection conditions.
    All this is possibel only when
    1. we know what data is missing.
    2. Is it possible to fill setup only for these records.
    3. Can we perform selective loading to cube.
    So if we have all the above options available then it would be a good idea to try with, rather than performing the huge activity of entire history reload.
    regards,
    Naveen.A

  • What happend to past delta data if we delete Delta INIT from Cube? safe ?

    Hi Friends,
    we have a cube where delta data is loaded daily from ODS.
    So, cube have many delta requests and data is compressed.
    Now have some problem and need to delete Delta INIT from this Cube and run fresh delta INIT again into Cube from ODS. Is that safe ?
    If we do this...is there is any problem with past delta data availble in the Cube?
    Please confirm..
    Thanks
    Tony

    Hi,
    I told you to check this before deleting the init as it very tough to manage it after that.
    Now those delta request are missed and I dont think can be retrieved without doing a full repair with proper selection.
    If you do a new init then there should be no request without a check for data mart status??
    So you found it before deleting the init??Then you should not have deleted the init as I told earlier.
    The only option is too reload the whole histroy again if you are not able to load it through selections in infopackage.
    First do a selective deletion from the cube for the same selections and then schedule the full load for those selections from DSO.make sure these selections cover the whole scenario.
    You cannot do anything else now to correct it.
    If you data is not huge in cube then delete the whole data and reload it.
    Schedule multiple loads from the DSO at the same time through different infopackages.
    this will save time as weill will do the loads in quick time.
    Thanks
    Ajeet

  • How to Delete the Data in Cube and in ODS

    Hi ALL,
            I have a cube and an ODS both the data targets have data from the year 2002 to 2005.now i want to delete the data from both the data targets with respect to data related to the year 2003 only,how can it be done. Any Help Appreciated with rewarding points.
    Regards,
    BW Seeker.

    Hi
    Generally we can delete the data in the request for the data of year 2003 from request tab in manage screen of datatarget. This can be done only when we are sure that that particular request/s belongs to 2003 year data.
    This can be better handled with selective deletion of data for year 2003 with some keyfields like 0CALMONTH etc..
    This is infact only way when you have already compressed the data in Infocube.
    Hope it helps...
    Best Regards,
    DMK
    *Assign points if it helps...

  • How to delete duplicate records in cube

    Hi,
    can u help me how to delete the duplicate records in my cube
    and tell me some predifined cubes and data sourcess for MM and SD modules

    Hi Anne,
    about "duplicate records" could you be more precise?.
    The must be at least one different Characteristic to distinguish one record from the other (at least Request ID). In order to delete Data from InfoCubes (selectively) use ABAP Report RSDRD_DELETE_FACTS (be carefull it does not request any confirmation as in RSA1 ...).
    About MM and SD Cubes see RSA1 -> Business Content -> InfoProvider by InfoAreas. See also for MetadataRepository about the same InfoProviders.
    About DataSources just execute TCode LBWE in you source sys: there you see all LO-Cockipt Extrators.
    Hope it helps (and if so remember reward points)
    GFV

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

  • Delete request in a cube

    I have to delete a request in a cube. Unfortunately it isn't possible. I get a error message "Data target has already got request 25.445; deletion not permitted".
    Do you have an idea what is wrong?
    Thanks!

    Hi Kiev,
    You will need to delete the request from the further data target that is being loaded from this cube first, and then only can you delete the request from the cube.
    Hope this helps...

  • Problem while deleting overlaping request from cube

    Hi experts,
    I have one process chain in which i have one step where i am executing one DTP to load one cube and in next step deleing overlapping requests from same cube.
    i am getting error at that step "Error when deleting requests for comparison request DTPR_4CCDXZLK1OIGCVGGE1PP31Z3Y"
    what could be reason?
    plz help

    Hello,
    I guess you have not defined the overlapping variant properly.
    Please goto the definition of the variant and check for the right DTP input.
    Then at the bottom, select second option "Edit all Infocubes with Following Delete Selections"
    Click on deletion selections -> select delete existing requests.
    Also select if same datasource and source system. and importantly select the radio button as overlapping.
    Then save the variant. and try to use it.
    Regards,
    Shashank

Maybe you are looking for

  • File name conflict in File Download filter in Policy Studio

    Hi, I am trying to use File Download filter to download the file from sftp server and saving it on local machine using Save to File filter. File format is ABC_MMDDYYYY,zip i need to get the name of the file at run time. what would be Attribute Select

  • Streaming an image from mySql db?

    hi all i already stored an image into a mySql database now i'd like to write a simple servlet to display it anyone could help me? thanx sandro

  • How to get Dateformat as DD/MM/YYYY

    hi, I am facing problem in date display I want date in format dd/mm/yyyy like 04/05/2005 I am using package in jsp page <%@ page import="java.util.Date" %> <td> <html:text property="startDate" size="10" maxlength="10" value='<%= new Date().toString()

  • Define multiple views

    I'm trying to build a simple app which has multiple views. When the user clicks on the worksetItem I want to change the view, and display an other table in the shell. But I dont know how can I define another view, and add it to the shell.

  • Full hard drive, but i am backed up and want to clear it

    my 80gb disk is full, but i have a 250gb external drive. is there a way to clear the drive on my computer, but have the other information on the external via time machine?