您的位置:首页 > 其它

SPAM状态重置以及查询用户在系统中做的动作

2008-08-30 11:48 447 查看
今天接到同事请求,需要打SAP_APPL组件的补丁,打的过程中异常不顺利,一直报错,无奈停掉了。后来找到同事发过来的NOTES描述,发现只要打下NOTES补丁就可以。我靠!怎么不早说呢,补丁都已经打到一半了。

 

于是下了那个NOTES补丁,往系统中打的时候,发现Saint/Spam被锁住了。提示:“OCS locked by user XXX with transaction SPAM”,并且在SPAM里面不能Reset那个安装任务,无奈,这下SAINT和SPAM都不能用了。

 

记得rocky在他的一片博文中说过如何升级BI Addon(详见这里),里面详细说道如果碰到升级补丁、插件包发生错误后进退两难如何解决,用他的办法,在SE37中运行SPAM_RESET_STATUS,IV_FORCE设置为X,运行后,发现还是提示“OCS locked by user XXX with transaction SAINT”,于是从这个提示入手,Google了一下,终于找到解决方法:

原文如下:
In Se37,Use the function module OCS_RESET_QUEUE -> Single Test
with the parameters
IV_TOOL=SAINT, IV_FORCE=X

用这种方法,终于Reset了所有的OCS队列,只不过是把IV_TOOL=SAINT改成IV_TOOL=SPAM。

 

还有人提出另外一种解决方案,如下所示,我没有试过,不知道是否可以,大意就是删掉PAT01、PAT03、PAT10三个表里的和那个Patch相关的数据即可:

We were facing a problem in(Test Server) due to wrongly defined
queu. Basis Patches 32 and 33 were supposed to be applied
separately, but by mistake we defined a queue for Basis 32 to
Basis 41 and HR26 to HR40. Due to this que was stuck in
DDIC_IMPORT phase.

We solved this problem by deleting entries with status ='?' in
PAT01, PAT03 and PAT10 tables.
This way we were able to delete the particular queue and spam was
reset. This can be a last option to solve this problem..

...

Link URL: http://rocktech.yculblog.com/post.1845305.html

 

 

另外有许多朋友问我,在R/3里如何查看一个用户最近这几天的动作?
可以如下尝试
1. T-cd:sm19  set a audit log for user
2.T-cd:sm20   analyze the activity of user.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