Unable to automate deletion of old data (requests) from InfoCube using a PC

Each week I copy open Notifications into a 'SnapShot' cube, from the Transaction Cube, using the current date to make it a unique copy/snapshot for that week.  This is then reported on showing, amongst other things, the trend of open Notifications throughout the year.
In an effort to ensure this doesn't grow too big, I will only keep a rolling 52 weeks of data.  I thought I could use a feature available when creating Process Chains called 'Delete Overlapping Requests from InfoCube' to manage the amount of data held (52 weeks only).
The variant used to delete the requests has been created linked to object type 'Data Transfer Process' (DTP) and the actual DTP used to load the  'SnapShot' cube ... I then click the 'delete selections' button.  On the next window I select 'Request Selection Through Routine', then click 'Change Routine'.  I entered the following code, which I borrowed from another thread:
data: datum(16) type c,
date type sy-datum.
date = sy-datum.
date = date - 365.
break-point.
concatenate date sy-uzeit into datum.
loop at l_t_request_to_delete.
delete l_t_request_to_delete where timestamp gt datum.
endloop.
append l_t_request_to_delete.
p_subrc = 0.
I get a message saying "No Requests for deletion were found'.  Any ideas?

HI Tony,
Please check whether the timestamp value you are popolating i filed datum with the following statement:
concatenate date sy-uzeit into datum.
has same data format and type as the timestamp for the request.
If this is not same then you will not be able to find any request corresponding to timestamp.
- Geetanjali

