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

--报表所属职责

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';

你可能感兴趣的:(ebs)