SAP BusinessObjects (Universe) Interpreter for Apache Zeppelin
SAP BusinessObjects BI platform (universes) can simplify the lives of business users and IT staff. SAP BusinessObjects is based on universes. The universe contains dual-semantic layer model. The users make queries upon universes. This interpreter is new interface for universes.
Disclaimer SAP interpreter is not official interpreter for SAP BusinessObjects BI platform. It uses BI Semantic Layer REST API
This interpreter is not directly supported by SAP AG.
Tested with versions 4.2SP3 (188.8.131.520) and 4.2SP5. There is no support for filters in UNX-universes converted from old UNV format.
The universe name must be unique.
Configuring SAP Universe Interpreter
At the "Interpreters" menu, you can edit SAP interpreter or create new one. Zeppelin provides these properties for SAP.
|universe.api.url||http://localhost:6405/biprws||The base url for the SAP BusinessObjects BI platform. You have to edit "localhost" that you may use (ex. http://0.0.0.0:6405/biprws)|
|universe.authType||secEnterprise||The type of authentication for API of Universe. Available values: secEnterprise, secLDAP, secWinAD, secSAPR3|
|universe.password||The BI platform user password|
|universe.user||Administrator||The BI platform user login|
How to use
wherestatement You can compare two dimensions/measures or use Filter (without value). Dimesions/Measures can be compared with static values, may be
is not null, contains or not in list. Available the nested conditions (using braces "()"). "and" operator have more priority than "or".
If generated query contains promtps, then promtps will appear as dynamic form after paragraph submitting.
%sap universe [Universe Name]; select [Folder1].[Dimension2], [Folder2].[Dimension3], [Measure1] where [Filter1] and [Date] > '2018-01-01 00:00:00' and [Folder1].[Dimension4] is not null and [Folder1].[Dimension5] in ('Value1', 'Value2');