alter session set current_schema=apps;
--Request Group and Responsibility of concurrent program
SELECT
rg.application_id "Application ID",
rg.request_group_id,
cp.concurrent_program_id,
cpt.user_concurrent_program_name "Concurrent Program Name",
DECODE(rgu.request_unit_type,
'P', 'Program',
'S', 'Set',
rgu.request_unit_type) "Unit Type",
cp.concurrent_program_name "Concurrent Program Short Name",
rg.request_group_name "Request Group Name",
frt.responsibility_name,
fat.application_name "Application Name",
fa.application_short_name "Application Short Name",
fa.basepath "Basepath"
FROM apps.fnd_request_groups rg,
apps.fnd_request_group_units rgu,
apps.fnd_concurrent_programs cp,
apps.fnd_concurrent_programs_tl cpt,
apps.fnd_application fa,
apps.fnd_application_tl fat,
apps.fnd_responsibility fr,
apps.fnd_responsibility_tl frt
WHERE rg.request_group_id = rgu.request_group_id
AND rgu.request_unit_id = cp.concurrent_program_id
AND cp.concurrent_program_id = cpt.concurrent_program_id
AND rg.application_id = fat.application_id
AND fa.application_id = fat.application_id
AND cpt.language = USERENV('LANG')
AND fat.language = USERENV('LANG')
AND fr.responsibility_id = frt.responsibility_id
AND rg.request_group_id = fr.request_group_id
AND rg.application_id = fr.application_id
AND cpt.user_concurrent_program_name = '&Program_Name';
Comments
Post a Comment