0% found this document useful (0 votes)
182 views

Extract Data From Fusion Application Using BI Publisher in OCI DI

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
182 views

Extract Data From Fusion Application Using BI Publisher in OCI DI

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 13
Technical Solutions Extract data from Fusion Application using BI Publisher in OCI DI January 5, 2022 | 11 minute read e Rohit Saha Senior Product Manager Welcome back! We recently released a connector for extracting data from Fusion Application using BI Publisher connector in Oracle Cloud Infrastructure (OC!) Data Integration. Today, we're learning about the scheduling feature in OC! Data Integration. In this blog, we will learn how to create a Bl Publisher report and then extract data from Oracle Fusion Application using a BI Publisher connector in OCI Data Integration service. We will first look at how to create a BIP report in Fusion Application and then create a data flow in OCI Data Integration to extract data from Fusion Application. Before we go ahead and create a BIP report, we need to understand that users of OCI Data Integration, can extract data from pre canned BIP reports and to ensure that the Fusion servers are not impacted due to the extraction of high volume data using BIP reports, users have to ensure that in the SQL query they specify two clauses: OFFSET FETCH NEXT These properties are used for chunking (pagination) by OCI Data Integration service. The user has to specify the parameter used for offset and fetch next x rows while configuring the source operator. Why do we need chunking? When the number of records or the data volume is huge, extract requests might time out. Chunking/Pagination is a common mechanism to protect against such failures. The request is divided into smaller chunks so that extract requests do not fail, while at the same time complete data can be extracted from the source system. In BIP reports, the OFFSET and FETCH NEXT clauses are used to achieve the same The key components of a BIP report are: Data Model Report (Layout) Output format Before you get started, ensure that you have the required permissions to proceed. Create Data Model Once you have logged in to Oracle BIP, click on Catalog to view the folders: ORACLE: Sraisertnnie aa : None =a Figure 1 In this example, | have created a folder, Demo BIP Reports, for saving my work. You will start by creating the data model by going to New Data Model, as shown below: ORACLE: aration se == q a eee Rag eee 7 bn ° entre Figure 2 You will be taken to the Create Data Model page; here click on the “+” icon and select SQL query to specify data source and SQL query. ORACLE shania = : > rows fetch next : <> rows Go ahead and write the SQL query in the SOL Query text area as shown below and then click on OK to ‘save the Data Set: =~ somten fone] 9% Figure 4 Once you click OK, you will receive a prompt to bind parameters as shown below: ‘Ada Para 3 -ParticipantsReport x aus stectone or oe be vais to cate earespocng Eo Figure 5 Check both the check boxes and hit OK. This will bind the selected parameters to the report and will show up under parameters in data model as shown below: ORACLE shina == : re lea =! Figure 6 Optionally on the Parameters page, drag the highlighted separator, and provide display text for the Chunk Size and Offset parameters. +x rng Soc ee ~ -— Sr ownesse ee Figure 7 Once you have created the data model, it is time to visit the data model properties. Click on the Properties node on the left hand tree as depicted in the image below: ORACLE shan caer a : ee © et | etna | Yeh Ent | 20 Figure 8 Make sure the following three properties are checked: Enable CSV Output Include Parameter Tags Include Empty Tags for Null Elements Refer the screenshot below for detail ORACLE srs cane = : See oh Ot erent eee | Figure 9 Click on the “View Data” button to view sample data. The data tab will open up and provide values for Chunk Size and Offset, and you can click on View as shown below. Once the data shows up you can click on the Table View to view the data in a tabular form. ows ¥ | view] San) | sow Avsiroitoeh | Vinw ng Lag Saale 8 Monte Rapo Figure 10 Once the sample data shows up, click on “Save As Sample Data,” n+ sat |e] nooo nt cpronncsct — Sonehlawe! Saat Sener ina Se — [amon mene ems smmie acum Se Figure 11 You will get a prompt confirming that the data has been saved as a sample. Now save the data model by clicking on the save icon: Home Catalog New ¥ Open ¥ — SignedinAs = ¥ @ Validate | Manage Private Data Sources | View Data Create Report Figure 12 Select the folder where you want to save the data model, provide a name and click save (refer to the image below for details): Save As x Catalog a hs My Foxes > ma Temp ye Dens haved Foses 9 a Appa vray 9 ig AR and Poctpend > a Commer conn panceana. ou Beserpton Figure 13 Create Report Now let us create a report using the data model we just created, by clicking on New and then Report: ORACLE natin teenie me : ees Figure 14 In the Create Report wizard: Select Use Data Model Browse to the Data Model we created in the previous step k on Next Create Report x Select Date Select Layout Greate Chan Create 2nd Chart Create Table Save Report = na a ou | tet Upoas Use sujet aca spendseet Creat a report using an existing Data Mosel How do you want treat your report? © \.cuide me Of Use Report Ester cee be sll Figure 15 In the Select Layout step, let the page options be Portrait and Layout be Table and click Next. In the Create Data step, add the fields that are needed in the report, from the left hand data source. In this example, | have unchecked the Show Grand Totals Row as | do not want it in my report. Finally, click on. Next. Create Report x CG -@- -8 8 Select Data Select Layout Create Chart Create 2nd Chart Greate Table Save Report rag feds from the Data Source to cate the table, Sample data Is capayed Daa Souce Pome [roancse reac [enna [veNooR sy ~ 7 oon sors | Barns | 1 a 20 2s snre2e| sonnet 3 aRned Geiser a 200 2001520723] conn 734 3 00168 Becoerser i at ee atacs fo 20 + | asonmows7asr 0000007 Elves premise] | [0 200 toot | Fivewsee Ml [o Fy ioc | sconnanisae soomiae4 a 200 om onnonenie7e son00:804 a 100 100 oomcsaniose 3 oo005804 a 200 004 El venoor sire 0 GB orcmzanon st Glcustower 0 Beustower sre, Boerarnen cove Bcaemeo ov & creanon_on Bust veoseo.£- show Grand Totas Row Proview Report SS Sse Figure 16 In the Save Report screen click on Finish, and provide a location and name to the report in the Save As pop up as shown below: Saves x Ccataioa 3 Pim cxaore * Se Papa om Decrpton Figure 17 Configure Report Output Format After you have created the report, click on Catalog, browse to the report, and edit the report as shown below: 8 Participants_REPORT Last Modified 11/30/21 10:19AM Created B Participants Report Open Schedule Jobs Job History More ¥ Participants_OM Last Modified 11/30/21 10:11AM Created By undefined Edit More Figure 18, Now, click on “View as list” as shown in the image below: ORACLE: stew cnane = : _—= ssa Ppt REPORT re =) Figure 19 Make sure the Data(csv) is selected in the Output Formats and Default Format is csv as shown in figure 20 and 21 below: + _ “i omar — potatoe ee Figure 20 + venation Yn ea Figure 21 Using OCI Data Integration to extract data from BIP reports Once we have created the BIP reports, we will now create a Data Asset and a Data Flow to extract data from Fusion application using this report. Let us start by creating a Data Asset. Create Fusion Data Asset Now login to OCI console, browse to OCI Data Integration service and select a workspace in which you want to create the data asset, Once in you are in the workspace click on the “Create Data Asset” tile. Demonstration Workspace. Recents ul Actors som © Santonio Oreo 2 iam < 2 Dy vercuce pate cre Penns Cuaron Tat Figure 22 In the Type field, select the Type as Oracle Fusion Applications and provide the host name for the Fusion Application in the Oracle Fusion Applications Host field. Create Data Asset ‘Adala asset represents a data source. Enter the data asst details, and thon add tho dofault connection deals to that data assot General information Nae Fusion Appkcaton BIP Ientiier FUSION_APPLICATION. BP Description Optional Te ‘race Fusion Appcations z ‘Oracle Fusion Appcatons Host, ta >raclepdemos com Data Asset Properties Optional Figure 23 In the Connections section, select the Type as Oracle BI Publisher and provide the Username and Password. Default Connection information Name Default Connection Identifier DEFAULT_CONNECTION Description Optional Oracle BI Publisher User Name © Use Password) Use Vault Secret OCID Password, Figure 24 Create a data flow for data extraction Now let us create a simple data flow in OCI Data Integration to extract BIP reports from Fusion and load it into Oracle Autonomous Data Warehouse, in the data flow let us configure the source operator to extract data from the Participants_REPORT that we created earlier, also specify a staging location as shown below: Properties: New Data Flow » PARTICIPANTS_REPORT_XDO. DETAILS ADVANCED OPTIONS ATTRIBUTES DATA VALIDATION Data Asset: Fusion Application BIP Edit Assign Parameter Connection: Default Connection Edit Assign Parameter Schema: /Custom/Demo BIP Reports Edit Assign Parameter Data Entity: Participants REPORT.xdo Q Edit Assign Parameter Staging Location: Fusion_Bucket Edit Figure 25 You can view the sample data by clicking on the DATA tab in the source operator. Go to the Advanced Options, and set the chunking properties so that the offset and number of rows returned parameters are selected appropriately Figure 26 Now drag drop a target operator and configure the Target operator as shown below: Properties: New Data Flow » SC_PARTICIPANTS DETAILS ATTRIBUTES MAP DATA _ VALIDATION Data Asset: DA_LADW_OCI Edit Assign Parameter Connectio! : Default Connection Edit Assign Parameter Schema: ALPHA Edit Assign Parameter Data Entity: SC_Participants Edit Assign Parameter Staging Location: Lab_Bucket Edit Figure 27 We have created the data flow with fusion BIP report as source now validate the data flow and save it. After you save the data flow, create an integration task by selecting the newly created data flow, publish it to an application and then execute it Conclusion The Oracle Fusion Applications B| Publisher connector helps users extract BIP reports seamless and integrate it with other data sources. We hope that this blog helps as you learn more about OC! Data Integration, For more information, check out the tutorials, documentation, and the blog site, ‘on Rohit Saha Senior Product Manager Analyst Try Oracle US Sales ‘About Reports Cloud Free 800.633, Tie Careers Developers Investors, Partners Startups (©2022 Oracle Best CRM Cloud Economics Corporate Responsibility Diversity and Inclusion Security Practices Site Map What is ERP? What is Marketing Automation? What is Procurement? What is Talent. Management? What is VM? Privacy / Do Not Sell My info Oracle Sustainability Oracle COVID- 19 Response Oracle and SailGP Oracle and Premier League Oracle and Red Bull Racing Honda Cookie Preferences How can we help? Subscribe to Oracle Content Try Oracle Cloud Free Tier Events News Ad Choices Careers

You might also like