on 11-06-2013 4:18 PM
Hi experts,
in our company we face the following problem:
- every month data is loaded into PSA on the 1st and the 8th working-day. --> 2 or more requests with almost same data
- we would like to keep "old" data in PSA
- we would like to use a process chain for doing this.
I found a possibility of how to delete requests "older than x days" - but that´s too much of deletion!
Only requests of the last, say 10 days should be deleted.
Have you got an idea how tho solve this?
Thx a lot and all the best,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If your data source support only full load then you can delete PSA request before a new load.
This option we used here to avoids data duplication while update the data target.
or
If your data source support delta load then with the help of "older than x days" option just provide 10 so automatically 10 days old psa request will be deleted from PSA.
Regards,
SM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you enter 10 in "Older Than" in the process chain, it will delete all the requests till last 10th day. That means last 10 days requests from today will only be available in PSA.
How do you want to delete now? If you want to do some custom deletion, you need to create either custom process type or ABAP program to delete requests from PSA tables. But this is tricky. Don't go for this. I suggest you to fix for some period and enter that No. of days in the process chain. This would be easy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
In your case its not possible.because you runs request 1st and 8th working day of the month. for next time your process chain runs on next month first working day.first to next month 1 date you may gap of 30days( or lesser but not 10days). if you give as 10 days then there is no request available to delete. if your doing daily loads then it will work.
Ex: Nov1st and 8th you loaded.
next you will run on dec 2nd(monday). here nov 8 to dec 2 , you will get gap of more than days .
Nov 1 - Dec 2 - 30days gap
Nov 8th - Dec 2 - 24 days, there is no request to delete older than 10days.
You need to rethink about your deletion conditions. other wise need to go with abap code.
Thanks
Hi Thomas,
If your data source doesn't support delta then there is no use of having old PSA request. its leads duplication while loading to your target.
Other wise you can delete the PSA request before loading. for this we can use 0 days.
if its suits your needs you can 0 days. its delete psa request before loading.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.