Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3180

how to delete entries from DSO for the previous month ?

$
0
0

HI ,

 

I am doing a DSO lookup and it will have huge data like 100 thousand records. I would like to delete the records in this DSO after the current month is passed, as we dont need any longer and if we have more number of records for previous months, it will unnecessarily decrease the performance of the lookup code.

 

this dso will be loaded every day and I would like to delete the records when a new month's data is loaded. For example

 

DELETE /bic/YDSONAME00 WHERE CALMONTH  NE sy-datum+6(2).


Can we write something like this in the end-routine while loading so that when a new month's data is loaded in the DSO. It will delete the previous month's data in the DSO while executing the end-routine.


Please update the code or any other advise.


Thanks

DR


Viewing all articles
Browse latest Browse all 3180

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>