EBS查找报表或菜单所属职责

牧云@^-^@ 提交于 2019-12-26 12:16:17
--报表所属职责
SELECT FCPT.USER_CONCURRENT_PROGRAM_NAME,
        FRG.REQUEST_GROUP_NAME,
        FR.RESPONSIBILITY_KEY
FROM FND_CONCURRENT_PROGRAMS_TL FCPT,
        FND_REQUEST_GROUP_UNITS     FRGU,
        FND_REQUEST_GROUPS          FRG,
        FND_RESPONSIBILITY          FR
WHERE FCPT.CONCURRENT_PROGRAM_ID = FRGU.REQUEST_UNIT_ID
    AND FRGU.REQUEST_GROUP_ID = FRG.REQUEST_GROUP_ID
    AND FRG.REQUEST_GROUP_ID = FR.REQUEST_GROUP_ID
    AND lower(FCPT.USER_CONCURRENT_PROGRAM_NAME) LIKE lower('&program_name');
 
--菜单所属职责
select fffv.function_name, fm.menu_name,fr.responsibility_key
from fnd_form_functions_vl fffv,
        fnd_menu_entries_vl    fmev,
        fnd_menus              fm,
        fnd_responsibility     fr
where fffv.function_id = fmev.function_id
    and fmev.menu_id = fm.menu_id
    and fmev.menu_id = fr.menu_id(+)
    and fffv.function_name = '&function_name';
--报表所属职责
SELECT FCPT.USER_CONCURRENT_PROGRAM_NAME,
        FRG.REQUEST_GROUP_NAME,
        FR.RESPONSIBILITY_KEY
FROM FND_CONCURRENT_PROGRAMS_TL FCPT,
        FND_REQUEST_GROUP_UNITS     FRGU,
        FND_REQUEST_GROUPS          FRG,
        FND_RESPONSIBILITY          FR
WHERE FCPT.CONCURRENT_PROGRAM_ID = FRGU.REQUEST_UNIT_ID
    AND FRGU.REQUEST_GROUP_ID = FRG.REQUEST_GROUP_ID
    AND FRG.REQUEST_GROUP_ID = FR.REQUEST_GROUP_ID
    AND lower(FCPT.USER_CONCURRENT_PROGRAM_NAME) LIKE lower('&program_name');
 
--菜单所属职责
select fffv.function_name, fm.menu_name,fr.responsibility_key
from fnd_form_functions_vl fffv,
        fnd_menu_entries_vl    fmev,
        fnd_menus              fm,
        fnd_responsibility     fr
where fffv.function_id = fmev.function_id
    and fmev.menu_id = fm.menu_id
    and fmev.menu_id = fr.menu_id(+)
    and fffv.function_name = '&function_name';
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!