Similar Messages

  • Automatic loading of similar/identical request from infocube

    Dear all,
    Any one can give the description of <b>Automatic loading of similar/identical request from infocube]</b>.please
    Thanks
    Rave

    Hi,
    From help.sap
    <u>Automatic Deletion of Requests from the InfoCube when Loading</u>
    To ensure that the data that is going to be loaded with an InfoPackage is available only once in an InfoCube, you can delete from the InfoCube any existing requests that have partially overlapping or similar selection conditions and relevant deletion selections.
    After loading new data into the InfoCube, the InfoCube contents are checked using the selection conditions for an InfoSource/DataSource/source system combination, to see if overlapping data has been loaded into the InfoCube. The data that has been loaded into the InfoCube is not analyzed rather the selection conditions for the InfoObjects that you determined in the Scheduler are compared.
    <b>With this function the dataset in BW is reduced to the size necessary for analysis, and redundancies are avoided.</b>
    Check this link for more
    http://help.sap.com/saphelp_nw04/helpdata/en/f8/e5603801be792de10000009b38f842/content.htm
    Regards,
    R.Ravi

  • BW 7.0 Automatic Deletion of Similar/Identical Requests from the InfoCube

    Hi experts,
    In BW 3.5 we have used a feature in a InfoPackage, where you can delete an u201Coldu201D loading, u201CAutomatic Deletion of Similar/Identical Requests from the InfoCubeu201D.
    Now we are building a flow in our upgraded system and we can see that this opportunity is available in the InfoPackage to the PSA, when you load data from the source system (ERP) to the BW system but we would like to make this when we load an InfoCube some layers up (see exemple below; InfoCube2)
    Source System  -> PSA  -> InfoCube1  -> InfoCube2
    Anyone know if it is possible or if there is anything else you can do?
    Regards,
    Kerstin

    in bi7 the load to the datatarget is done using dtp. the infopackage goes only to the psa. in order to achieve the same you need to use the process step in the process chain. you need of course to create a correct variant, but here you'll have the same options as you had before in the earlier version.
    M.

  • My 2 TB Time Capsule's memory is full because it will not automatically delete old files as it is supposed to, so it is giving me zero backup of my two computers now.  How can this be fixed so my Time Capsule deletes the old data and saves the new?

    My 2 TB Time Capsule’s memory is full because it will notautomatically delete old files as it is supposed to, so it is giving me zerobackup of my two computers now. How can this be fixed so my Time Capsule deletes the old data and savesthe new?
    Neither my local computer consultant nor I have been ableto change any of the settings in Time Machine to correct this problem.  Working with the choices in the TimeMachine, there does not appear that there is any way to change the frequency ofthe backups either, so, after a year has elapsed, the time capsule is full, andmy only choice appears to be to erase all the current data on the Time Capsuleand start over, something that I do not want to at all let alone repeat on anannual basis.  My questions are:
    What can be done to have my Time Capsule delete old filesas it is supposed to do, so it has memory available to allow my computers toback up? 
    Is this a software problem that can be fixed online or isdoes this require a mechanical fix of defective hardware?

    How much data is being backed-up from each Mac?  (see what's shown for Estimated size of full backup under the exclusions box in Time Machine Prefs > Options).
    Is there any other data on your Time Capsule, besides the backups?
    Most likely, there just isn't room.  Time Machine may be trying to do a very large (or full) backup of one or both Macs, and can't.  Since it won't ever delete the most recent backup, there has to be enough room for one full backup plus whatever it's trying to back up now, plus 20% (for workspace).
    Also see #C4 in Time Machine - Troubleshooting for more details.

  • Unable to Delete failed requests from Infocube

    Dear Experts,
    I tried to uploaded the data through flat file. Since it has gone to Idle state i Killed the process. Now i Need to delete the red request from Infocube but It is not allowing me to delete the failed request. If I do so, I am getting ABAP runtime error.
    Please Suggest me . Its bit Urgent
    Many Thanks,
    Suraj

    Hi Suraj,
    There is might be a deadlock detected in the system
    So go the reqeust
    click on the details tab
    Each Package which is yellow or red has to be updated manually (right click – Manual Update). This can take few minutes.
    Change request status to green
    Change to Status – doppleclick on total status
    Change from red to “Delete status;back to request status”
    Note:
    This case is only applicable, if the data are stored in PSA.

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

  • How do I delete an old email account from my system

    I was asked to update a password to our company email account and I updated.  Then I had to update the password on my iphone.  Now my iphone won't send any emails out because it is asking for an update to an email account that was never associated with this iphone (the email account was from a former employer).  It must have been restored or synced to my iphone or tied to iTunes through syncing.  I deleted the old employer phone from itunes when I left the job and purchased a new iphone.
    But now my new iphone is not sending emails because it says that the old email account does not recognize the new password.  And there is no old email account to delete.  I've looked in my itunes acccount to try to delete there as well and can find nothing to delete from the old account.
    Message was edited by: ggslavik

    Very interesting, thank you for the update.
    I would next reset the network settings on the phone, in case there is some info there that is stuck and causing the issue:
    Reset network settings by tapping Settings > General > Reset > Reset Network Settings. Note: This will reset all network settings including:
    previously connected Wi-Fi networks and passwords
    recently used Bluetooth accessories
    VPN and APN settings
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/TS1398
    I would also check these locations to see if the account is signed in anywhere else as an Apple ID in your Settings:
    iCloud
    iTunes & App Stores
    Messages
    FaceTime
    Game Center
    If not I would as a last resort, backup your iPhone with this article:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    And restore it from your backup with this article and test the issue:
    Use iTunes to restore your iOS device to factory settings
    http://support.apple.com/kb/ht1414
    If the issue persists when restored, then restore it as a new device and test the issue to help isolate the data in the backup.

  • How do i delete an old iCloud account from phone when I forget my password and I'm not able to reset it because my security questions do not match?! Help!! Currently not able to update any apps or icloud info

    How do i delete an old iCloud account from phone when I forget my password and I'm not able to reset it because my security questions do not match?! Help!! Currently not able to update any apps or icloud info...

    If your device is signed into an old ID of yours that is an earlier version of the ID you want to sign in with, do the following:
    If you are using iMessage and FaceTime, make sure you are signed into these services with your current ID.  If they are signed into the old ID, go to Settings>Messages>Send & Receive and Settings>FaceTime, tap the ID, sign out, then sign back in with your current ID.
    Then temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  (You should not have to verify the old email account so it doesn’t matter if you no longer have access to it.)  Now go to Settings>iCloud, turn off Find My iDevice and enter your current password when prompted (even though it prompts you for the password for your old ID).  Then save any photo stream photos that you wish to keep to your camera roll (unless you are using iCloud Photo Library).  When finished go to Settings>iCloud, tap Sign Out (or Delete Account if you are not running iOS 8) and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address back to the way it was.  Now you can go to Settings>iCloud and sign back in with your current iCloud ID and password (your data will download back to your device).

  • HT204053 how can i delete my old icloud account from my iphone

    how can i delete my old icloud account from my iphone

    Go to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • HT4759 How can i delete an old iCloud account and start using my own using my Apple ID? If I don't have the old password??

    How can i delete an old iCloud account and start using my own using my Apple ID? If I don't have the old password??

    If your device is signed into an old iCloud ID that is an earlier version of the ID you want to sign in with, do the following:
    If you are using iMessage and FaceTime, make sure you are signed into these services with your current ID.  If they are signed into the old ID, go to Settings>Messages>Send & Receive and Settings>FaceTime, tap the ID, sign out, then sign back in with your current ID.
    Then temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  (You should not have to verify the old email account so it doesn’t matter if you no longer have access to it.)  Now go to Settings>iCloud, turn off Find My iDevice and enter your current password when prompted (even though it prompts you for the password for your old ID).  Then save any photo stream photos that you wish to keep to your camera roll (unless you are using iCloud Photo Library).  When finished go to Settings>iCloud, tap Sign Out (or Delete Account if you are not running iOS 8) and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address back to the way it was.  Now you can go to Settings>iCloud and sign back in with your current iCloud ID and password (your data will download back to your device).

  • Delete Overlapping Reqeust in DTP deletes more than one request from cube

    Hi all,
    I have selected the following options in delete overlapping request as we need only one request in the cube.
    Delete existing requests
    Only delete request frm same same DTP
    Selections are
    Same or More comprehensive
    Scenario is:
    DSO>DTP>Cube
    I have set this delete overlapping request in the DTP (in a processchain).
    Now at the time i added this step in Process chain, there were two requests in the Cube (both with the same DTP but first one was 2009 data and second was 2010 data)
    Need was to delete only the latest request from the cube ie 2010 data.
    As per my understanding, i assumed delete overlapping will delete only ONE request i.e. the latest one from the cube with 2010 data.  But when i ran processchain, it deleted both the requests.
    Is that the functionality or is there something I am missing? We need to retain 2009 data and overwrite 2010 data with the new request.
    Suggestions please.

    Hi,
    I suspect that you have not set any DTP filter criteria. Is this the case?
    Are these requests delta DTPs or full DTPs?
    Have you read/applied these notes:
    1155723 P18:DTP:PC: Deleting overlapping DTP requests in PC
    1318438 P21:DTP:PC: Change of instance when DTP in PC repaired
    1147766 P18:PC:DTP:Select only full DTPs for overlapping deletion
    1336410 70SP22: Enhancements to CL_RSBK_DTP=>GET_ALL_BY_PROPERTY
    Rgds,
    Colum

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

  • 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

  • "Delete Overlapping Requests from InfoCube" in a Process Chain

    Dear all,
    I encountered a problem when I building the process chain in BW 3.0.
    In a process chain, I schedule daily an InfoPackage to load data to an InfoCube and then delete the previously loaded data by the same InfoPacckage from the InfoCube.
    For example, I have 2 InfoPacakge, A and B, and schedule to load data to InfoCube C. In the process chain, I scheduled daily the following tasks in sequence:
    - Delete index in InfoCube C
    - Load data through InfoPackage A to InfoCube C
    - Delete duplicated request previously loaded through InfoPackage A in InfoCube C
    - Load data through InfoPackage B to InfoCube C
    - Delete duplicated request previously loaded through InfoPackage B in InfoCube C
    - Create index in InfoCube C
    However, when I activate the process chain, a warning message is prompted: No type "Delete Overlapping Requests from InfoCube" process allowed infront of process "Execute InfoPackage" variable ZPAK_4GMFI
    Would anyone tell me why such warning message is prompted?
    Many thanks!
    Best regards,
    Marcus

    Hi all,
    Re Ranjan:
    I previously config the process chain like that:
    (1)   Delete index in InfoCube C
    (2)   Load data through InfoPackage A to InfoCube C
    (3a) Delete duplicated request previously loaded through InfoPackage A in InfoCube C
    (3b) Load data through InfoPackage B to InfoCube C
    (4)   Delete duplicated request previously loaded through InfoPackage B in InfoCube C
    (5)   Create index in InfoCube C
    where (3a) and (3b) is executed simultaneously.
    However, (3b) often reports error. I guess it may be due to the parallel run of (3a) and (3b). So that's why I set the process chain to be executed in serial.
    Re Jacob:
    I found that the process chain can be run even a warning message is prompted when activating the process chain!.
    Thanks you all for your kind support!!
    Best regards,
    Marcus

  • Delete overlapping requests from infocube

    Hi ALL,
    I have loads to infocube from  5 diffrent infopackages loading adhocly or randomly from same source sytem and same infosource.
    Note:infopackages have dynamic selections.(ex calweek,product)
    My requirement: If i load infopackage-1 today,and when i load the same infopackage next time the prevoius load should be deleted .
    I need the same functionality for other 4 infopackages.
    So at given point of time i should have only 5 requests in the infocube.
    These are the settings i have done.
    1)At infopackage level i have selected option Delete existing requests : overlapping
       Without selecting any conditions like infosources,source sytem are same.
    2)Added process type in the process chain delete overlapping requests from infocube
       selected option: Delete existing requests : overlapping.
       Without selecting any conditions like infosources,source sytem are same.
    Are these settings are enough or is there in best way to do this .
    Please suggest me ...

    Kishore,
    Delete overlapping requests means, delete request with same selection only. If data selection not same, i dont think it will delete any previous request.
    You can select infosource, source system. No issues. System only deletes request if data coming from same infosource or from same source system for same selection.
    But in your case selection changing every day or for every load. I dont think it works.... Try once in DEV.
    If i understand correctly, as you only needed latest 5 requests only, why cant you delete data completely before loading / starting new set of requests...?? This is easy, quicker and better approach.
    But only problem is data will not be available during loading of new set of requests.
    Srini

