Skip to Content

Delete SDP Alerts which created on same day.

Dear experts,

We have business requirement to delete database alerts which generated on the same day and create new ones with out deleting previous days generated alerts.

I tried using /SAPAPO/AMON_REORG, but this is not deleting alerts which are generated on last day.

and program /SAPAPO/AMODAL_DELETE which is deleting all the old and today's.

Can some one help on achieving the requirement to delete alerts based on creation date.(today's date)

Thanks & Regards


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 07, 2016 at 06:12 PM

    Hi Yadagiri,

    You can achieve this by creating a macro which deletes the existing alerts(delete in context) and creates new ones(update in context). The macro essentially would have only 1 iteration for the current date. You can then schedule this macro in a background job and run it as needed.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 20, 2016 at 08:41 AM

    Hi Yadagiri,

    I am personally not a fan of deleting alerts via macro because I always faced fringe effects where the macro function did not delete properly. So I always used //AMON_REORG which also worked for alerts from yesterday or older. That's why I am not sure why this is not working in your case.

    Any issue in your selection variant?

    regards Peter

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.