Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM/BAPI for User ID password Unlock

Former Member
0 Kudos
1,430

Dear Experts,

Apart from SU01,is there any FM/BAPI which  is used to unlock SAP user id of the user (Which has been locked due to incorrect password attempts).

Thanks

KH

1 ACCEPTED SOLUTION

nabheetscn
Active Contributor
0 Kudos
402

Please try with BAPI_USER_UNLOCK

6 REPLIES 6

nabheetscn
Active Contributor
0 Kudos
403

Please try with BAPI_USER_UNLOCK

0 Kudos
402

Thanks Nabheet.

KH

former_member188827
Active Contributor
0 Kudos
402

Check if FM "SUSR_USER_UNLOCK" helps.

Regards

0 Kudos
402

Thanks .

KH

Former Member
0 Kudos
402

if is is incorrectlogons/passwords!

CALL FUNCTION 'SUSR_BAPI_USER_UNLOCK'

     EXPORTING

          USERNAME         = USERNAME

          LOCK_GLOBAL      = LOCK_GLOBAL

          LOCK_LOCAL       = LOCK_LOCAL

          LOCK_WRONG_LOGON = LOCK_WRONG_LOGON

     TABLES

          RETURN           = RETURN.

0 Kudos
402

Thanks Kiran.

KH