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: 

Lock user locally in CUA

Former Member
0 Kudos

Hi,

I want to lock user locally in CUA system .

If I use bapi BAPI_LOCK_USER it locks the user globally .

I need one function module or BAPI which locks the users locally in the client not considering the CUA .

Which FM/ BAPi can be used ? Pls advice .

Thanks,

Suman

4 REPLIES 4

Former Member
0 Kudos

Perhaps restricting the account validity is an option for you which will achieve the same?

I don't know of any released functions for a lock, but SUSR_USER_LOCK (or very similar name - take a look through SU01) might work and I suspect that it is stable.

Cheers,

Julius

0 Kudos

Hi,

I used FM SUSR_BAPI_USER_LOCK with LOCK_LOCAL = 'X' and LOCK_GLOBAL=' ' . The new problem I am facing is it locally locks the user in CUA source system but unlocks the user in all target systems .

Please advice how to solve this .

Thanks,

Suman

0 Kudos

What are the input options for the parameter "LOCK_GLOBAL"?

(ps: I am not logged on)

Cheers,

Julius

Former Member
0 Kudos

Check your settings in SCUM->Locks.