[SAP ECC IDES] ECC IDES 系统 DDIC 以及 SAP* 账户被锁 处理方法

本文提供了一种找回丢失的SAP密码的方法,包括通过数据库操作解锁和重置SAP*及DDIC用户的密码。文章详细介绍了在Oracle和Informix数据库中进行必要步骤的过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Here is how to find lost SAP* and DDIC passwords:

1.) Logon as DB admin (on oracle: ora, for informix: informix)
2.) Run the SQL program of your database (on oracle: sqlplus, for informix: dbaccess)
3.) IMPORTANT: Make a current snapshot of the table. Do an export on table USR02 (Oracle: use the command exp, Informix: use dbexport) ... Alternative: Create a table copy of USR02 This will be used if anything goes wrong.
4.) Now do a SELECT command on table USR02. The idea is to check if SAP* is present in the client you want. (Command: SELECT * FROM USR02 WHERE MANDT='XXX' and BNAME='SAP*' ... MANDT here is the client) ... this is an optional step ...
5.) The next step is to make a copy of the SAP* table record (to be used on step #9). For Oracle, create a temporary table with USR02 structure and insert the value SAP* from the client that you want. For Informix, you may just copy the exported USR02 data and edit it using vi to delete other records other than SAP* .. or use the same steps as in Oracle.
6.) Delete the record SAP* ON THE REQUIRED CLIENT ONLY on table USR02. (Command: delete from USR02 where MANDT='XXX' and BNAME='SAP*').
Commit the changes, if needed.
7.) Now logon to SAP. Use the ID SAP* and password PASS (or 06071992). You can now edit the password for the DDIC user ID. You have to create a user ID or give authorization to DDIC (if needed) to access transaction SU01.



Code


 

For Example , in my SAP IDES System , I can do like below Step:

User DDIC can be unlocked using any user who has administration privelages(example: SAP*) using SU01.
Infact as benjamin said you cannot recover the encrypted password from SQL database, the only alternative is unlock and reset the password.
there is one situation where in you have to use a SQL query, that is when u create a new client and SAP* User get locked , since you have no other user to unlock it(assuming you are logging in for the first time and got SAP* locked)
SQL Query is as follows :
delete from er1.USR02 where BNAME='DDIC' and MANDT='000'

This is possible because the SAP* user is hardcored to kernel , when you delete this user from database, SAP automatically gets this user from the kernel.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值