SET SERVEROUTPUT ON
spool /tmp/XXCDS_HRRPTXXX_REMOVE_RG.TXT
WHENEVER SQLERROR EXIT FAILURE ROLLBACK
BEGIN
apps.fnd_program.remove_from_group(program_short_name => 'XXCDS_HREXT002_EMP_RECT_CP', -- Program Short Name
program_application => 'XXCDS', -- Application Short Name
request_group => 'XXCDS Audit Request Group', -- Request Group Name
group_application => 'XXCDS'); -- Application Short Name
dbms_output.put_line('Concurrent Program has been removed from request group Successfully ');
COMMIT;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
dbms_output.put_line ('Concurrent Program has already been removed from the Request group');
WHEN OTHERS
THEN
dbms_output.put_line ('Others Exception Removing Conc Program. ERROR:' || SQLERRM);
END;
/
SHOW ERROR
SPOOL OFF
Friday, July 31, 2015
How to add the Request Set to a Request Group
SET SERVEROUTPUT ON
spool /tmp/XXCDS_HRXXXXX_ADD_RG.TXT
WHENEVER SQLERROR EXIT FAILURE ROLLBACK
BEGIN
fnd_set.add_set_to_group (request_set => 'FNDRSSUB1817', -- Request Set Code
set_application => 'XXCDS', -- Application Code Short Name
request_group => 'XXCDS Audit Request Group', -- Request Group Name
group_application => 'XXCDS'); -- Application Code Short Name
dbms_output.put_line('Request Set has been attached to Request Group Successfully ');
COMMIT;
EXCEPTION
WHEN DUP_VAL_ON_INDEX
THEN
dbms_output.put_line ('Request Set is already available in the Request group');
WHEN OTHERS
THEN
dbms_output.put_line ('Others Exception adding Request Set. ERROR:' || SQLERRM);
END;
/
SHOW ERROR
SPOOL OFF
Subscribe to:
Posts (Atom)