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: 

Users get administrator locked when updating license tab in SU01

0 Kudos

Hello All,

We are using a custom program which updates the license tab of the users in SU01 through BDC based on their classification.

But when we run the program some of the users are getting a status updated as "Locked by administrator''. We have checked the program but no code is written to lock the users. Is there any relationship between updating the license tab and the user getting locked by administrator status.

Your replies will be greatly appreciated.

Thankyou,

Ranjan

6 REPLIES 6

Former Member
0 Kudos

look for this fault only in your programm

0 Kudos

Hello,

The program does a simple BDC in which the license tab field(US930-USERTYP) only is updated no other change is done .

Does the system automatically lock the user if the validity date is completed or he has not logged onto the system for a long time when d the license update is done.

Thankyou,

Ranjan

0 Kudos

No, SAP doesn't update any of these fields when running license measurement.Secuirty administrators usually perform the user inactivity before performing license measurement.

What you need to concentrate here is on change documents. To see what time the account locked / update. Do they match. if so then something wrong with program /or the methods you are using to update it.

Regards,

Gowrinadh

0 Kudos

Yes, when you set the validity date into the past and the user may have been active since, the system interprets your intention to be locking the user, which it then does and sets the valid-to date = sy-datum.

In higher releases it will prompt you whether you want to lock the user. On CUA it will globally lock the user!

You can either upgrade or accept it.

Cheers,

Julius

Former Member
0 Kudos

Hello,

License information determines how active users exists in the system and SAP can charge for each of those dialog users after doing system measurement in USMM ,SLAW transactions.

Check SUIM,whether your administrator has locked any users who have left the company etc. Lcoked means,inactive.

It is advisable to keep expiry dates to users rather than locking,once the suer leaves the company.

Regards,

chaitanya

arpan_paik
Active Contributor
0 Kudos

But when we run the program some of the users are getting a status updated as "Locked by administrator''

That means for rest of the users your program is running fine.... Now check why these some users?? What actually they do have in common. I do agree with Gowrinath and you should concentrate in change history for these users to see why, when admin lock get set and by whom ?

Arpan