Author Archives: Shailender Thallam

SQL Query to find BIP Report Jobs History

/******************************************************* *PURPOSE: SQL Query to find BIP Report Jobs History * *AUTHOR: Shailender Thallam * *******************************************************/ SELECT (CASE WHEN state = 1 THEN ‘Wait’ WHEN state = 2 THEN ‘Ready’ WHEN state = 3 THEN ‘Running’ WHEN state = 4 THEN ‘Completed’ WHEN state = 9 THEN ‘Cancelled’ WHEN state = 10 THEN ‘Error’ WHEN… Read More »

SQL Query to List Reference Data Sets and their Assignments with Business Units in Oracle ERP Cloud

/***************************************************************************** *PURPOSE: SQL Query to List Reference Data Sets and their Assignments with * Business Units in Oracle ERP Cloud * *AUTHOR: Shailender Thallam * *****************************************************************************/ SELECT fsa.reference_group_name, fs.set_id, fs.set_code, fs.set_name, fs.description, bu.bu_name FROM fnd_setid_assignments fsa, fun_all_business_units_v bu, fnd_setid_sets_vl fs WHERE 1 = 1 AND fsa.determinant_type = ‘BU’ AND fsa.determinant_value = bu.bu_id AND fsa.set_id =… Read More »

SQL Query to List Oracle ERP Cloud Users and their Attached Roles

/***************************************************************************** *PURPOSE: SQL Query to List Oracle ERP Cloud Users and their Attached Roles * *AUTHOR: Shailender Thallam * *****************************************************************************/ SELECT pu.user_id, pu.username, ppnf.full_name, prdt.role_id, prdt.role_name, prd.role_common_name, prdt.description, TO_CHAR (pur.start_date, ‘DD-MON-YYYY’) role_start_date, TO_CHAR (pur.end_date, ‘DD-MON-YYYY’) role_end_date, prd.abstract_role, prd.job_role, prd.data_role, prd.duty_role, prd.active_flag FROM per_user_roles pur, per_users pu, per_roles_dn_tl prdt, per_roles_dn prd, per_person_names_f ppnf WHERE 1 =… Read More »

Character Set in SQL*Loader

Sometimes we face a problem of SQL*Loader loading data into a wrong column OR only partial data gets loaded into a column. These issues might occur because of the characters in the data being loaded. By default SQL*Loader recognizes data of UTF-8 character set only. If unrecognized characters are found, SQL*Loader might treat it as… Read More »

How to RETRY/SKIP a workflow from backend

Script to RETRY workflow BEGIN wf_engine.handleerror ( itemtype => ‘OEOL’, itemkey => 2705276, activity => ‘SHIP_LINE’, command => ‘RETRY’, RESULT => NULL ); END; / COMMIT;BEGIN wf_engine.handleerror ( itemtype => ‘OEOL’, itemkey => 2705276, activity => ‘SHIP_LINE’, command => ‘RETRY’, result => NULL ); END; / COMMIT; Script to SKIP workflow BEGIN wf_engine.handleerror ( itemtype… Read More »

FNDLOAD Commands to Migrate WebADI Objects

Below are the different components of WebADI the can be migrated from one instance to another Integrators Contents Layouts Mappings Parameter List Components Integrator Command to Download Integrator FNDLOAD apps/apps 0 Y DOWNLOAD $BNE_TOP/patch/115/import/bneintegrator.lct XX_INTEGRATOR_LDT_FILE.ldt BNE_INTEGRATORS INTEGRATOR_ASN=”XX_CUST” INTEGRATOR_CODE=”XX_INTEGRATOR_CODE” Command to Upload Integrator FNDLOAD apps/apps 0 Y UPLOAD $BNE_TOP/patch/115/import/bneintegrator.lct XX_INTEGRATOR_LDT_FILE.ldt Contents Command to Download Contents FNDLOAD… Read More »

SQL*Loader Concepts

SQL*Loader is a bulk loader utility used for moving data from external files into the Oracle database. Capabilities of SQL*Loader Can load data from multiple data files during the same load session Can load data into multiple tables during the same load session Can selectively load data (Records can be loaded based on the records’… Read More »