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

Program for locking a Sap-Userid

Former Member
0 Likes
273

Hi,

I want some help in developing a z program via which i can lock an userid if its not in use for more than 7 days.

Edited by: Rob Burbank on Jun 22, 2009 2:33 PM

1 REPLY 1
Read only

naimesh_patel
Active Contributor
0 Likes
233

You can use the BAPI FM BAPI_USER_LOCK to lock the user. Use the fields TRDAT & LTIME of table USR02 for the Last Login Date & Login Time.

Regards,

Naimesh Patel