Maybe you are looking for

  • "Powermaps needs more resources to complete this operation" error. 2 datasets 100 rows. one tour. two layers

    I'm working on some BI mashups to demo the powerbi offerings to potential clients, but I get close to 20+ crashes a day relating to memory issues I'm utilising powerquery to import and filter data from 2 rss feeds. Each are at most 100 rows. I then a

  • Multiple Function Acknowledgments (997) to email

    Hi, I have the following problem. We send invoices to an external system and it sends back funtional acknowledgment (ANSI 997). We convert this file with the Seeburger Adapter to an XI-XML and then send it through email to different recepients. Every

  • Camera Calibration Profiles And 5D MKII

    Until now I have been using a Canon 1Ds MKII and have had not only the downloaded Canon Camera Profiles available in the Calibration panel of the Develop Module but also the Adobe Standard, ACR 2.4, and ACR 4.4 profiles.  Recently I got a Canon 5D MK

  • Issue 377:  IndexOutOfBoundsException in ApplyRequestValuesPhase

    https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=377 I don't seem to be able to add comments to this issue, so I'm putting this here instead. Let me know if I'm being slow and could have commented on the issue. We've also seen this bug usi

  • Program Closes if I Drag Music from iTunes

    My iDVD '08 program closes as soon as I attempt to drag music from iTunes into the DVD clip for sound/music. I have made previous DVDs in the past using this program and have never had this problem. Steps I have taken so far: 1. Restarted the compute