Application Development and Automation 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: 
Read only

to lock users in ALV list using BAPI

Former Member
0 Likes
727

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
Read only

Former Member
0 Likes
689

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

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

2 REPLIES 2
Read only

Former Member
0 Likes
690

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

Read only

0 Likes
687

hi prashant

thank you very much

regards

pradeep