Topic: 关于如何初始化SAP*的口令

ERP俱乐部

第 1 页 总共 2 页 [共有 19 条记录] 1 2 ?


Posted by Donald He on 2005-03-22 04:16 下午

大家好,

这是一个超级常见的问题:

我的000 client SAP*的口令不记得了,其它的帐号又没有权限。我该怎么办?

这个问题被问了N次了。下面就针对不同的数据库,分别讲解之,做为当版主的见面礼。


Oracle 8.1.7 sap 46C

用<SID>adm登录
svrmgrl
connect internal
/*本句用来,查询一下,是否有此记录。正常情况下,显示: 1 row(s) selected. */
select * from sapr3.usr02 where bname='SAP*' and mandt='000';
/*删除此记录。防止拼错,最好直接从上一句copy*/
delete from sapr3.usr02 where bname='SAP*' and mandt='000';
commit;


Oracle 9.2.0  SAP 4.70

<sid>是实例名,如PRD,C11等

sqlplus /nolog
connect / as sysdba
*本句用来,查询一下,是否有此记录。正常情况下,显示: 1 row(s) selected. */
select * from sap<sid>.usr02 where bname='SAP*' and mandt='000';
/*删除此记录。防止拼错,最好直接从上一句copy*/
delete from sap<sid>.usr02 where bname='SAP*' and mandt='000';
commit;


DB2

<SID> 是数据库名
<sid> 对于4.6C 为 r3
          对于4.70 为   <sid>数据库名(小写)

db2 => connect to <SID>
db2 => select * from sap<sid>.usr02 where bname='SAP*' and mandt='000'
1 record(s) selected.

db2 => delete from sap<sid>.usr02 where bname='SAP*' and mandt='000'
DB20000I  The SQL command completed successfully.
db2 => commit
DB20000I  The SQL command completed successfully.

MS SQL 2000

打开MS SQL Enterprise Manager, 从菜单[工具]中,选查询分析器

<sid> 46C 是r3 或是 空(没有的),大伙可以自己测试一下。
    470是系统名

select * from <sid>.usr02 where BNAME='SAP*' and MANDT='000';
delete from <sid>.usr02 where BNAME='SAP*' and MANDT='000';
commit;


重新用sap* 口令pass登录就OK了。


Posted by york on 2005-03-29 06:04 下午

好呵,顶


Posted by torres on 2005-05-18 02:44 下午
谢谢

Posted by yinghc007 on 2005-06-03 01:22 上午
xiexie

Posted by Bei Cat on 2005-06-07 05:09 下午
谢谢!

Posted by crownlager on 2006-04-02 04:00 下午
学习学习,谢谢了。

Posted by 24hours on 2006-05-02 12:07 上午
thanks louzhu

Posted by looneyer on 2006-07-20 04:33 下午
谢谢,顶了

Posted by 欧杨疯枫 on 2006-07-21 11:05 下午
提问:如果我把一个参数的值set成1,即使在os level做了删除,但还是登陆不了系统with sap*/pass,是哪个参数?

:)

Posted by WfirefyGuo on 2006-10-23 06:09 下午
Thank you !!!

Posted by jojojao on 2006-10-23 08:44 下午
谢谢

Posted by zxc on 2006-10-26 05:22 下午
不错

Posted by anhwei on 2007-09-21 01:31 下午
我的IDES ECC6.0 SR2 FOR MS SQL2000, 于是Client800中,照此做了,咋还是不行呢

Posted by microul on 2007-09-21 07:35 下午
不错,,学习

Posted by allenwei815 on 2007-09-24 01:24 下午
up