01-28-2010 7:48 AM
Hello folks,
How can we check whther a user id is locked or not.
My program should lock the user id of the employee who has resigned. so first i need to check whether
the id is locked or not. if not i need to lock the id.
Could any body suggest me how can we know whether a id is locked or not. Also, can we use the BAPI,
'BAPI_USER_LOCK' to lock the particular user. Pls advice.
Thanks in advance,
Shyam.
01-28-2010 8:08 AM
Hello
For check user lock or not use bapi BAPI_USER_GET_DETAIL
It return structure ISLOCKED (U - not locked, L - locked)
For lock - BAPI_USER_LOCK
For unlock - BAPI_USER_UNLOCK
01-28-2010 8:11 AM
01-28-2010 8:12 AM