Oracle EBS 基础概念:请求组

请求组:分配给职责,控制用户对于报表的访问权限。

系统路径: SYSADMIN -> Security -> Responsibility -> Request
Oracle EBS 基础概念:请求组_第1张图片
Application:包括了此应用产品中的所有请求。
Program: 添加请求

SQL:查看有某个请求权限的职责(下一步即可查看用户是否具有某个请求的权限)

select R.RESPONSIBILITY_NAME,C.REQUEST_GROUP_NAME,C.request_group_application
from FND_RESPONSIBILITY_VL R,
     (--以下请求群组包含请求“Cost Type Comparison Report”
      select RG.REQUEST_GROUP_NAME,RG.REQUEST_GROUP_ID,A.APPLICATION_NAME request_group_application,A.APPLICATION_ID
        from FND_REQUEST_GROUPS RG,
             FND_REQUEST_GROUP_UNITS RGU,
             FND_CONCURRENT_PROGRAMS_VL  CP,
             FND_APPLICATION_VL A
      where RG.REQUEST_GROUP_ID = RGU.REQUEST_GROUP_ID
        and RGU.REQUEST_UNIT_TYPE = 'P'  --program
        and RGU.REQUEST_UNIT_ID = CP.CONCURRENT_PROGRAM_ID
        and CP.USER_CONCURRENT_PROGRAM_NAME = “Cost Type Comparison Report”
        and RG.application_id = A.application_id
      Union
      --以下请求群组包含“Cost Type Comparison Report”所属的application,也会包含该请求
      select RG.REQUEST_GROUP_NAME,RG.REQUEST_GROUP_ID,A.APPLICATION_NAME request_group_application,A.APPLICATION_ID
        from FND_REQUEST_GROUPS RG,
             FND_REQUEST_GROUP_UNITS RGU,
             FND_APPLICATION_VL A
       where RG.REQUEST_GROUP_ID = RGU.REQUEST_GROUP_ID
         and RGU.Request_Unit_Type = 'A'  --application
         and RGU.REQUEST_UNIT_ID in (select APPLICATION_ID from FND_CONCURRENT_PROGRAMS_VL where USER_CONCURRENT_PROGRAM_NAME= “Cost Type Comparison Report”)  
         and RG.application_id = A.application_id) C
where R.REQUEST_GROUP_ID = C.request_group_id
  and R.GROUP_APPLICATION_ID = C.APPLICATION_ID
order by R.RESPONSIBILITY_NAME,C.REQUEST_GROUP_NAME,C.request_group_application

你可能感兴趣的:(EBS,基础概念)