2006 Aug 15 10:31 AM
Hello everyone!!!
I've another strange requirement. Does anyone have any suggestions on how to lock and unlock a set of users?.
Any FM or sample coding would be appreciated!!
Thanks!
-Mahesh
2006 Aug 15 10:58 AM
Hi Mahesh,
U can use the BAPIs or FMs ENQUEUE_E_USR04 and DEQUEUE_E_USR04.
First lock the user, process the user info / update , then unlock the userid.
Regards,
Raj
Hello everyone!!!
I've another strange requirement. Does anyone have any suggestions on how to lock and unlock a set of users?.
Any FM or sample coding would be appreciated!!
Thanks!
-Mahesh
2006 Aug 15 10:35 AM
Hi
Try these FMs...
BAPI_USER_LOCK Lock User
BAPI_USER_UNLOCK Unlock User
SUSR_BAPI_USER_LOCK SUSR_BAPI_USER_UNLOCK
Regards,
Raj
2006 Aug 15 10:52 AM
Hi...thanks for the post...
Raj...each of these BAPI FMs do both locking and unlocking...are these special FMs when BAPIs are used to update master data...
my requirement is to lock the user before a certain cycle of jobs begin and unlock the same user after all the jobs are done. Will these FMs solve the purpose??
i also came across these FMs ENQUEUE_E_USR04 and DEQUEUE_E_USR04. Can these be used as well??
Please let me know!!
Thanks again!
2006 Aug 15 10:42 AM
2006 Aug 15 10:53 AM
Hi Chandrasekhar...i'm aware it can be dont thru SU10 but i need to do it in ABAP without doing a recording of the SU10 transaction!
Thanks!
2006 Aug 15 10:58 AM
Hi Mahesh,
U can use the BAPIs or FMs ENQUEUE_E_USR04 and DEQUEUE_E_USR04.
First lock the user, process the user info / update , then unlock the userid.
Regards,
Raj
2006 Aug 15 11:04 AM