ACTIVE USERS EMPLOYEE AND THEIR RESPONSIBILITIES IN ORACLE APPS
SELECT fu.user_name user_name
,fu.description user_description
,fu.email_address user_email
,ppf.full_name employee_name
,hou.name business_group
,fr.responsibility_name resp_name
FROM apps.fnd_user fu
,apps.per_all_people_f ppf
,apps.hr_all_organization_units hou
,apps.fnd_user_resp_groups_all fur
,apps.fnd_responsibility_tl fr
WHERE ppf.person_id = fu.employee_id
AND hou.organization_id = ppf.business_group_id
AND fu.user_id = fur.user_id
AND NVL (fur.end_date, SYSDATE + 1) > SYSDATE
AND fur.responsibility_id = fr.responsibility_id
--AND fr.responsibility_name LIKE 'Shipping User'
AND fr.LANGUAGE = 'US'
ORDER BY fu.user_name
,fr.responsibility_name
SELECT fu.user_name user_name
,fu.description user_description
,fu.email_address user_email
,ppf.full_name employee_name
,hou.name business_group
,fr.responsibility_name resp_name
FROM apps.fnd_user fu
,apps.per_all_people_f ppf
,apps.hr_all_organization_units hou
,apps.fnd_user_resp_groups_all fur
,apps.fnd_responsibility_tl fr
WHERE ppf.person_id = fu.employee_id
AND hou.organization_id = ppf.business_group_id
AND fu.user_id = fur.user_id
AND NVL (fur.end_date, SYSDATE + 1) > SYSDATE
AND fur.responsibility_id = fr.responsibility_id
--AND fr.responsibility_name LIKE 'Shipping User'
AND fr.LANGUAGE = 'US'
ORDER BY fu.user_name
,fr.responsibility_name