02-03-2010 9:55 AM
Hi folks,
Is it possible to configure an e-mail alert to the Admin team to flag up when a user has locked their account?
Not interested in any automatic unlocking or anything of that nature. Just a simple e-mail alert.
Many thanks
Paul
02-03-2010 10:41 AM
Hi Paul,
You can do this with a simple prog that periodically looped through USR02 looking for userID's that had been locked (you can choose which lock codes are suitable for reporting on). When it finds a record that has been locked since it last ran then uses a standard FM to email a group inbox or set of email addresses.
02-03-2010 10:41 AM
Hi Paul,
You can do this with a simple prog that periodically looped through USR02 looking for userID's that had been locked (you can choose which lock codes are suitable for reporting on). When it finds a record that has been locked since it last ran then uses a standard FM to email a group inbox or set of email addresses.
02-03-2010 10:44 AM
Thank you for the reply Alex, much appreciated.
We're all quite new to this SAP game here so that'll be a good one to ask the ABAP lads to have a go at.
02-03-2010 10:54 AM
Hi Paul, it should be a nice & easy one for them. A couple of gotcha's to look out for:
1. Lock codes - unless you really want to, don't report on admin lock codes otherwise you could have some fun and games when you have to do a mass lock...
2. Only picking up locked ID's that were locked since the last run. A few years back we had a program coded and the developer forgot this. As a result we kept on getting lists of locked users that had been reported but had not requested their ID's to be unlocked yet.
3. Being careful with the period of the report - can be a pain to keep getting stuff in your inbox unless it is really mission critical and you want to spend loads of time chasing users about.
02-03-2010 10:58 AM
Alex,
That's great information, I shall pass that onto the lads, thank you very much.
02-03-2010 11:20 AM
02-03-2010 11:33 AM
Hi Shekar,
The one that I have seen used in the past is SO_NEW_DOCUMENT_SEND_API1
If you need to send attachments you can use SO_NEW_DOCUMENT_ATT_SEND_API1
02-03-2010 11:41 AM
Probably the easiest way of all would be to use the CCMS (transaction RZ20). You can also monitor and react to it centrally from a SolMan. Mail alerts are a configurable reaction method in the properties.
Password based locks are recorded in the system log already and the audit log if activated. You will even get the terminal name.
Cheers,
Julius