Need of Strust certificate expired alert Automation:-
Warning_message
Steps to build solution:-
We need to perform below steps to disable the warning message for end users and to configure these warning messages to Basis mail box.
First we need to find out how many certificates are going to expire soon. Run SE38/SA38 and click on execute button to run SSF_ALERT_CERTEXPIRE report in the system as given below:-
As given below click on hit Lock AutoABAP button.
then you will get notification in status bar that AutoABAP SSFALRTEXP has been deactivated. So, Now system will not send an system notification to all users using SM02 in future once any certificate will be going to expire.
Now as per the requirement we want to send these alerts to Basis admin or any Basis DL for any certificate was going to expire. So, He can take action accordingly to renew the certificate.
Steps are given below:-
Now we can create variant by clicking save button or in the menu path Goto –> Variant –>Save as Variant as shown below.
Create a variant, for example “ZCERTEXPIRE”, System will send SAP mail to the designated user(s) listed on the recipient list to notify them of the alerts generated that their PSE certificate is about to expire.
Please make sure that required filed are checked as shown above and then click on save.
Now you can schedule this ZCERTEXPIRE Variant with program SSF_ALERT_CERTEXPIRE in Background with daily periodicity on a specific time using SM36. As given below:-
With below Program and Variant information.
With below periodicity.
Job finished successfully as given below:-
So, Now the user which you maintained in warn using recipient list will get the alert in mail box daily.
Conclusion:-
References:-