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: 

to lock users in ALV list using BAPI

Former Member
0 Kudos

hi

i've displayed a list of users who are not logged for 90 days on ALV and i want to lock selected users on that particular list using BAPI.

help me with this

regards

pradeep

1 ACCEPTED SOLUTION

former_member223537
Active Contributor
0 Kudos

Hi,

Provide a checkbox on ALV to select records for locking. Provide LOCK button. When this button is clicked call BAPI : BAPI_USER_LOCK. This will lock the user from logging to sap.

To unlock use bapi : BAPI_USER_UNLOCK.

Best regards,

Prashant

2 REPLIES 2

former_member223537
Active Contributor
0 Kudos

Hi,

Provide a checkbox on ALV to select records for locking. Provide LOCK button. When this button is clicked call BAPI : BAPI_USER_LOCK. This will lock the user from logging to sap.

To unlock use bapi : BAPI_USER_UNLOCK.

Best regards,

Prashant

0 Kudos

hi prashant

thank you very much

regards

pradeep