Delete Overlaping Request

Hello Experts
Please read my requirements.
I have an infocube with Full Load DTP.  It gets the records directly from PSA.  Its all in BI 7.X.  My infopackage is on a datasource that is Delta Capable.  Due to the design flaw, I get the records directly from PSA into InfoCube without DSO and hence the duplicate records.
What I did was, I initially ran, infopackage with "Initialize Delta with Data Transfer" and ran my DTP.  All the records are in my InfoCube.  So far so good.  Later I created a process chain, in this Order.
Run Delta InfoPakcage
Run DTP (Full all the time) - This time it gets the full as well as delta records from PSA. 
Delete Overlaping Requests
What I observerd was some of the records are still getting duplicated and some not after couple of days.  Any ideas Why?
In "Delete Overlaping Request" process I selected the DTP while defining it and not the InfoPackage.  How this process work with Delta InfoPackage.  Please explain?
Thank you
BW User 999

Hi,
You can avoid using Delete overlapping request,and load the data correctly to the cube via Full DTP.
Only if you dont need to previous days data in the PSA.
Every time when the process chain is executed
1) After the start process delete the PSA.
2) Load the data through the Infopackage.
3) Load it to the cube with the Full DTP.
In this way you wont need to delte the overlapping request. Hope this help...
Regards,
Mahesh.

Similar Messages

  • Delete Overlapping requests question

    Hi ,
    How would a Delete overlapping requests (DOR)type work in a PC to a Cube that gets a full load every day with selections for rolling 12 months?
    Say there is a scenario to load data into an AR line items cube to update open to closed items history and the loads are configured for a 12 month rolling. eg yesterdays full would be for 03/23/09 to 03/23/10
    today's 03/24/09 to 03/24/10
    Now how can we utilize DOR instead in a PC that would delete the doubling behaviour of data for dates 03/24/09 to 03/23/10?
    All thoughts appreciated.
    Thanks

    Hi,
    in The selection criteria of the info package u can have the following code which takes the selection criteria as the first day to last day of the month  based on previous days date(SY-DATUM - 1.)
    data: l_idx  like sy-tabix,
            dDATE1 LIKE SY-DATUM,
            dDATE  LIKE SY-DATUM,
            L_LOW  LIKE RSSDLRANGE-LOW,
            L_HIGH LIKE RSSDLRANGE-HIGH.
      read table l_t_range with key
           fieldname = 'END_SHIFTDATE'.
      l_idx = sy-tabix.
      dDATE1 = SY-DATUM - 1.
      CALL FUNCTION 'ZFNC_FIRSTDAY_MONTH'
        EXPORTING
          DDATE      = dDATE1
        IMPORTING
          DLAST_DATE = dDATE.
      L_LOW         = dDATE.
      L_T_RANGE-LOW = L_LOW.
      L_T_RANGE-SIGN   = 'I'.
      L_T_RANGE-OPTION = 'BT'.
      CLEAR dDATE.
      CALL FUNCTION 'ZFNC_LASTDAY_MONTH'
        EXPORTING
          DDATE      = dDATE1
        IMPORTING
          DLAST_DATE = dDATE.
      L_HIGH         = dDATE.
      L_T_RANGE-HIGH = L_HIGH.
      modify l_t_range index l_idx.
    and DOR deletes the previous day's request as the selection criteria is same. on first day of the next month it has a request with selection criteria as first to last date of the previous month. and this request is not deleted  since on 2nd of the month it has different selection criteria(Start daay and end day of that month)
    Hope its clear
    Thanks,
    Sandeep

  • Delete Overlapping Request from InfoCube.

    Hello,
    I am using process Type "Delete Overlapping Request from infocube" in this I am selecting object type as a "DTP"
    Under "Delete Selection" I am selecting following
    1. Only Delete Requests from same DTP
    2. Only Delete Full DTP request
    3. Only Delete DTP Requests from Same Source
    I am using "Full Load" in my DTP.
    My requirements are like  I need to delete old data and load new data every day in to  a cube for that I am using this process type.
    If anybody have better solution please let me know.
    Thanks,

    Also
    I am not deleting Index  OR  Not creating Indexs while using process type "Deleting overlapping request InfoCube"
    what will be the impact on the cube?
    How many index will have infocube?
    If the cube having more than one index if i delete index, which index will be deleted?
    Thanks,

  • Delete overlapping request when month changes

    Hi Experts,
    Delete overlapping request works fine for all the days but when month changes it is not deleting the request as the filter value gets changed.
    I have three Info Package and DTP like below:
    Current Month -2
    Current Month -1
    Current Month
    In January selection values are:
    Current Month -2     201111
    Current Month -1     201112
    Current Month         201201
    As the month changes, February selection values are:
    Current Month -2     201112
    Current Month -1     201201
    Current Month         201202
    We need the request which has selection criteria 201111 should stay, but 201112 and 201201 should get deleted as these two request are duplicated.
    Please advice if we have any solution for this issue.
    Suggestion will be appreciated.
    Thanks,
    Muiz Ahmed

    Yes Sven,
    You are correct,
    31-Jan-2012 Current Month -1 had loaded 201112
    1-Feb-2012 Current Month -2 had loaded 201112
    Now I have to delete request which has got loaded on 31-Jan-2012.
    For now I have deleted manually, but I want automate this activity, so no manual intervention is required.
    Thanks,
    Muiz Ahmed
    Edited by: MUIZ AHMED on Feb 1, 2012 7:40 PM

  • Delete overlapping request in PC - Request from previous month got deleted

    Hi Everyone,
    We are using a 'Delete overlapping request' step in a process chain. Under the Deletion Selections, we have checked the following options:
    1) Only Delete Requests from Same DTP
       |_ Selections are - Overlapping
    2) Request Date - Is in the Current Month
    3) Exceptions:
       |_ New Request will be loaded on - 1st Day of a Month
    The datasource in this case is used for a Full update into a Cube everyday. We've used the above selections so that the request loaded on the last day of a month is not deleted by the subsequent load. We need this to retain a snapshot of the data for each month.
    This month, when the process chain executed on 1st Feb, the request loaded on 31st Jan was not deleted. However, on 4th Feb, the Process chain deleted the request loaded on 3rd Feb and also the one from 31st Jan. There seems to be no reason at all for the 31st Jan request to get deleted. We've made sure of that by choosing the option 'Request Date - Is in the Current Month' in the Deletion Selections.
    Is there any explanation why the request was deleted?
    Thanks,
    Ram

    Hi,
        If you dont have any selections , it will delete the previous request. Based on the selections only overlap will work.  For your scenario , it wont delete previous month request after changing it to current Fiscal period. Once check the selection options , is it displaying month wise or empty selections.
    Regards
    Pcrao.

  • Delete Overlapping Request

    Hi All,
    I am trying to use the process type Delete Overlapping Requests from cube in Process chain after loading the data from the Infopack full load and DTP Delta .  With the infopackage selection in process type the message after execution is no overlapping request found.
    Deletion selection I used is Full or Init loads, Same Datasource. and Selection are same or more comprehensive.
    And in the infopackage I dont have any selections.
    Please help me to solve this error.
    Regards
    PV

    C i'll explain our scenario..
    there was data loaded from 2 data sources to one cube thru 2 dtp's from 2 DS's in process chain...
    Soon after the 2 DTP steps, delete overlapping request step is defined from both the ends.in chain...in whcih variant is
    object type: the same DTP and its name which loads from PSA to cube.
    radio button selected as: edit all infocubes with following delete selections.
    selections: delete existing request under which Only delete request from the same DTP.
    same or cmprehensive.
    the other variant is defined as the same but with another DTP name in object type..
    the Output of the cube will be only latest(current day) requests..
    rgds,

  • Deletion of data target contents Vs delete overlapping requests

    hi,
         when do we  go for <b>delete overlapping requests</b>? if it is applicable for full load as well as delta load then i would like to first come up with the full load concept, we have the other option called <b>delete data target contents</b> with this we can delete daily full load without going for delete overlapping requests.
    Pls let me know exact difference between DELETE OVERLAPPING REQUESTS FROM INFOCUBE with DELETE DATA TARGET CONTENTS.

    hi
    When you have delta upload twice daily..the date in the previous request and the second request is same....so you might be giving this option to delete the overlap such that data is not loaded twice
    Assign points dont forget
    Regards
    N Ganesh

  • Delta DTP and Delete Overlapping Requests

    Hi,
    Please check the article:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10339304-7ce5-2c10-f692-fbcd25915c36
    -Vikram

    Hi
    In the Delete Overlapping Requests from Infocube Process there is an button Deletion Selections Check what are all the options selected in that there are some 3 check boxes like
    a) Only Delete Requests from Same DTP
    b) Only Delete Full DTP Requets
    c) Only Delete DTP Requests from Same Source
    if option B is checked it will work only for Full Requests not for Delta. Check the same in your system.
    Thanks

  • Process Chain Help - Delete Overlapping requests

    Dear Experts,
    I have a requitement where I want to delete the ' previous days' request from the cube. This has to be from the data coming from only one DSO.
    I can use the Delete overlapping request process type but I want to know how.
    And again, this has to be only for the current month.I want to delete the overlapping requests of current month i.e now since I am in April I want to delete only the April requests. When I am in  month May I dont want to delete april request anymore.
    In other words I want to delete the april request until April 30th. On May 1st I dont want to delete the april 30th request. On may 1st it shouldn't delete anything. On May 2nd it should delete the May 1st request.
    Can anyone help me with this.
    Thanks,
    KK

    Hi KK,
    If I have understood you correctly, you mean to say your cube is getting loaded from various Datasources and you want to delete the requests only for a particular Datasource and not for others.
    Please correct me if i am wrong.
    If I am right ! Then on the window "Delete Request from Infocube after update" you can "Delete Existing Requests - > Is current month" and on the bottom of that screen you can see a checkbox for Request Selection Through Routine. Check this and you can simply write a routine to do the deletion for only requests loaded from a particular datasource.
    Hope it helps.
    Regards
    Hemant Khemani

  • Duplicate records: Process : Delete Overlapping Requests from InfoCube

    Hi Experts,
    We are loading data in standard costing cube with standard available option Full upload. In our process chain we have included process type "Delete Overlapping Requests from InfoCube". In our scenario we always load yesterday and today's data. In this case after loading yesterday's data, we need to check and delete the overlapping requests and then upload todays data.
    Many a times this deletion process is failing due to message "Couldn't lock cube" because it is already locked by user "ALEREMOTE". This cause system to duplicate the records in cube.
    How we can avoid this?
    Alok

    I tried running again and it again failed. Checked in SM12 and found this entry
    800     ALEREMOTE     08/14/2007     E     RSENQ_PROT_ENQ     CREA_INDX      ZCCA_C11                      DATATARGET     CREA_INDX                     ######################################     0     1
    This locked is not released since 14th. Is there way to remove the lock using some process.

  • Process Type - Delete overlapping requests from an Info Cube

    I have read many threads on this topic, still have some questions. To give you background, I will be doing delta load (“delta” process chain). But before delta, I want to do setup initialization (“init” process chain). I want to use this process type in my “init” process chain” to delete all data in my cube loaded from a specific ods. I cannot use delete all contents process type because many ods’s feed the same cube.
    1.     Do you put this process type after Load Data or before Load Data. I have seen both cases in SDN forums.
    2.     Variant of this process type is an info package. Does this info package have to be same as in load data step or it can be different.
    3.     I want to delete all data in cube which was loaded from my ods. Term overlapping is confusing to me. Will this process type delete all data or not.
    Tanks in advance.

    Yes, you can do that. Goto RSPC - under process types Load Process and Post Processing, you will see DELETE OVERLAP REQUESTS FROM INFOCUBE option is there.
    Select the proper check boxes like same sourcesystem, same datasource etc...
    If it is one time deletion, why not do that manually?
    Also check: How to delete most recent request in a Cube by using process chain
    Hope it helps..

  • Proc Chain - Delete Overlapping Requests fails with aggregates

    BW Forum,
    Our weekly/daily load process chain loads several full (not delta) transaction infopackages. Those infopackages are intended to replace prior full loads and are then rolled up into aggregates on the cubes.
    The problem is the process chains fail to delete the overlapping requests. I manually have to remove the aggregates, remove the infopackages, then rebuild the aggregates. It seems that the delete overlapping request fails due to the aggregates or a missing index on the aggregates, but I'm not certain. The lengthy job log contains many references to the aggregate prior to it failing with the below messages.
    11/06/2004 13:47:53 SQL-END: 11/06/2004 13:47:53 00:00:00                                                 DBMAN        99
    11/06/2004 13:47:53     SQL-ERROR: 1,418 ORA-01418: specified index does not exist                        DBMAN        99
    11/06/2004 13:47:59 ABAP/4 processor: RAISE_EXCEPTION                                                       00        671
    11/06/2004 13:47:59 Job cancelled                                                                           00        518
    The raise_exception is a short dump with Exception condition "OBJECT_NOT_FOUND" raised.
    The termination occurred in the ABAP program "SAPLRRBA " in
    "RRBA_NUMBER_GET_BW".                                    
    The main program was "RSPROCESS ".                        
    I've looked for OSS notes. I've tried to find a process to delete aggregates prior to loading/deletion of overlapping requests. In the end, I've had to manually intervene each time we execute the process chain, so I've got to resolve the issue.
    Do others have this problem? Are the aggregates supposed to be deleted prior to loading full packages which will require deletion of overlapping requests? I presume not since there doesn't seem to be a process for this. Am I missing something?
    We're using BW 3.3 SP 15 on Oracle 9.2.0.3.
    Thanks for your time and consideration!
    Doug Maltby

    Are the aggregates compressed after the rollup?  If you compress the aggregate completely, the Request you are trying to delete is no longer identifiable once it is in the compressed E fact table (since it throws away the Request ID).
    So you need to change the aggregate so that it the most recent Requests remain in the uncompressed the F fact table.  Then the Request deletion should work.
    I thought what was supposed to happen if the aggregate was fully compressed and then you wanted to delete a Request, the system would recognize that the Request was unavailable due to compression and that it would automatically refill the aggregate - but I'm not sure where I read that. Maybe it was a Note, maybe that doesn't happen in a Process Chain, just not sure.
    The better solution when you regularly backout a Request  is just not the fully compress the aggregate, letting it follow the compression of the base cube, which I'm assuming you have set to compress Requests older than XX days.

  • How does Delete overlapping requests work?

    We have a extract which does a full loads into a cube for the current year and a we run this daily. In the process chain we do a delete overlapping requests which I understand will delete the previous requests with the same condition. What happens when the year changes?  On Dec 31 we will load 2008 data while the next time it runs on Jan 2 it will load only 2009 data (variant only looks at current year). Will deletion of overlaps delete all the 2008 data it loaded on Dec 31? Thanks.

    what is removed depends on the settings of your delete request.
    You can use only dtp-name, or dtp name with same selection parameters or with same selection parameter in a certain amount of time.
    Take a look at the settings; i found them quite self explanatory.

  • Process Maintenance: Delete Overlapping Requests from InfoCube

    Hi Experts,
    How can I open Process Maintenance: Delete Overlapping Requests from InfoCube Screen? What's T-code? Is that in Process Chain? Please tell me that....
    Thanks in advance,

    Hi
    'Delete overlapping request' is an option(its a process type) in the process chains..
    RSPC>Process types>Load Process and post process folder--->Delete overlapping request from the infocube..
    here you can have more options like 'source systems are same',and infosources are same etc...
    How to delete most recent request in a Cube by using process chain
    Hope it helps
    Thanks,
    Teja
    Edited by: Teja badugu on Apr 28, 2008 11:35 AM

  • Problems with delete overlapping requests from InfoCube in PC

    Hi guys,
    Iu2019m using delete overlapping requests from InfoCube in Process Chains, but Iu2019m not being able to adjust it to my specific requirement.
    For example:
    I execute DTP to load InfoCube XPTO with Fiscal Year 2008 and 2009. After this I have to load again, but only for 2009.
    In this specific example I want my process chain to delete the 2009 data from my first load, because it is overlapped, and leave 2008 data.
    Is this possible? If yes how?
    Thanks in advance
    Jão Arvanas

    It will not work that way.
    It will look if the selections are same then it wil delete if not then it will not do that activity.
    Overlapping settings which you might chosen is based on the delete overlapping for the same selections..
    So in this case the selections are different and hence its not possible.
    Thanks
    Murali

  • Does Delete Overlapping Requests drop the BIA index like Selective deletion

    Hi,
    Does Delete Overlapping Requests process in a chain drop the Accelerator index like Selective Deletion does?

    Hi,
    No is does not.
    -Vikram

Maybe you are looking for