Beruflich Dokumente
Kultur Dokumente
Share
Share
Share
Share
More
SAP Lumira and SAP Lumira Cloud are SAPs offerings focused on business analysts and enabling
them to create their own reports and analytics. In this article, learn how to use SAP Lumira and SAP
Lumira Cloud in combination with data from SAP NetWeaver BW and SAP NetWeaver BW on SAP HANA.
Key Concept
SAP Lumira allows you to connect to your SAP NetWeaver BW system by using a relational Universe
(UNX). SAP Lumira is able to leverage the generated SAP HANA models when using SAP NetWeaver BW
on SAP HANA.
Sample Data
For the exercises in this article, I am using the SAP NetWeaver demo model. You can find details
about the SAP NetWeaver demo model by following this link: http://scn.sap.com/docs/DOC-33313
(http://scn.sap.com/docs/DOC-33313).
Figure 1
Figure 1 shows the current option, using the SAP BusinessObjects BI 4.x relational Universe (UNX) based on the
SAP NetWeaver BW InfoProvider for SAP Lumira.
Note
Note that at this point in time (April 2014) SAP Lumira does not connect to an SAP BusinessExplorer
(BEx) query from SAP NetWeaver BW, but instead connects to SAP NetWeaver BW using the relational
Universe.
Table 1 shows the main limitations for the relational Universe in combination with SAP NetWeaver BW. As you
can see, the relational Universe is not able to provide the information that is typically created in the BEx query,
such as a calculated or restricted key figure. In other words, the relational Universe is providing you with the
bare minimum of metadata from the InfoProvider.
BEx query element
Relational Universe
No
No
Variables
No
Conditions
No
Unit/Currency conversion
No
Display attributes
Yes
Hierarchies
No
Custom structures
No
BI authorizations (security)
Yes
Timedependent objects
No
Table 1
Note
For data connectivity to SAP NetWeaver BW on SAP HANA via the relational Universe licensing
requirements and information users should talk to their account executive.
Figure 2
Figure 3
Repository resources
Next, log on to your SAP BusinessObjects BI server using your SAP credentials and click the OK button (Figure
4).
Figure 4
Relational connection
Tip!
The logon dialog does not provide separate entries for the SAP System ID and the client number
because of this, you need to enter those details as part of the user name following the syntax: <System
ID>~<Client>/<User Name>. In my example its IH1~001/DEMO.
Open the context menu of your established server connection in the Connections folder, and select the Insert
Relational Connection option (Figure 4).
Tip!
To establish a relational connection towards the SAP NetWeaver BW connection, you need to first
establish a session towards the SAP BusinessObjects system. Then create a connection starting with
the repository of your SAP BusinessObjects system, which is slightly different from the usual workflow.
In the screen that appears, enter a name for the connectionBW_RELATIONAL_CONNECTION in my example
and click the Next button. In the screen that appears, select the SAP Java Connector connection type in the
SAP NETWEAVER BW category, and click Next. This opens the screen in Figure 5, where you enter the required
details for your SAP NetWeaver BW system.
Figure 5
Connection details
Tip!
You can set the Authentication Mode field to Use SingleSign On (Figure 5), but this requires your SAP
BusinessObjects Enterprise system to be configured with SAP Authentication.
Select the Save Language check box if you want to save your settings as configured in the relational
connection. In you dont check this check box, users have the option to change the language by setting the user
preferences in the BI Launchpad. Next, click the details icon
to the right of the InfoProvider field to see a list
of possible InfoProviders (Figure 6).
Figure 6
InfoProvider listing
You can use the filter icon (the funnel icon at the top left of Figure 6) as part of the screen to limit the list of
InfoProviders based on the type of InfoProvider. For example:
IOBJ = InfoObject
CUBE = InfoCube
ODSO = Operational Data Store
MRPO = MultiProvider
MRPO = MultiProvider
VIRT = Virtual InfoProvider
In this example, I am using the MultiProvider 0D_NW_M01 from the SAP NetWeaver demo model. The entries
have the letter I in front of the technical names. When you have finished making your entries, click the OK and
then the Finish buttons. The system asks if you would like to create a shortcut for your connection. Click Yes,
and select your local project as the location for the shortcut. Click the OK button and then the Close button.
Now that youve created the connection towards SAP NetWeaver BW, I show how to set up the relational
Universe. Follow these 13 steps:
1. In the Information Design Tool select your local project.
2. Follow menu path File > New > Data Foundation.
3. In the screen that results, enter BW_DATA_FOUNDATION as the name for the Data Foundation.
4. Click the Next button, which opens the screen in Figure 7.
Figure 7
5. Select the Multisource-Enabled radio button. The connection towards SAP NetWeaver BW is not available
when using the Single Source option.
6. Click the Next button.
7. You are asked to log on to your SAP BusinessObjects Enterprise system. Your credentials should already be
entered.
8. Click Next.
9. Select the shortcut that you created previously.
10. Click Next.
11. Click Advanced.
12. In the screen that results (Figure 8) make sure that the Automatically create tables and joins
(recommended) check box is selected.
Figure 8
Figure 9
7. Click OK.
8. Check to make sure the option Automatically create folders and objects for SAP NetWeaver BW connections
(recommended) check box is activated.
9. Click Finish.
Next you are presented with a list of classes, dimensions, and measures that have been generated based on the
information retrieved from SAP NetWeaver BW. Because the relational Universe has been built with the actual
dimension objects representing the key values of the InfoObjects from SAP NetWeaver BW, I want to make a set
of changes in the relational Universe before using it for reporting.
In the following steps I show how to:
Add a detail object to show the key values for the characteristics in the relational Universe
Change the definition of the dimension object so that it shows the text value of the characteristics
Make formatting changes to the Calendar Year and Calendar Month entries
Follow these 15 steps:
1. Open the newly created business layer (Figure 10).
Figure 9
dimension. The key value is what is used to create the dimension object.
4. Right-click the dimension Country (SAP NW Demo).
5. In the context menu select New > Attribute.
6. Enter Country Key as the Name for the new attribute.
8. Now select the dimension object Country (SAP NW Demo).
9. Select the complete syntax from the SELECT box and copy it to the clipboard.
9. Navigate back to the newly created attribute Country Key.
10. Paste the copied syntax into the SELECT box for the newly created attribute Country Key.
11. Now select the attribute Country Heading (SAP NW Demo).
12. Select the complete syntax from the SELECT box and copy it to the clipboard.
13. Navigate back to the dimension object Country (SAP NW Demo).
15. Paste the copied syntax into the SELECT box for the dimension object Country (SAP NW Demo).
What is the purpose of these 15 steps? The relational Universe was created with the key value for the
underlying characteristics representing the dimension objects for the Universe and without the changes made
with these steps, you would only see the key values without the descriptions for the characteristics in SAP
Lumira or any other reporting tool. When you want to leverage the Universe for reporting and not just to follow
the steps in this article, you would also make the changes that are outlined above for the characteristic Country
for the other objects in the Universe.
Figure
11
Advanced options
3. From the drop-down options in the Data Type field, select Numeric and click the Create Display Format.
button.
4. In the screen that appears (not shown) select the Numeric option.
5. Click the Custom Format button; this opens the screen in Figure 12.
Figure
12
Custom format
6. Select the 0 option under Digit and, using the + sign icon, add the 0 item four times.
7. Click OK.
8. Click OK.
9. Navigate to the dimension Calendar Year/Month.
10. Navigate to the Advanced tab.
11. Click the Create Display Format button.
12. Select the Numeric option.
13. Click the Custom Format button.
14. Create a custom calendar year/month format (like 0000/00).
15. Click OK.
16. Click OK.
17. Follow menu path File > Save All.
18. Right-click the newly generated business layer entry as part of your local project.
19. Follow menu path Publish > To a Repository.
Figure
13
Figure
14
Connection details
Figure
15
Import details
13. Open the InfoArea for the SAP NetWeaver demo model.
14. Select the InfoCube 0D_NW_C01 (on the left).
15. Click Add.
16. Select the Include Display Attributes check box.
17. Select the Overwrite existing objects check box.
18. Click the Browse button next to the Package field and select a package for the model as part of your SAP
HANA system.
19. Click OK.
20. Click Finish.
21. After the import has been successfully finished, navigate to the package and, using the Data Preview
context menu (right-click), check to see if the model has been imported.
Now I show how to generate an Analytical View and Calculation View in SAP HANA, and use the models in SAP
HANA and the previously created relational Universe with SAP Lumira.
Figure
16
4. Click Next.
5. In the screen that opens (not shown) enter the details to log on to your SAP BusinessObjects BI server.
6. Click Connect.
7. You are now presented with the list of available Universes (Figure 17). Select the newly created Universe
connecting to your SAP NetWeaver BW system (BW_BusinessLayer.unx).
Figure
17
New dataset
Figure
18
List of fields
Figure
19
Data preview
Data Preview shows all the columns and, most importantly, you are presented with the option to pre-define filter
Data Preview shows all the columns and, most importantly, you are presented with the option to pre-define filter
values before the data is requested from your SAP NetWeaver BW system. In this manner, you can avoid a
situation in which you would inadvertently download all the data from the InfoCube to your client system.
14. Click the Create button, which opens the screen shown in Figure 20.
Figure
20
SAP Lumira
You can now use the data from your SAP NetWeaver BW system with SAP Lumira.
Figure
New dataset
Figure
21
New dataset
Figure
22
New dataset
Figure
23
SAP Lumira
Now you have successfully published the data model from your existing SAP NetWeaver BW InfoProvider
towards SAP HANA and you generated an analytical mode in SAP HANA. You are now able to connect to the
towards SAP HANA and you generated an analytical mode in SAP HANA. You are now able to connect to the
model using SAP Lumira. Note that one limitation in SAP Lumira at this point (as of April 2014) is the fact that
SAP Lumira does not recognize so-called Label Columns from the HANA model. That means that, unless you
manually adjust the HANA model, SAP Lumira only shows the key columns of the characteristics without the
description values.
Product Roadmap Disclaimer
The descriptions in this article of future functionality are the authors interpretation of the publicly
available product integration roadmap. These items are subject to change at any time without any
notice, and the author is not providing any warranty on these statements.
Ingo Hilgefort
Ingo Hilgefort has been in the BI industry for over 15 years in a variety of different
roles, including Engineering, Consulting, Training, and Product Management. His
experience with SAP and BI started in 2000 with his role as product manager during the
integration of Crystal Reports with SAP NetWeaver BW. Ingo has been involved in
architecting and delivering deployments of SAP BusinessObjects software in
combination with SAP software for a number of worldwide customers, and is an SAP
Mentor for SAP BusinessObjects and SAP integrationrelated topics. Currently, Ingo is
the Vice President of Product Management, Visual BI Solutions, for Visual BI (http://visualbi.com/).
Ingo is the author of numerous books, including Inside SAP BusinessObjects Advanced Analysis
(http://store.sapinsider.wispubs.com/search.php?
mode=1&search_query_adv=Ingo+Hilgefort&category%5B%5D=11&category%5B%5D=6&searchsubs=ON), Integrating
SAP BusinessObjects 4.x BI Platform with SAP NetWeaver (http://store.sapinsider.wispubs.com/search.php?
mode=1&search_query_adv=Ingo+Hilgefort&category%5B%5D=11&category%5B%5D=6&searchsubs=ON),
Reporting and Analytics with SAP BusinessObjects (2nd Edition)
(http://store.sapinsider.wispubs.com/search.php?
mode=1&search_query_adv=Ingo+Hilgefort&category%5B%5D=11&category%5B%5D=6&searchsubs=ON),
and Mastering SAP BusinessObjects Design Studio with SAP NetWeaver BW
(mailto:http://www.amazon.com/Mastering-BusinessObjects-Design-Studio-NetWeaverebook/dp/B00E46M9IW/ref=sr_1_1?s=digital-text&ie=UTF8&qid=1420558993&sr=1-1). You may follow him on
Twitter at @ihilgefort (http://www.twitter.com/ihilgefort).
See more by this author (/BI/search?q=Ingo+Hilgefort&exact=1)
You may contact the author at Ingo@visualbi.com (mailto:Ingo@visualbi.com?
cc=editor@biexpertonline.com).
If you have comments about this article or publication, or would like to submit an article idea, please
contact the editor (mailto:editor@biexpertonline.com).