Delete Previous Request

Hi All
Can some one tell me , how can i delete previous requests from a cube in an automated fashion. I tried the options that are available in the info package but they are helpful when the same request is run again .In my case I want to delete previous days request on an ongoing process.
Thanks

hi,
so maybe sth like this:
think about such sequence in process chain:
1.ABAP program to delete from infocube fact table records from yesterday request
-you would have to think about way to get this request number (maybe way proposed in step 3)
2.execute new data request
3.ABAP program to write in custom table request number to know what to delete next day
in such way you can not compress infocube because you will loose requests numbers
Regards,
Andrzej

Similar Messages

  • Deleting the request from BW is required or not.......?

    Hi All,
    I am working on FI and PP, I have loaded Master and Transaction Data using the Standard Datasources from R/3 Development System to the BW Dev Standard Data Targets....
    In BW Data Targets data is filled with R/3 Development data....
    Yesterday we have Configured R/3 Test System to BW Development.....
    My doubt is, <i><b>For to load the R/3 Test Data to BW Development is i have to delete all the Requests in BW Development which were loaded from R/3 Dev....</b></i>
    <b>Other wise directly i can load into BW Dev without deleting previous request....</b>
    Please Help me out in this issue...
    Your Help will be appriciated......
    Regards,
    Kiran Telkar

    Yah i did Source System -> Check i got the message like this..
         <b>Source system connection SABTEST OK</b>
    As i previous message i have loaded Master Data, I got the Error, Check the below long text which it specifies...
    <b>Diagnosis
    (Blank)
    System response
    (Blank)
    Procedure
        Assign a source system ID to the logical system SABTEST . Administrator
        Workbench   > Tools   > Assign source system to source system ID.
    Procedure for System Administration 
    (Blank)</b>
    When i was trying this My Source System ID and Source System ID fields are Empty....
    Do i need to do any settings for this...?
    Regards,
    Kiran Telkar

  • Delete overlaping requests doesnt work with delta

    Hello
    I need to delete previous request delivered by delta DTP. Process type "Delete overlaping requests from cube" doesnt allow to select delta DTP.
    Is it only for full load DTP?
    Alex

    Hi ,
    Delete Overlapping request from cube works only for full loads.
    Also if you have any such query regarding DTP functionality please reger this article
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10339304-7ce5-2c10-f692-fbcd25915c36
    -Vikram

  • Process chain is not deleting overlapping requests

    Hi all,
    I did all the steps like I described on my earlier posts to delete the overlapping request from infopackage through process chain.  I tested it in development and it works fine with any condition, I mean automation through event, date and after seven days.  When it comes to production it is not giving me the same result. So when I checked the infopackage of production I saw a routine added in the data selection of infopackage to load two days old data in the routine.  We do not have that added in the development.  Now if this is causing issue, can I add a step in the routine to delete previous request after loading file in the data selection. 
    Code:
    data: l_idx like sy-tabix.
      read table l_t_range with key
           fieldname = 'calday'.
      l_idx = sy-tabix.
    zdate = sy-datum - 2.
      l_t_range-low = zdate.
      l_t_range-sign = 'I'.
      l_t_range-option = 'EQ'.
    modify l_t_range index l_idx.
      p_subrc = 0.
    Please help,
    Suni.
    Edited by: BW on Feb 18, 2009 8:18 PM

    Hi aanjaneya,
    If you want to select and delete only the previous request of previous day, go to the infopackage and in data target tab there is option for each data target for setting the automatic deletion.
    If you select it, you will get a window which has the option to delete the request. Select all the conditions and same or more comprehensive check box and also check the  request date to yesterday and today option.
    This will delete the request loaded yesterday and also with same selection from same source.
    Hope this is clear.
    Regards
    Akhan

  • DTP to Open Hub - How to delete failed previous request?

    I have instituted the use of an open hub destination to export data to a csv file using a process chain.
    Occasionally, the attempt fails and subsequent runs of the process chain also fail because the previous attempt is "red".
    Is there any way to specifically delete the failed request from within the process chain?
    The error message speaks of setting the "Automatically Repeat Red Requests in Process Chains" indicator, but I have not found it!
    I will award points to helpful solutions.
    Thank you in advance.
    Andy

    Thanks YJV.
    But what I am asking is how to embed this in a process chain so that each time it runs, it first deletes all previous requests.  There is such a command for regular DTP's but not for the ones that export to open hub.  At least they do not appear in the F4 list when trying to generate this command in the process chain.
    Therefore, I am still looking for either the mentioned indicator which can be set for (all) DTP's or for a way to delete all related requests from within a process chain.
    Andy

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

  • Can i delete the Previous request and create the new request for loading

    Dear Experts,
    I use 0FIGL_V40.Cube in my system. These Cube does not contain delta capability.i mean for every time i wil load Full only.
    Here my question is  the first day  load full load,and second day i want to load the data.But can i delete the previous request and load the data with new request.
    Please guide me .
    Regards,
    Srinivasan.

    Hi Srinivasan,
    I hope the DS itself is not Delta enabled. If so i think you can delete the contents of PSA. This step can be added in the Process chain before actually loading the FULL IP to DS. Then you can include a step to "Delete Entire data from DataTarget" step in the process chain before actually loading the DTP(Can be Delta/FULL. I dont think there is any impact here since both will bring only one request from DS to DataTarget since PSA will have only one request) from DS to Cube.
    Hope it helps!
    Regards,
    Pavan

  • How to delete the previous request in Cube ?

    Hi All
      I have 2 sources loaded to Cube..
    Ex:
    ODS A --> Cube 1
    ODS B --> Cube 1
    Today they 31.10.2011 for both  in CUBE1
    so it becomes...
    ODS A --> Cube 1 --> 31.10.2011
    ODS B --> Cube 1 --> 31.10.2011
    tomorrow they load... CUBE 1 shld be..
    ODS A --> Cube 1 > 31.10.2011--
    DELETED
    So finally my cube has only following requests..
    ODS B --> Cube 1 --> 31.10.2011
    ODS A --> Cube 1 --> 01.11.2011
    ODS B --> Cube 1 --> 01.11.2011
    ODS A request which is older than 1day must be deleted before loading the next day...
    Can I use DELETE OVERLAPPING requests for this requirement? I am not too sure...what are the steps to be created..?
    as I tried but it was not successful.
    can anyone help me with IDEAS or steps??
    thanks a lot

    yes, you are right. You should use Delete overlapping request option.
    If it is not working, please let us know what option did you select for overlapping request deletion, may be you missed something there because overlapping request deletion is the best fit for your requirement.
    One thing you need to make sure that loads on both the days are done through PC only.
    If you do a manual load on 31.10.2011 and then PC loads data on 01.11.11, overlapping request deletion step will not delete the request loaded manually on 31st but if loads are done throught PC only, there should not be a problem.
    Regards,
    Gaurav

  • 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

  • How to delete the request in Direct Update DSO

    Dear Gurus,
    I have a situation where I have an invalid characteristic loaded into the Direct update DSO.  This is related to Spend Performance Management.  This DSO is loaded through a data source with the option Without Archive.  So, I cant see any request in this DSO.   This DSO will then supply data to another DSO which is standard DSO. 
    The data Activation job in the standard DSO is failing. 
    My question is I have to delete the request from the Direct Update DSO and then load it to Standard DSO.  I have already repaired the data in PSA.
    Your Kind help is greatly appreciated.
    -Mohan Kumar

    You must be using some fill or delete APIs to fill the data in Direct update DSO.You can't create transformation to fill the data in DIrect Update DSO as you do in Standard DSO.You will not see  request number under the manage tab for direct update dso for any load.
    Whenever you will fill the Direct update DSO next time,previous data gets deleted automatcally. For Direct update DSO there can only be a Full Update.So just load the data using API's  and previous data will get deleted automatically
    Edited by: shyam agarwal on Mar 2, 2012 7:48 AM

  • Problem in deleting the request from ODS......

    Hi,
    I am not able to delete one INIT request from the ODS. This request was taking long time and eventually it turned to RED. Data was there in PSA but I deleted the request and thought of doing the fresh load .
    Problem is that although I have deleted the request from the ODS , it is again coming back to ODS . I have started the fresh load. AS the previous also coming to this ODS its taking long time to load the data.
    Can some body let me know how to STOP/DELETE the old request??  I have already turned everything to RED QM status , overall status etc. but still its not getting stoped.
    Thanks Jeetu

    Hi Jeetu,
    Even though u find the job and cancel it or delete it the data load will not stop untill it loads the entire data!
    Hope there will be large volume of data !
    Until the data load is complete wait and then delete the request and then delete the init and start the fresh load!
    I too faced the same issue but i am helpless i could not stop the data load inthe middle!
    If you found any solution for this let me also know
    Thanks
    Ram

  • 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

  • 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

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

  • 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

