Some time we(Basis administrator) may need to unlock or lock DDIC and SAP* at database level.
Please use the following query.
Please use the following query.
- Login to the corresponding DB with username and password or windows authentication if its windows system.
- Start a new query or use sql command prompt
- Update <SID> .USR02 set UFLAG ='00' where MANDT = '000' and BNAME = 'DDIC';
- To display all usernames in the client use the below query
- SELECT * FROM <SID>.USR02 where MANDT = '000';
Above procedure is applicable for SAP* too.
Hi,
ReplyDeleteSap* one is incorrect.
Sap* is a kernel user and the parameter in default profile needs to be set to 0 and the user needs to be deleted if it exists in the usr02 tables for the respective client
Thanks,
Jayesh
Hi Jayesh,
ReplyDeleteAbove procedure is applicable for unlocking a username at DB level not to login
there is no need to delete usernames sap* until you done know the password
Cheers,