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

user blocked

Former Member
0 Likes
790

Hello,

How can be automatically blocked users donu2019t use system during last 60 days?

Dear Gulsah,

First of all you nead a report which is list your logon last logon date. Table USR02 give you this information (USR02-TRDAT).Calculate Sap user logon days.Find user who isn't logon last 60 and call function "BAPI_USER_LOCK". BAPI_USER_LOCK lock your SAP user. Create daily job for this report.

Releted Links;

[Communication User Last Login |;

[Lock and Unlock User IDs |http://wiki.sdn.sap.com/wiki/display/ABAP/LockandUnlockUserIDs]

Bulent

2 REPLIES 2
Read only

blent_evli
Explorer
0 Likes
724

Dear Gulsah,

First of all you nead a report which is list your logon last logon date. Table USR02 give you this information (USR02-TRDAT).Calculate Sap user logon days.Find user who isn't logon last 60 and call function "BAPI_USER_LOCK". BAPI_USER_LOCK lock your SAP user. Create daily job for this report.

Releted Links;

[Communication User Last Login |;

[Lock and Unlock User IDs |http://wiki.sdn.sap.com/wiki/display/ABAP/LockandUnlockUserIDs]

Bulent

Read only

matt
Active Contributor
0 Likes
724

Moderator message: still not related to ABAP development