SAP权限查询(事务码)

SELECT distinct B.AGR_NAME,B.UNAME,right(B.UNAME,6) as xuhao,A.TCODE

 
FROM AGR_TCODES AS A INNER JOIN AGR_USERS AS B
 ON A.AGR_NAME = B.AGR_NAME INNER JOIN V_USERNAME AS C
 ON B.UNAME = C.BNAME


where B.UNAME like '%***%'
ORDER BY B.UNAME,A.TCODE

posted on 2010-12-23 14:13  愚工养码  阅读(804)  评论(0编辑  收藏  举报

导航