Header Ads Widget

Responsive Advertisement

procedure on how to reset user SAP* user On Database Level

**************************************************************************


To reset password of user SAP* in ABAP stack on client 000, use this strategy:

We need to delete user ID SAP* in Client '000' at SQL level

For MS-SQL, you will use the SQL Management Studio and run a Query. Use the following SQL:

Delete from [Schema].USR02 where MANDT='000' and BNAME='SAP*'
commit;

For DB2: logon as db2
db2 "select bname ,mandt from .usr02 where bname='SAP*'";
db2 "update [schema].usr02 set bname="SAPSTAR" where bname='SAP*' and mandt='###'";


For Oracle:
sqlplus "/ as sysdba"
To find the schema owner:
select OWNER from DBA_TABLES where TABLE_NAME='T000';


Then instead of deleting the SAP* user, you may rename the user.
update [SCHEMA].USR02 set BNAME='SAP*' where BNAME='SAP*' and MANDT=;
commit;

Delete from [Schema].USR02 where MANDT='000' and BNAME='SAP*';
commit;

is one of these entries:

if system was originally installed with SAP Basis 4.x or below: SAPR3
if originally installed with SAP Basis 6.x (That is ERP 5): SAP[SID]
If originally installed with SAP Basis 7.x (That is ERP 6): SAPSR3


You then need to change the instance parameter:
'login/no_automatic_user_sapstar = 0' (Zero) and restart the system. You can then logon to client '000' with User SAP* and password 'PASS'.
IMPORTANT: You must create your user ID in client '000' and Recreate SAP* then change the instance parameter 'login/no_automatic_user_sapstar = 1' and restart the system.

If you want to change SAP* in clients other than 000, simply use the same procedure and adapt client number accordingly.

Post a Comment

0 Comments

How to handle HANA Alert 51: 'Size of diagnosis files