SAP – Automatically unlock users due to incorrect password

This simple report will unlock all users who was locked due to password incorrect.

Schedule this report as a periodic job to make it automatically.

 

*&———————————————————————*
*& ReportĀ  ZBC_UNLOCK_PWD
*&
*&———————————————————————*
*&This Program will Unlock users due to password incorrect
*&
*&———————————————————————*

REPORTĀ  ZBC_UNLOCK_PWD.
TABLES USR02.

*Unlock All users with password incorrect
UPDATE USR02 SET UFLAG = ‘0’
WHERE UFLAG = ‘128’.
COMMIT WORK.

Miki Barzilay