How to find the relation between role and user, t-code, profile
来源:互联网 发布:淘宝网针织杉时腰 编辑:程序博客网 时间:2024/05/22 17:38
1. Transparent tables
AGR_1250: Authorization data for the activity group
AGR_1251: Authorization data for the activity group
AGR_TCODES: Assignment of roles to Tcodes
UST04 : User masters
USOBX : Check table for table USOBT
2. The fields of these tables
AGR_1250: agr_name -> role name, object -> Auth. object in user master maintenance
Auth -> Authorization name in user master maintenance
AGR_1251: agr_name -> role name, object -> Auth. object in user master maintenance
field -> field name of an authorization
auth -> Authorization name in user master maintenance
AGR_TCODES: agr_name -> Role name, TCODE -> Extended program name
UST04: bname -> User name in user master record,
profile -> Profile name
3. How to list all transactions in one role?
SELECT AGR_NAME
FROM AGR_TCODES
WHERE TCODE='ME22'
4. How to find a transaction code is assign to which user?
SELECT bname
FROM ust04
WHERE profile IN
( SELECT DISTINCT substr(p.auth,1, 10)
FROM agr_1250 p, agr_tcodes t
WHERE p.agr_name = t.agr_name
AND t.tcode = 'ME22')
SELECT bname
FROM ust04
WHERE profile IN(SELECT p.profile
FROM agr_PROF p, agr_tcodes t
WHERE p.agr_name = t.agr_name
AND t.tcode = 'ME22')
5. How to list a role is assign to which user?
SELECT bname
FROM ust04
WHERE profile IN
( SELECT DISTINCT substr(p.auth,1, 10)
FROM agr_1250
WHERE p.agr_name = 'Z:DGSSL')
- How to find the relation between role and user, t-code, profile
- How to know the corresponding relation between T-code and Program
- How to capture the one-to-one dependency between two attributes in one relation?
- Understand to relation between zoomImage and actualImage
- Relation between the main stack and agent
- How to find code and file
- ABAP code to find all the User Exits and BADIs for any transaction
- The Relation Between Gradient Descent and Cost Funtion(To be continued)
- Enhancement--How to Find a Screen Exit for T-code
- Enhancement--How to Find a Screen Exit for T-code
- How to Find a Screen Exit for T-code
- 【Enhancement】--How to Find a Screen Exit for T-code
- How to choose between the relax and high income.
- How to find the source code of the special command?
- The relation between event and delegate in visual c#
- how to find user exit
- the "true story" about using data mining to identify a relation between sales of beer and diapers
- How to manage Oracle Database User profile
- 如何实现vb6和.net的联合调试
- 漫谈Ajax在ASP.Net中的使用
- Program received signal SIGPIPE, Broken pipe
- How to Analyzing Authorization Checks for SAP User
- 动态调用WebService(C#)
- How to find the relation between role and user, t-code, profile
- Step by Step move datafile in Oracle
- 老的网易相册爬虫
- 如何在VB6中使用.NET开发的UserControl
- 【转帖】程序员过年—想想自己到底想干啥
- Password is deactivated in SAP R/3 4.6C
- 手机成语大词典java 手机词典
- ADO.NET常用操作
- Alternative RNA Splicing