2009 May 06 7:42 AM
Hello all,
Is there any BAPI to update the user lock status. USR02-UFLAG. The bapi BAPI_USER_CHANGE has options to update various fields but not the user flag.
Any pointer to this?
Regards,
Vikram.M
Hello all,
Is there any BAPI to update the user lock status. USR02-UFLAG. The bapi BAPI_USER_CHANGE has options to update various fields but not the user flag.
Any pointer to this?
Regards,
Vikram.M
2009 May 06 7:46 AM
Welcome to SDN!!
CALL FUNCTION 'BAPI_USER_LOCK'
EXPORTING
USERNAME = USERID
TABLES
RETURN = TABLE_NAME.
BAPI_USER_LOCK -> User will be locked Globally in the Server,
SUSR_BAPI_USER_LOCK->Have an option to lock it either Globally or Locally
2009 May 06 10:31 AM
BAPI_USER_LOCK WORKS GOOD. But then I need to set the lock to a particular one (32). Use of the BAPI set the suer lock status to 64 and we do not have the option of chooseing the same.
Any inputs?
2009 May 06 12:16 PM
Hi Vikram,
Just go to BAPI_USER_LOCK
inside the FM u shall find another FM called SUSR_BAPI_USER_LOCK
double click on that FM and within the FM u shall find another FM BALW_BAPIRETURN_GET2
WITH PARAMETER number u need to change the source code through modification by clicking on the icon besides the change icon
change the Number Parameter to 64 .
try out.. let me know....
all the best...
Thanks
Ravi Aswani
2009 May 06 7:48 AM
2009 May 06 10:34 AM
Hi,
Check these FM's
SUSR_USER_LOCK_CHECKS
BAPI_USER_LOCK
Regards,
Jyothi CH.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |