on 07-15-2004 1:44 PM
Hi,
does anybody have an idea how to accomplish this?
Since I believe that there is more than one way to do it, could you, please, also suggest which one you think is the best and why?
Best regards
Momkic
Hi Maros
Just now I found it but unfortunately I think what I suggested was not appropriate for your task. It is not a BAdI, but a user-exit. The enhancement name is 'SUSR0001' and it can be utilized after user's logon for e.g to make customer-specific logon checks. It is likely to be called after successful logons I think.
But as a new suggestion. You may find locked users by a query on the table 'USR02'. If the field 'UFLAG' has a value other than the initial value, then the user is somehow locked.
Also, the function module 'SUSR_USER_LOCKSTATE_GET' retrieves the lock status of a user. Its output is in structure of "USLOCK" and shows the states for
WRNG_LOGON --> Locked because of wrong logon
LOCAL_LOCK --> Locked by admin
GLOB_LOCK --> Locked by global admin
For each field; 'L' = 'Locked' and 'U' = 'Unlocked'.
I think, you can schedule a job for a program utilizing the above technique for what you wanted to trigger in your question. I hope this can help you.
By the way, if you are still interested in BAdIs, you can study the course 'BC425 - Enhancements & Modifications'.
*--Serdar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Serdar,
I did the program (just select on usr02) and scheduled it in the background until "I" find more inteligent solution. User exit would be great, but this one kicks in after user has successfully logged on whilst I need something that is called right after u-name/psswd check - something like audit, that records incorrect logon attempts.
But anyway thank you for all the hints and nkowledge of your juicy brain you shared with me.
Best regards
Momkic
Hi
I remember a BAdI which can possibly be utilized for this purpose, but couldn't recall its name. Did you search for that?
*--Serdar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
26 | |
11 | |
10 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.