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,