2586: -- break out if it doesn't exist
2587: BEGIN
2588: SELECT 'EXIST'
2589: INTO exist_flag 2590: FROM fnd_tables a 2591: WHERE a.table_name = upper(tabname)
2592: AND a.application_id = appl_id ;
2593:
2594: EXCEPTION
Line 2613: || ' does not exist in fnd_tables/dba_tables for the
2609: EXCEPTION
2610: WHEN no_data_found THEN
2611: raise_application_error(-20000, 'Table '
2612: || tabname 2613: || ' does not exist in fnd_tables/dba_tables for the 2614: given application ');
2615: END;
2616: END;
2617: -- Now insert