Oracle Analytics Cloud (OAC) was updated recently to support direct connectivity with Oracle Planning & Budgeting Cloud Service (PBCS) and EPBCS. Consequently, we can now source data live from PBCS applications without the need to extract and import into OAC. I have seen several financial departments use PBCS as a source for budgets and forecasts to compare against actuals from ERP. In addition, OAC enables dynamic drilldowns from PBCS summary views into multiple levels of drill-to reports from General Ledger journals and sub-ledger transactions. In this blog I will go through the steps that are required to enable the direct connection from OAC to PBCS. Note that this direct connectivity works from within the OBI repository, and not the connection adapter options available in the OAC landing page.
- Download Oracle BI Administration Tool V12.2.2.0.0 or later. (See Oracle Business Intelligence Developer Client Tool.)
- Install the client tool you downloaded in the first step. (Note that you can only install the client tool on a Windows operating system. Even though OAC servers run Oracle Linux, the BI Admin client tool only runs on Windows.)
- Configure the client tool “admintool.cmd” file by adding the variable (see screenshot below): INSTANCE_NAME=%DOMAIN_HOME%
In my example, the “admintool.cmd” file is located under the following directory:
C:\Oracle\Middleware\Oracle_Home12\bi\bitools\bin
- Configure the client tool “NQSConfig.INI” file to reference the Java Host of your OAC service.
Before doing that you will need to know the host name of your OAC server and the Java Host port number. To find what port Java Host is using, in a browser navigate to Enterprise Manager. Then from the upper left menu, expand Business Intelligence, and click on “biinstance”. Then select the “Availability” tab and expand “BI JavaHosts”. This should show you the Java Host port number. In my example, the screenshot below shows that it’s 9506.
Now find the NQSConfig.INI file in the local directory where you installed the client tool. In my example, it is located under the following directory:
C:\Oracle\Middleware\Oracle_Home12\domains\bi\config\fmwconfig\biconfig\OBIS
Edit the file and set: JAVAHOST_HOSTNAME_OR_IP_ADDRESSES=”host:port”
Replace host with your OAC host name or IP address. Replace port with the port number you found in Enterprise Manager earlier.
- Import Metadata from PBCS: Open up the BI Admin client tool. You can run it by going to the Windows start menu, and under Oracle Business Intelligence Client, select “Administration”. Once it opens, create a new repository from the File menu and give it a name. When you are at the step to Import Metadata, you need to specify the PBCS data source. Do the following selections:
Connection Type: Hyperion ADM
Provider Type: Hyperion Planning
URL:
Replace: adm:thin:com.hyperion.ap.hsp.HspAdmDriver:<Server>:<Port>:<Application>
With: adm:thin:com.hyperion.ap.hsp.HspAdmDriver:<PBCS IP or Host Name>:Vision?locale=en_US;tenantName=<PBCS Identity Domain>;hubProtocol=https;
In the above, you need to substitute for your PBCS IP or Host name and your PBCS Identity Domain. In addition, the above url connects to the Vision app so you will need to replace “Vision” with the name of the PBCS app you are connecting to.
And enter a PBCS administrator User Name and Password.
Click Next.
If you get an error at this step, you want to check your Admin Tool log file (NQSAdminTool.log) for more information. In my case, I found the log file under the following local directory:
C:\Oracle\Middleware\Oracle_Home12\domains\bi\servers\obis1\logs
- Select PBCS Applications: When you click Next on the Import Metadata Data Source screen, you will get the following screen to select from your PBCS Metadata Objects and move the ones you would like to integrate into OAC to the Repository View on the right side. When you finish, the repository Physical layer will list the PBCS applications you imported.
- Finalize Repository: Drag the Physical Layer objects over to the Business Model layer and then to the Presentation layer as in the following screenshot. Then run the Consistency Checker from under the File menu and save the file.
- Upload the Repository file to the OAC server. In a browser, navigate to your OAC Service Administration screen and select Snapshots. Click on Replace Data Model. Choose the Repository file you saved locally and give it a password. Once you click OK, it may take a few minutes for the file to get uploaded and set in place as your new data model for OAC. Note that it will replace whatever data models you may have created before using the browser-based thin data modeler. So take a backup snapshot before uploading the repository file.
- Create Reports: Once the new data model is in place, you will notice that your existing reports wont be working anymore. This is after all because your existing data model is now replaced with a new one. And you notice that under Subject Areas you see your PBCS application(s) available for reporting. Following are screenshots of quick reports I created against PBCS using an Analysis and also a Data Visualization project.
Hi there,
I have followed the blog but I get an error when importing metadata.
“Java Host is not available inside the function ADMImportService of SAW RPC modules”
Did you come across this error at all in the process of OAC and PBCS integration. I’m trying to find documentation on this error but there is not much help online. Are there any more prerequisites or configuration steps needed on the OAC server?
Thanks,
David
A slight correction to your step 5 you say to replace the sting with
adm:thin:com.hyperion.ap.hsp.HspAdmDriver::Vision?locale=en_US;tenantName=;hubProtocol=https;
and update the IP and domain. You are connectin the the vision application and it in the string. you also have to replace that with your planning application name
Thanks for noticing that. I have updated to reflect the PBCS app name.
Thank you for the detailed write-up. The tool (Oracle BI Administration Tool V12.2.2.0.0 or later) isn’t available on the link under Item 1. Did Oracle rename the tool to BICS Data Sync?
The page changed a bit. You want to follow the link at the bottom that says Developer Client Tools for BICS and download the latest version.
is it possible to script this and run in batch either scheduled or ondemand?
do we have any java api’s or any way to make this work in batch?
This connection is always going to be live of off PBCS. If you want to do a batched approached, you may want to consider something like DataSync. The following white paper discusses options for batched or scheduled:
https://www.perficient.com/insights/guides/2017/oracle-bi-cloud-service
Are changes to PBCS metadata (e.g. new account, moving an entity from one parent to another, etc.) automatically pushed to OAC? If not, how is this accomplished?
Yes the changes in PBCS will reflect in OAC once a report is refreshed from within OAC itself.