High level steps:
- Create a BI report data model based on the below sql query.
- Create an EDI delimiter based eText BI template and create a BI Report.
- Create a BI report invoke soap connection in OIC
- In callback integration - invoke the BI report soap connection and pass the load request id parameter name value and the report path name etc.
- Decode the base 64 response and remove carriage return or next line using custom Javascript and store it into a variable for further use.
BI report SQL queries:
Select distinct source from ap_invoices_interface where 1 = 1 and load_request_id = :p_load_request_id
Union all
Select distinct aii1.feeder_system_name from fa_mass_additions aii1 where aii1.load_request_id = :p_load_request_id
Union all
Select distinct bank_name from ce_statement_headers_int csh where 1=1 and csh.load_request_id = :p_load_request_id
Union all
Select distinct 'ServiceNowUpdates' from fa_descriptive_details_int where 1=1 and
load_request_id = :p_load_request_id
Union all
Select distinct 'ServiceNowTransfer' from fa_transfers_t where 1=1 and
load_request_id = :p_load_request_id
Union all
Select distinct 'ServiceNowRetirements' from fa_retirements_t where 1=1 and
load_request_id = :p_load_request_id
Detailed with screenshots:
Step1: Create Data model.
Home > Tools > Reports & Analytics >Browse Catalog > create > data model > click + sign > SQL Query > provide the SQL query
Step3: Create a SOAP connection to call the BI report
Step4: Configure BI report invoke and decode base64 and store it into a variable.
Sometime while we decode the base64 BI report response, it can have a next line or carriage return with the response, in that case , we need to create a custom javascript and remove them. Follow my below blog for the js code:
No comments:
Post a Comment