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

How to lock users programmatically

Former Member
0 Likes
637

Hi All,

We have a requirement in which we want to lock all normal (dialog) users programmatically. Can anybody tell me how to achieve this requirement?

Thanks

Siddarth

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
526

Hi,

Maybe have a look at the BAPI's for the USER business object, such as BAPI_USER_GETLIST and BAPI_USER_CHANGE.  I'm just guessing from memory - there may be other useful BAPI's in this area too.

Gareth.

p.s. I think there is a BAPI_USER_LOCK too which may be very useful.  Have a search in transaction BAPI...

Message was edited by: Gareth Ryan

2 REPLIES 2
Read only

Former Member
0 Likes
527

Hi,

Maybe have a look at the BAPI's for the USER business object, such as BAPI_USER_GETLIST and BAPI_USER_CHANGE.  I'm just guessing from memory - there may be other useful BAPI's in this area too.

Gareth.

p.s. I think there is a BAPI_USER_LOCK too which may be very useful.  Have a search in transaction BAPI...

Message was edited by: Gareth Ryan

Read only

0 Likes
526

Thanks Gareth. BAPI_USER_LOCK is the rightone to achieve my purpose.