Delete previous months request

Hi,
I have a cube with 2 infosources.From 1st infosource the load is weekly load.My requirement is to delete the previous months requests from this 1st infosource.Any one have some idea on how to delete the Previous months request?

Hi ChndraShekar,
you can do this by using that cube's infopackage. whre ther is option in data targets tab " selective deletion(s) double click it thr you get many options of data selection for deletion of your required request.
hope it surly solves your problm, assn pnt if it helps.
Regards,
Neelima.

Similar Messages

  • My iCal has deleted previous months .any ideas?

    My iCal on iPhone and iPad has deleted all previous months and some future dates . If anyone has any idea what to do all help would be greatly appreciated.
    Leo

    My iCal on iPhone and iPad has deleted all previous months and some future dates . If anyone has any idea what to do all help would be greatly appreciated.
    Leo

  • Delete previous ODS request

    Hello,
    I am currently doing a full load from source to ODS every night. I want to delete the previous data from this source and then reload with the new source. Does anyone have any idea on this. I cant delete all the data as there are other sources to the ODS that i dont want to disturb.
    Your inputs would be appreciated and points rewarded
    Thanks
    Laura.

    Hi Laura
    It is impossible to selectively delete requests from an ODS once they have been activated. Once the records have been activated they are added or updated to the active data table and the request ID disappears.
    Have a look at this link for how the ODS activation works:
    http://help.sap.com/saphelp_nw70/helpdata/en/03/c97842b180c153e10000000a1550b0/content.htm
    The only option is to do a full delete and reload of the ODS each night. If that is not acceptable you may have to think about remodelling it.
    Try having 2 ODS, one for current data which gets deleted and reloaded every night and another for history?
    Hope that helps
    Chami

  • Delete previous specific request

    Hi all,
    My scenario is like if i am loading data through two info package where one info package take the data for yesterday and second info package take data for two day before yesterday. now my requirement that before loading data, i need to delete that two day data which i have loaded with second info package.
    can i Delete from Active table or change table or is there any other way to indentified specific request and then we can write a code to delete that ? Please suggest.

    Hi Viral,
       Can you tell me what is your exact requirement.
    Like if you are going to upload data today on 23rd march then from Info package A , you upload the 22nd march data and
    using info package B, you upload the 20th mrach data.
    and now next time on 24th march when you want to upload data at that time you want to delete 20th march data, m i right??
    If i am right then what is this scenario, if you have upload the data on 21st then you have alread uploaded the data of 20th via using infopackage A.
    Then y u again upload that data?? what is the functional logic behaind that??
    Regards,

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

  • How do I delete a prior month(s) or entire year(s) in iCal on my iMac (using version 4.0.4 (1395.7)?  Want to delete all months in 2009

    I checked what was previous asked in deleting months from iCal; however, that question pertained to removing events from a month and not necessarily deleting the entire month.  I have three years of calendars (January - December x three) in my iCal and want to delete all months for 2009 and 2010; however, I can't seem to find a way to delete.  I checked preferences/advanced under iCal but no mention of deleting previous months/years.

    Greetings Judith,
    Before making any attempts at deleting calendar data, backup what you have just in case:
    Click on each calendar on the left hand side of iCal one at a time highlighting it's name and then going to File Export > Export and saving the resulting calendar file to a logical location for safekeeping.
    iCal has an automated function located in iCal > Preferences > Advanced > Delete events "X" days after they have passed.  By typing in a value for days you can tell iCal to delete all events before that time frame.
    Example:
    Today is 4-16-2012.
    If I wanted to delete all events prior to 1 year ago (4-16-2011) I would type in "365" for the number of days.
    Once you type in the number of days you want kept in iCal, close the preferences and then quit iCal.
    Re-open iCal and check to see if the events are gone.  If not you may want to leave it open for several minutes and then quit again.
    Once the events are removed go back to  iCal > Preferences > Advanced > Delete events "X" days after they have passed and make sure the check mark is removed to prevent future deletion.
    Hope that helps.

  • Load Transactional Data Current Year: 0PM_OM_OPA_1" doesn't delete previous

    Hi Experts,
    We are doing load monitoring on dailiy basis, As we are doing some testing in the BW Development system, we are loading data into the cube 0PM_C01. we want to load the current year data (2007-2008). but whenever we are trying to load through the InfoPackage "Load Transactional Data Current Year: 0PM_OM_OPA_1" it doesn't delete previous load requests.  It was initially configured with this option not selected.  we recently changed it, but it still doesn't delete.  The only difference we see between this load and others that do delete is that this one is executed from a process chain rather than an InfoPackage Group.  What do we need to do to make it delete previous load requests?
    So please help me in this regard. points will be assigned.
    thanks
    sekhar

    Hello,
    I think as you are running this in process chain, you need to add the step "Delete Overlapping Requests from InfoCube" after the load step so that the previous request will be deleted.
    regds,
    Shashank

  • HT3275 I've 1.85TB empty space on my time Machine, but it only backs up to the beginning of the previous month. it should have weekly back-ups for every month before that. Any ideas why it deletes stuff older than a month?

    I've 1.85TB empty space on my Time Machine, but it only retains back-ups to the beginning of the previous month. I should be able to access weekly back-ups for every month before that until the disk is full. Any ideas why it deletes stuff older than a month?
    Thanks, Rigby.

    If you are using Ethernet to connect your Mac to the Time Capsule, are you allowing at least 2-3 minutes for Time Machine to fully load when you open the application to see your backups?
    If you are using wireless to connect, you may need to allow 8-10 minutes or longer for everything to fully load, depending on the speed of your wireless connection.
    If you see only white time "bars" on the timeline at the right of the screen, you are seeing temporary backups. Permanent backups are displayed with purple "bars".

  • Deletion of last request from PSA & Cube

    Hello Experts,
    I have one Z Infocube in which daily full data had been uploaded....Now in PSA, i have uploaded monthwise data via full load process. but for the current month i have to daily delete the request and then execute the process chain. Is there any method or process type which I can add into process chain that deletes the last date request and same for the DTP Request.
    Please help me out from this as i cant take full load daily.
    Thanks in advance
    Neha

    Hi,
    You can create a selective deletion program using the t-code DELETE_FACTS. Use this program in the process chain and provide variant to delete the previous request.
    PSA Data Deleteion:
    You can delete the request onderthan no.of Days.In the pC Process Types you will find option for Delete the PSA Data.
    Deleting Requests from the PSA :
    http://help.sap.com/saphelp_nw70/helpdata/en/b0/078f3b0e8d4762e10000000a11402f/frameset.htm
    ABAP to delete a specific request (last one) from a Cube  :
    ABAP to delete a specific request (last one) from a Cube
    Process Chain to Delete a previous request with overlapping values :
    /message/6161074#6161074 [original link is broken]
    Regards
    Ram.
    Edited by: Ramakanth Deepak Gandepalli on Dec 10, 2009 7:18 AM

  • How to delete a specific request out of the InfoProvider

    Hi all,
    we have a generic datasource to extract our CO-PA data. Unfortunately this datasource can not deliver any delta at the moment. This is why we need to have a full upload. In InfoPackage we select the single period 001, 002, or 003.
    Now in March we only need to load the period 003 daily. In my process chain I would like to have a function that deletes only the request of this infopackage and not also the requests of the previous months, so I don't need to load all everyday, but only the current month.
    Do you know such a process type?
    Thanks in advance!

    Hi Sandra,
    1. Try "Delete Overlapping Requests from InfoCube" process type.
    2. You can also do this in the InfoPackage. Goto Data Targets tab "Automatic Loading of Similar/Identical Requests"
    These two are only possible for a Cube.
    Anup.

  • How to delete a specific request from ODS

    Hi all,
    We have an ODS which we're loading invoices from legacy system. In legacy system, there are two tables for invoices. First one is daily records which is archived on last day of each month. As you guess, second table is  for archive records. We need all of the records from  both tables. Because of performance issue , we don't want to load both tables everyday . So we created two transformation. Since there is no delta option, we need to delete the first table request from data targets before extraction. And delete the request from the second table only last day of month. We're created process chain. But there is no option for deleting only the request from a specific data source or transformation. Are there any solution for this?
    thanks,
    Yigit

    Hi,
    Thanks for your code. But is there any function module to delete most recent request from the ODS.
    I had 2 requirements...One in need to delete from ODS & Other one from Cube.
    FM - 'RSSM_DELETE_REQUEST' will be used to delete from Cube only.
    Can please you send FM & ABAP Code to delete request from ODS.
    Thanks in advance.
    Yigit
    Message was edited by:
            Yigit

  • How to find current month, previous month Net Sales by means of formula?

    Hello Gurus,
    I need my crystal report to display data as below:-
                                            Net Sales
    PG1         Current month      Previous Month     Prior year-month    %Variance
    Panels      $                          $                          $
    Frames
    Can anyone kindly suggest formula for generating these values?
    I have already formulated current, previous, prior year months' start dates and end dates.
    Further details:-
    Data filters are requested for Company-->Region-->Customergroup-->All Product group
    Datasource is Universe
    Reporting for 2 years data
    Your suggestions and help will be much appreciate.
    Thanks,
    Prarthana

    hi Prarthana,
    there are a couple of different ways of doing this...one way is to create formulae similar to below...
    1) formula for current month sales
    if month({your date field}) = month(currentdate)
    and year({your date field}) = year({your date field})
    then {your sales field}
    2)  formula for previous month sales
    if month({your date field}) = month(dateadd("m", -1, currentdate))
    and year({your date field}) = year(dateadd("m", -1, currentdate))
    then {your sales field}
    3) formula for 2 months ago
    if month({your date field}) = month(dateadd("m", -2, currentdate))
    and year({your date field}) = year(dateadd("m", -2, currentdate))
    then {your sales field}
    put those formulas on your details sections and then right click on them and choose Insert > Summary and choose Sum as the summary type and change the Summary Location to match the appropriate groups.
    cheers,
    jamie

  • 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 to delete cube old request by using abap code?

    Dear experts,
    Here is one thing need your help:
    We have one cube need to delete the old request. This cube is loaded daily and only need to delete the request of that month.
    I know there is one "Delete Overlap Requet" type in the process chain, but my concern is: in our DTP filter, different day the selection will have different values, let's say A and B, and A and B are not even overlap at all.
    So my question is:
    1. Can I still use "Delete Overlap Request" to delete the old request?
    2. If so, I see it can be implemented by abap routine, can anyone give me some sample code? Like how to delete request only in this month. And how to delete request whose selection is equal to a specific value.
    Note: one of the source cube is real time cube so can not delete the request from infopackage.
    Any post will be appreciated and thank you all for your time in advance!
    Regards.
    Tim

    Here is the intial code when I choose "Request Selection through Routine", please help me on how to choose the specific request and delete them in this routine.
    program conversion_routine.
    Type pools used by conversion program
    Global code used by conversion rules
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    $$ end of global - insert your declaration only before this line   -
        InfoCube        = ZPC_DEL_REQ_ZBPS_C01
    form compute_ZPC_DEL_REQ_ZBPS_C01
      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 ZPC_DEL_REQ_ZBPS_C01.
    *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.
    $$ end of routine - insert your code only before this line         -
    endform.

Maybe you are looking for