2011 Jan 12 7:28 AM
Hello,
How can be automatically blocked users donu2019t use system during last 60 days?
Hello,
How can be automatically blocked users donu2019t use system during last 60 days?
2011 Jan 12 8:10 AM
Dear Gulsah,
First of all you nead a report which is list your logon last logon date. Table USR02 give you this information (USR02-TRDAT).Calculate Sap user logon days.Find user who isn't logon last 60 and call function "BAPI_USER_LOCK". BAPI_USER_LOCK lock your SAP user. Create daily job for this report.
Releted Links;
[Communication User Last Login |;
[Lock and Unlock User IDs |http://wiki.sdn.sap.com/wiki/display/ABAP/LockandUnlockUserIDs]
Bulent
2011 Jan 12 8:58 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |