List of users who were granted particular function in oracle apps R12 db?
Hi
I need to list all users who were granted particular function (suppliers) from oracle apps R12 database. User -->Resp -->Menu --> Submenu/function. I have two queries like the following
--Below sql query give all users those
having Purchasing and Payables application access.
SELECT UNIQUE u.user_id, SUBSTR (u.user_name, 1, 30) user_name,
SUBSTR (r.responsibility_name, 1, 60) responsiblity,
SUBSTR (a.application_name, 1, 50) application
FROM fnd_user u,
fnd_user_resp_groups g,
fnd_application_tl a,
fnd_responsibility_tl r
WHERE g.user_id(+) = u.user_id
AND g.responsibility_application_id = a.application_id
AND a.application_id = r.application_id
AND g.responsibility_id = r.responsibility_id
AND a.application_name in ('Puchasing','Payables')
ORDER BY SUBSTR (user_name, 1, 30),
SUBSTR (a.application_name, 1, 50),
SUBSTR (r.responsibility_name, 1, 60);
--Below sql query gives function name.
SELECT function_id, user_function_name, creation_date, description
FROM applsys.fnd_form_functions_tl where function_id=1348;
What other tables to join to get all users having this function (suppliers) granted?
Regards