Query to find all responsibilities of a user

— Query to find all responsibilities of a user
SELECT fu.user_name “User Name”,
frt.responsibility_name “Responsibility Name”,
fu.start_date “User Access Start Date”,
fu.end_date “User Access End Date”,
furg.start_date “Resp Access Start Date”,
furg.end_date “Resp Access End Date”
FROM fnd_user_resp_groups_direct furg,
applsys.fnd_user fu,
applsys.fnd_responsibility_tl frt,
applsys.fnd_responsibility fr,
applsys.fnd_application_tl fat,
applsys.fnd_application fa
WHERE furg.user_id = fu.user_id
AND furg.responsibility_id = frt.responsibility_id
AND fr.responsibility_id = frt.responsibility_id
AND fa.application_id = fat.application_id
AND fr.application_id = fat.application_id
AND frt.language = USERENV(‘LANG’)
–AND UPPER(fu.user_name) = UPPER(‘AMOHSIN’) — <change it>
— AND (furg.end_date IS NULL OR furg.end_date >= TRUNC(SYSDATE))

Thanks Yogesh






















Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s