Maybe you are looking for

  • How to set up time capsule with att uverse

    So I'm thinking about getting a time capsule for my home network. I have several apple (Macbook pro, Ipad, Iphone) products and i think it would be convennient to have. The only problem I think I will be facing is seting up the time capsule along sid

  • Wizard for Tabular Form Region

    Is it possible to generate a tabular form using a wizard into a new region on an existing page where other regions of various types exist? I have a page with a region for capturing details of a call. There are other regions on the page that hold info

  • Why is Safari constanly closing on my ipod?( this has happened multiple times)

    When ever i open safari for more than 10 min. The screen goes back. And safari quits . I have tried numerous things but it keeps quiting i am thinking about resetting my ipod and wiping everything from the memory.

  • Premiere CS6 media offline question

    Hey folks! Kinda stuck here...I've got a large project using dozens of files (kept on a 4TB hard drive) and about 90% of the media is offline. I can't figure out why some is and some is not. The project uses footage from 3 cameras, multi-cam edits an

  • WLC ACL blocks internet only on Nook tablet

    Win7 laptops work fine. Nook gets IP but No internet.  ACL is on the Controller and even if I remove all rules and permit any/any, still no internet on Nook.  If I take ACL off, Nook gets internet.  I have googled this & can't find anything.  Anyone