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: 

How to change the user status to locked using BAPI_USER_CHANGE?

Former Member
0 Kudos

Hi All,

I had a requirement where in based on the data in CUA system, we need to reflect the same data in Non-CUA system for a particular user.

If the user is locked in the CUA system, then the same user in the Non-CUA system should be locked.

Using the BAPI 'BAPI_USER_CHANGE' i'm not not able to meet the requirement. Is there any parameters do I need to pass to this BAPI call to get the user locked status?

Please help me out.

Thanks,

Anil.

3 REPLIES 3

Former Member
0 Kudos

Hi,

I think you should use BAPI_USER_GET_DETAIL to get the detail of the user.

Regards,

Subramanian

Former Member
0 Kudos

Moved to Security Forum...

Former Member
0 Kudos

Why don't you just attach the non-CUA to the CUA?

If that is not possible, then the FM already mentioned, together with BAPI_USER_LOCK is what you are looking for.

Cheers,

Julius

PS: All your questions are unresolved. Please follow-up on your questions as there is a limit (of 10 open question).