Showing posts with label PBCS. Show all posts
Showing posts with label PBCS. Show all posts

Friday, 6 November 2020

Data Load Fails in EPM Cloud Data Management when using Replace Data Option

 We were trying to load data into an EPM Planning Cloud application and we saw this:

Data management, EPM Cloud, Error

Oh no, the dreaded red cross when doing a data export in Data Management!


In this example we were running a data load to a target plan type using the 'Replace Data' option.


Here is the error message in the log:

2020-11-06 09:55:02,837 INFO  [AIF]: Replace data script:

FIX ("Manchester",”Apr”,”Working","FY21")

CLEARDATA "null";

ENDFIX

2020-11-06 09:55:02,838 INFO  [AIF]: EssbaseRuleFile.getReplaceDataScript - END

2020-11-06 09:55:02,875 ERROR [AIF]: Cannot calculate. Essbase Error(1012004): Invalid member name [null]

2020-11-06 09:55:02,882 INFO  [AIF]: EssbaseService.loadData - END (false)

2020-11-06 09:55:02,901 FATAL [AIF]: Error in CommData.loadData

 

The issue we have is that the calc script is obviously invalid. When you run data load rule with the “Replace Data” option it dynamically creates a calculation to clear the data in the target cube before it loads the data.


The calculation generated is usually of the format CLEARDATA “Scenario Name”

where the Scenario (DM Category) is derived from whatever category you have set in your data load rule.


So why was ours failing?

We were loading data into multiple scenarios from the same file. In order to do this we had set our Scenario dimension to Generic in the target application dimension details:

 



This of course means that the Category (Scenario) in the rule is ignored so the dynamically generated CLEARDATA calculation sets the scenario as null.

 

The solution?

Set the data export mode to 'Store Data'.  This will just load the data into the target without trying to clear the data using a dynamic script. We run a business rule prior to the load to clear the data target.



Ahhh, that's better. 

Tuesday, 1 October 2019

OCI - Installing EPM Automate on Always Free Oracle Linux

Using Oracle's FREE Cloud VMs to Store your EPM Cloud Snapshots

Unless you have been living under a rock for the past month you will know that Oracle have released their "Oracle Cloud Free Tier". This consists of the following services FOR FREE!
https://www.oracle.com/uk/cloud/free/


I've enjoyed playing with ADW and APEX, an incredible combo which will enable us to build simple applications to enhance our existing EPM Cloud apps.

The two free Oracle Cloud Infrastructure Compute VMs also caught my attention. These could of course be used for a multitude of things, one of which could be a host for EPM Automate and a location to store EPM Cloud snapshots.

Installing EPM Automate on Oracle Linux OCI

There are several blogs out there on how to setup your instance. Here is a good one from APEX guru Dimitri:
https://dgielis.blogspot.com/2019/09/free-oracle-cloud-6-create-vm-instance.html
So, once you've got your VM running you can install EPM Automate.

  • Download the Linux EPM Automate installer. The link can be found in the PBCS user name drop-down:


  • Download the Java JDK for Linux from here for example (the JDK doesn't come bundled with the Linux EPM Automate version)
  • Copy both installers to your Oracle Linux VM using your favourite file transfer tool (WinSCP for instance)

Installing the JDK on Oracle Linux VM

JRE version 1.7 or higher is required.

This is nice and simple. The installer is just a compressed file so you can extract it to your preferred location:
tar -zxvf <filename>
e.g.
tar -zxvf jdk_ri-8u40-b25-linux-x64-10_feb_2015.tar.gz

I extracted mine to /GS_software/java-se-8u40-ri


Installing EPM Automate on Oracle Linux VM

This is again nice and simple. The EPM Automate is a compressed file, extract it to your preferred location:

tar -xvf epmautomate.tar

I extracted mine to /GS_software/epmautomate



Setting your JAVA_HOME

You'll need to set the JAVA_HOME in your user profile or as a shell environment variable.


Running EPM Automate

So, we've extracted the JDK and the EPMAUTOMATE archive, we should be good to go right?

WRONG!

I got the following error when trying to login:

EPMAT-7:Unable to connect to https://planning-blahblah.pbcs.em3.oraclecloud.com Root Cause: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty.
 1. Ensure that you are using the correct URL.
 2. If your organization requires the use of a proxy server to connect to the internet, verify that "proxyHost" and "proxyPort" environment variables are correctly set.
 Ex: setenv proxyHost <proxyhostname>,setenv proxyPort <proxyport>

The problem here is that we don't have the SSL certificate installed into our java keystore.

Importing the SSL Certificate into the Java Keystore

Open a browser and connect to your PBCS URL
https://planning-blahblah.pbcs.em3.oraclecloud.com/HyperionPlanning

Make sure you actually login to PBCS. If you download the certificate on the login page it will be the wrong certificate and you will get a bogus error like this: "EPMAT-7: Unable to connect. Unsupported Protocol: HTTPS".
  • Once you've logged in to EPM Cloud click on the browser padlock-> connection ->more information:


  • Click on 'View Certificate':
  • Click on Export and save the .crt file to your desktop
  • Upload it using WinSCP to your VM e.g. /GS_software/epmautomate/pbcs_em3_oraclecloud_com.crt
We now need to import the certificate into our Java cacerts keystore:
  • Change directory to jre/bin 
cd /GS_software/java-se-8u40-ri/jre/bin
  • Run the keytool command to import the certificate:
./keytool -import -file /GS_software/epmautomate/bin/pbcs_em3_oraclecloud_com.crt -storepass changeit -keystore /GS_software/java-se-8u40-ri/jre/lib/security/cacerts -alias pbcs_em3_oraclecloud_com


Now test EPM Automate again:


It works!

So you have a FREE Oracle VM on which you can run your EPM Automate commands and save your EPM Cloud PBCS snapshots for FREE! Zero installs required in your customer data centre.

Did I mention it was FREE?

If you're not comfortable with Linux or simply haven't got the time then our support team at Brovanture will gladly manage this service for you.

Thanks :)

Friday, 22 June 2018

PBCS: Financial Report Bursting to the File System

Hello blog, it's been a while. I got back from Kscope18 - Orlando last week and as usual it was a brilliant conference. My last blog entry (more than a year ago, tut-tut) was about OACS and some of the limitations. I've come back from Kscope with a completely different point of view. It's extremely good value (they're practically giving it away if you're a maintenance-paying on-prem Essbase/OBIEE customer) and the features and functionality ARE ABSOLUTELY AWESOME! I've already presented it to some of our customers and they love it. Anyway, back to the topic of this short blog entry...
I know it's old skool, but many users in the EPM on-prem world use the Financial Reporting bursting feature to burst out 100s of reports to the file system and automatically move them elsewhere for consumption. I didn't think that this was possible in PBCS but I was wrong!

If you select 'Export to external directory' in your batch definition, then the all the folder structures and PDFs get put in the inbox/outbox in one handy zip file which you can then download automagically (to coin a phrase from my colleague Mike ) via EPM Automate. Here's how it works:

In your batch you will select your bursting criteria, here I want to burst out my report for all of my stores in the Entity dimension:


You then select 'Export as PDF' and 'Export to an external directory'. Select 'ExportFolder' from the drop-down:

All the FR bursting folder structures and PDFs get put in the inbox/outbox 'Scheduler Output' folder in one handy zip file. Here is my Inbox/Outbox:


And here is my bursting output zip file in the 'Scheduler Output' folder:

You can then download the zip file manually or by using EPM Automate:


Finally, here is the contents of the zip file. All my folders and reports on one handy place ready to be moved to another location or system. Easy peasy!

Thursday, 22 December 2016

PBCS Drill-Through not Working to On-Prem FDMEE

One of the nice things about FDMEE is that it can be used to load data into PCBS, EPBCS and the next patch will enable loading to FCCS.

Just like on-prem Planning you can use drill-through to look at the detailed rows of data that FDMEE loaded from your source to your PBCS base member. We recently encountered an issue where the drill-through worked fine when drilling down to FDMEE data in a webform but the drill-through failed when launching the drill-through via Smart View. There was no error message, but instead of drilling into the load details of our on-prem FDMEE instance the drill-through webpage just took us to the PBCS homepage.

Fortunately there was a simple fix. We were using Firefox and the Firefox Smart View add-in was disabled. You need to enable the Smart View plugin within the Firefox add-ins. Once this is enabled you'll be able to drill-through to all the lovely detail from Smart View PBCS to FDMEE.

Whilst this test was using on-prem FDMEE it is probably the same situation with PBCS data management, just make sure your Smart View add-in is enabled in Firefox:


Tuesday, 27 September 2016

Oracle PBCS New Features Sept 2016

Oracle PBCS New Features Sept 2016


It's been a while since I've blogged and now I've resorted to plagerism. Mike Falconer, a fantastic colleague of mine made this lovely round-up of the latest updates in PBCS so Mike, it's over to you...

PBCS is always being updated with new features and bug fixes. We’ve been through the Oracle documentation available here and extracted a simple summary of the best new features in PBCS and how best to utilise them.

Where have all my buttons gone!?

Oracle has a tendency to change their user interfaces for a consistent feel across all their cloud applications. Unfortunately this means that they often switch around their interfaces between updates. Here I’ve tried to document some of the more confusing changes.
Console (1) – Renamed to Application. Sub-menus have been created replacing the awful tabs on the left hand side. These sub-menus will replace the standard buttons at the top of the screen when you are on a page that contains them. Settings (2) has similarly been renamed to Tools.
Downloads (3) – Moved to Your Name in the top right hand corner.
Navigator (4) – Replaced with the 3-line Menu button in the top left-hand corner. You can access almost everything in the application using the new navigator window (see over the page)
Forms (5) – Renamed to Data – but to edit form structures, you still need to go via the Navigator.
Application Management – Split up into two separate sections – backups and snapshot have been renamed Migration (6) and user management and security has been renamed Access Control (7).
Navigation Flow (8) – A great new feature that allows you to change all of the buttons around, to confuse your poor users some more.
Refresh Database –Application->Overview->Actions->Refresh Database(x3)->Refresh. Obviously.






What happened to my dimension editor?

Surely Smart View is safe from the monthly updates? Have no fear, it has not been forgotten. For those that use the Smart View Planning Extension (which should be all of you – it saves you so much time!) to edit dimension metadata, you will now need to use the Member Selection box to get some of the dimension properties that used to appear automatically. It functions in exactly the same way as the Member Selection for regular dimension members. 



Top Tip: The quickest way to refresh the database in PBCS is to right-click the Dimensions folder and click Refresh Database:


Fun Features


Activity Reports

The biggest feature included this month is an activity report, located under Application -> Overview -> Activity. 

These reports are produced daily and have a number of metrics, including user login data, worst performing tasks, and other helpful tools like most/least active users. Perfect for keeping track of your application’s weaknesses and strengths.

External Links to Dashboards and Forms

You can now create yourself a URL which will take a user directly to a form or dashboard they have access to:

https://virtualhost/HyperionPlanning/faces/LogOn?Direct=True&ObjectType=DASHBOARD&ObjectName=DASHBOARDNAME

In the above link, replace virtualhost with your own PBCS link information, and change DASHBOARDNAME to the name of a dashboard in your application.

Clicking on the link will send you directly to that object:


Copy/Paste onto forms in the Simplified Interface!

This one is huge people – you can now use Copy and Paste via Ctrl-C and Ctrl-V to copy and paste data into cells on web forms. You can even copy a range of cells from Excel, select a range of cells in the web form, and paste them. What a time to be alive.

Navigation Flow

You can use this functionality to customise the buttons users can or can’t see. You can also define and add new buttons – but they are limited to displaying certain forms or dashboards. We were hoping this feature will be expanded to add links so watch this space! Below you can see I’ve added a Test Flow card. Navigation Flow is certainly in its infancy, but a bigger feature will come in a future update when Oracle flesh the options out a bit.