SAP如何查询哪个用户锁定了数据

权限对象S_ENQUE

事务代码:SM12
调用的程序:RSENQRR2
如果希望业务部门的人只能查询,不能删除其他用户的锁标识,可以SE93拷贝一个SM12为ZSM12,然后PFCG在角色中分配改事务代码、添加权限对象S_ENQUE,给字段S_ENQ_ACT分配值DPFC, DPFU。
权限对象S_ENQUE的S_ENQ_ACT字段的值参考:
S_ENQUE
DPFU: Display Foreign User – displays lock entries of foreign users in the same client
DLOU: Delete Own User – deletes the user’s own lock entries
DLFU: Delete Foreign User – deletes lock entries of foreign users in the same client
DPFC: Display Foreign Client – displays lock entries of foreign users in foreign clients
ALL: All privileges including
deletion of lock entries of foreign users in foreign clients
activation/deactivation of enqueue-logging
activation/deactivation of complete functionality
emergency operation
deactivation of warning text on first deletion

本文作者: GavinDong

版权属于: GavinDong博客

文章链接: https://gavindong.com/385.html

如果使用过程中遇到问题,可 **点击此处** 交流沟通。

版权所有,转载时必须以链接形式注明作者和原始出处及本声明。

(2)

相关文章

发表回复

登录后才能评论