二维码

[权限] 删除用户的开发权限

xacwc发表于 2015-04-16 14:51xacwc 最后回复于 2015-04-16 14:51 [复制链接] 6059 0

开发小技巧:破解了开发权限,如何删除?
原来是存在DEVACCESS这张表,通过一下小程序就可以删除掉。

  1. REPORT  ZDEVACCESS.
  2. * ===================================================================
  3. *  TITLE: Delete Record from Table DEVACCESS
  4. *  DESCRIPTION: This program deletes the SSCR Developer Keys from the
  5. *  table DEVACCESS. There is no maintenance Dialog available via SM30
  6. *  and thus this program is necessary.
  7. * ===================================================================
  8. TABLES: DEVACCESS.

  9. PARAMETERS: P_USER LIKE DEVACCESS-UNAME.

  10. DELETE FROM DEVACCESS WHERE UNAME EQ P_USER.
  11. IF SY-SUBRC EQ 0.
  12.   WRITE: /' User and key for ', P_USER, 'deleted from table DEVACCESS.'.
  13. ELSE.
  14.   WRITE: /'Error deleting user and key for ', P_USER, ' return code ', SY-SUBRC.
  15. ENDIF.
复制代码

测试结果:
DEVACCESS_01.jpg
DEVACCESS_02.jpg
回复

使用道具 举报

快速回帖

本版积分规则
您需要登录后才可以回帖 登录 | 注册有礼

快速回复 返回顶部 返回列表