309
Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

  • Upload
    odod

  • View
    329

  • Download
    3

Embed Size (px)

Citation preview

Page 1: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

Page 2: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

2

Content`s

Disclaimer ....................................................................................................................................................................................................................4

1 Introduction ........................................................................................................................................................................................................5

2 Logon Details .....................................................................................................................................................................................................6

3 Amazon AMI Details ..........................................................................................................................................................................................7

4 Starting and Stopping systems...........................................................................................................................................................................7

5 Connecting to your environment ........................................................................................................................................................................9

5.1 Remote Desktop Connection - Windows 7 ................................................................................................................................................9

5.2 Remote Desktop Connection - Windows XP ........................................................................................................................................... 10

6 Starting your SAP NetWeaver BW system ....................................................................................................................................................... 11

7 Data modeling scenarios for BW Administrators .............................................................................................................................................. 12

7.1 Scenario 1 – Converting a regular DSO to an In-Memory Optimized DSO .............................................................................................. 12

7.2 Scenario 2 – Converting a regular InfoCube to an In-Memory Optimized InfoCube ................................................................................. 17

7.3 Scenario 3 – Creating a Semantically Partitioned Object (SPO) .............................................................................................................. 22

8 Using Mixed Scenarios with SAP NetWeaver BW on SAP HANA .................................................................................................................... 33

8.1 Scenario 1 – Using a Composite Provider to join Transient Provider with a Data Store Object ............................................................... 34

8.2 Scenario 2 – Create a Virtual Provider based on HANA Model with an aggregated view ......................................................................... 50

8.3 Scenario 3 – Create a BEx Query and leverage the counting functions of the OLAP Engine ................................................................... 62

8.4 Scenario 4 – Reporting on a Transient Provider using BI Authorizations ................................................................................................. 67

8.5 Scenario 5 – Create / Change a Composite Provider Join Type .............................................................................................................. 72

8.6 Scenario 6 – Using a Composite Provider to join with Master data to display Navigational Attributes ...................................................... 77

9 Using BW Workspaces with SAP NetWeaver BW on SAP HANA .................................................................................................................... 79

9.1 Scenario Overview .................................................................................................................................................................................. 79

9.2 Scenario 1 – Check and Validate the BW Workspace definition .............................................................................................................. 80

9.3 Scenario 2 – Upload Customer ABC rating file ........................................................................................................................................ 83

9.4 Scenario 3 – Upload temporary Inventory file and join with Central Sales and Customer rating ............................................................... 94

10 BI scenarios for business analysts / managers............................................................................................................................................... 101

10.1 Configuring your mobile device ........................................................................................................................................................ 101

10.1.1 Installation on iOS: ...................................................................................................................................................................... 101

10.1.2 Installation on Android: ................................................................................................................................................................ 101

10.1.3 Configuring Mobile BI .................................................................................................................................................................. 102

10.1.4 Configuring SAP BusinessObjects Explorer ................................................................................................................................. 102

10.2 SAP Lumira with SAP NetWeaver BW on SAP HANA ...................................................................................................................... 103

10.2.1 Exercise 1: Connect to the SAP HANA model ............................................................................................................................. 103

10.3 SAP BusinessObjects Explorer with SAP NetWeaver BW on SAP HANA ........................................................................................ 117

10.3.1 SAP BusinessObjects Explorer – Exercise 1 ............................................................................................................................... 117

10.4 SAP BusinessObjects Predictive Analysis with SAP NetWeaver BW on SAP HANA ........................................................................ 129

11 BI Scenarios for Power Users ........................................................................................................................................................................ 144

11.1 Configuring your mobile device ........................................................................................................................................................ 144

11.1.1 Installation on iOS: ...................................................................................................................................................................... 144

11.1.2 Installation on Android: ................................................................................................................................................................ 144

11.1.3 Configuring Mobile BI .................................................................................................................................................................. 145

11.1.4 Configuring SAP BusinessObjects Explorer ................................................................................................................................. 145

11.2 Crystal Reports for Enterprise and SAP NetWeaver BW .................................................................................................................. 146

11.2.1 Scenario Overview ...................................................................................................................................................................... 146

11.2.2 Exercise 1: Create your first Crystal Reports with SAP NetWeaver BW ....................................................................................... 146

11.2.3 Exercise 2: Create your first hierarchical Crystal Reports ............................................................................................................ 163

11.3 Web Intelligence and SAP NetWeaver BW ....................................................................................................................................... 176

11.3.1 Scenario Overview ...................................................................................................................................................................... 176

Page 3: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

3

11.3.2 Exercise 1: Creating your first Web Intelligence report with SAP NetWeaver BW data ................................................................ 176

11.3.3 Exercise 2: Creating your first hierarchical Web Intelligence report with SAP NetWeaver BW data.............................................. 190

11.4 SAP BusinessObjects Analysis, Edition for Microsoft Office and SAP NetWeaver BW ..................................................................... 200

11.4.1 Download of SAP BusinessObjects Analysis, edition for Microsoft Office .................................................................................... 200

11.4.2 Installation of SAP BusinessObjects Analysis, edition for Microsoft Office ................................................................................... 202

11.4.3 Exercise 1: Creating your first workbook ...................................................................................................................................... 204

11.4.4 Exercise 2: Using SAP BW Workspaces with SAP BusinessObjects Analysis, edition for Microsoft Office .................................. 226

11.5 SAP BusinessObjects Analysis, edition for OLAP ............................................................................................................................. 232

11.5.1 Exercise 1: Creating your first report using SAP BusinessObjects Analysis, OLAP edition .......................................................... 232

11.6 SAP BusinessObjects Explorer with SAP NetWeaver BW on SAP HANA ........................................................................................ 251

11.6.1 Exercise 1: Configuring central SAP HANA connectivity .............................................................................................................. 251

11.6.2 Exercise 2: Creating a connection for SAP HANA using the Information Design Tool .................................................................. 254

11.6.3 Exercise 3: Creating an Information Space on top of SAP NetWeaver BW .................................................................................. 257

11.7 SAP BusinessObjects Design Studio with SAP NetWeaver BW on SAP HANA ................................................................................ 274

11.7.1 Exercise 1: Creating your first application .................................................................................................................................... 274

11.7.2 Exercise 2: Create your second mobile dashboard ...................................................................................................................... 289

11.8 Importing the SAP NetWeaver BW model to SAP HANA .................................................................................................................. 297

11.8.1 Exercise 1: Importing a InfoProvider into SAP HANA as analytical model .................................................................................... 297

11.8.2 Exercise 2: Creating a Query Snapshot ....................................................................................................................................... 302

Page 4: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

4

Disclaimer

The information in this presentation is confidential and proprietary to SAP and may not be disclosed without the permission of SAP. This presentation is not subject to your license agreement or any other service or subscription agreement with SAP. SAP has no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation and SAP's strategy and possible future developments, products and or platforms directions and functionality are all subject to change and may be changed by SAP at any time for any reason without notice. The information in this document is not a commitment, promise or legal obligation to deliver any material, code or functionality. This document is provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. This document is for informational purposes and may not be incorporated into a contract. SAP assumes no responsibility for errors or omissions in this document, except if such damages were caused by SAP´s willful misconduct or gross negligence. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.

Page 5: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

5

1 Introduction

This document outlines the necessary steps to connect to your SAP NetWeaver BW on SAP HANA landscape in combination with SAP BusinessObjects BI 4.x The systems that are being used are:

- SAP NetWeaver BW 7.31 - SAP HANA SP06 - SAP BusinessObjects BI 4.0 SP07

The document is split into two sections:

- The first section is focused towards BI / DWH managers interested in the final results that are now possible with SAP NetWeaver BW on SAP HANA and SAP BusinessObjects BI 4.x.

- The second section is focused more towards BI / DWH implementation teams and power users that are interested in learning on how to create the new data models and the BI content.

Page 6: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

6

2 Logon Details

The following table shows all the required logon credentials.

SAP BusinessObjects BI4 System

BI4 Server Name SBOP4

BI4 Administrator administrator

BI4 Administrator Password Welcome! (case sensitive)

BI4 Administrator Authentication Enterprise

BI4 SAP Credentials Demo

BI4 SAP Credentials Password Welcome! (case sensitive)

BI4 SAP Credentials Authentication SAP

BI4 Operating System User DEMO

BI4 Operating System Password Welcome!

SAP NetWeaver BW System

SAP BW System ID BWH

SAP BW Server Name imdbhdb.sapcoe.sap.com

SAP BW Client Number 001

SAP BW System Number 01

SAP User ID DEMO

SAP User password Welcome! (case sensitive)

SAP HANA System

SAP HANA System ID HDB

SAP HANA Server Name imdbhdb.sapcoe.sap.com

SAP HANA System Number 00

SAP HANA User DEMO

SAP HANA Password Welcome! (case sensitive)

Linux OS User

Linux OS User bwhadm

Linux OS Password Admin1234

Page 7: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

7

3 Amazon AMI Details

The following table shows which AMI ID contains which software

AMI ID

ami-53105b3a SAP BW on SAP HANA on Linux OS

ami-e12c6788 SAP BusinessObjects BI 4.0 Client and Server based on

Windows OS

4 Starting and Stopping systems

After you received the eMail with the link to the SAP Cloud Appliance Library (SAP CAL), you will be able to find the details for the instances as part of the SAP Cloud Appliance Library.

On the tab Instances you can find the entry for the deployed solution. Please note that there is only one entry, as this is treated as a solution.

By clicking on the line item on the tab instances, you can then see the complete details of the instances that were created and you are also able to receive the IP Addresses for each of the system (left hand side).

Page 8: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

8

In case you would like to suspend, or stop, or restart, or terminate the systems, it is highly recommended that such tasks are performed using the SAP Cloud Appliance Library and not directly the AWS Management Console as in that way configurations such as the IP numbers are automatically assigned to the correct systems. You can find all those options on the Instances tab on the right hand side.

Page 9: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

9

5 Connecting to your environment

To start your hands-on activities follow these steps to establish a Remote Desktop connection to the hosted environment. In the following sections we show the needed steps to start Remote Desktop Connection on your operating system.

5.1 Remote Desktop Connection - Windows 7

1. Click Start. 2. Select Programs. 3. Select Accessories. 4. Select Remote Desktop Connection.

5. Enter the given IP number for the SAP BusinessObjects Server into the field Computer. 6. Click Options. 7. Navigate to the tab Display.

8. Ensure the Display Configuration is moved to the far right so that it says Full Screen. 9. Click Connect.

You will then be asked to enter the user and password to logon to the SAP BusinessObjects server.

Page 10: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

10

5.2 Remote Desktop Connection - Windows XP

1. Click Start 2. Select Programs. 3. Select Accessories. 4. Select Communications. 5. Select Remote Desktop Connection.

6. Enter the given IP number for the SAP BusinessObjects Server into the field Computer. 7. Click Options. 8. Navigate to the tab Display.

9. Ensure the Display Configuration is moved to the far right so that it says Full Screen. 10. Click Connect. You will then be asked to enter the user and password to logon to the SAP BusinessObjects server.

Page 11: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

11

6 Starting your SAP NetWeaver BW system

After you started the systems on SAP HANA Marketplace you will need to start the SAP NetWeaver BW services.

1. Logon using Remote Desktop to your SAP BusinessObjects BI 4.x environment. 2. After you logged on to the environment you can see the icon for the SAP Management Console on the desktop.

3. Double-Click on the icon.

4. Select the BWH instance. 5. Select the menu Action > Start to start the SAP NetWeaver BW instance. 6. When asked to provide user credentials, use the Linux OS user bwhadm.

Page 12: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

12

7 Data modeling scenarios for BW Administrators

In the next set of scenarios you will learn more about the new data modeling capabilities of SAP NetWeaver BW on SAP HANA.

7.1 Scenario 1 – Converting a regular DSO to an In-Memory Optimized DSO

In this section we will convert a regular Data Store Object (DSO) to an In-Memory Optimised DSO and we will convert a regular InfoCube to an In-Memory optimized InfoCube.

Explanation Screenshot

Step: Convert to an In-

memory optimized DSO

1. Login to the system

Launch the SAPLogon pad

on the desktop and choose the system BWH.

Please use the following user to logon to the system:

DEMO

2. Go to transaction RSA1

Page 13: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

13

Note: Select “InfoProvider” in the left hand pane, if it is not already. This should display several folders on the right hand pane.

3. Under the “IMO_DSO” InfoArea locate the “DSO 01 for migration” DSO object

4. Right click on the DSO object and select Change

Note: This will open up a new pane with the DSO in edit mode.

Page 14: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

14

5. Under the Settings section for ‘In-Memory Optimized’ the check box is not selected. Indicating it is a regular non-memory optimized DSO.

6. Open a new screen with transaction “/OSE11”. And look at the definition of table “/BIC/ADSO_0100”. You should see a similar definition as shown here. Take a screen shot of this screen to compare the changes after conversion.

Page 15: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

15

7. Go back to your previous screen where you have the DSO in edit mode. Under ‘Settings’ section turn on the check box for ‘In-Memory Optimized’.

8. Click to activate the DSO. Confirm that you receive a success message at the bottom of the screen. Check the Object Status to confirm the DSO is active.

9. Go back to the other screen displaying the table definition. To refresh the screen, back out of that screen (Hit F3 or

) and hit ‘Display’ again to display the table definition.

This field is not available for reporting purposes and is not visible in the query

Page 16: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

16

Notice that a new field “IMO__INT_KEY” is added to the table.

designer. This field is a technical field only and is used by HANA data base.

10. Go back to the other screen where the DSO is still in change mode. Back out of that screen (Hit

F3 or click ) which should return you to the Data Warehousing Workbench. Now alongside your DSO you should notice a new icon which indicates it is an In-Memory Optimized DSO object.

Page 17: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

17

7.2 Scenario 2 – Converting a regular InfoCube to an In-Memory Optimized InfoCube

In this section we will convert a regular InfoCube to an In-Memory Optimised InfoCube.

1. Go to transaction RSA1

Note: Select “InfoProvider” in the left hand pane, if it is not already. This should display several folders on the right hand pane.

2. Under the “IMO_CUBE” InfoArea locate the cube “Convert to IMO CUBE”.

3. Right click on your Cube and select Display.

Page 18: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

18

4. Under the Settings section you see one entry indicating it’s a standard InfoCube.

5. Using the menu ‘Extras’ and select the option “Information (logs/status)”

Page 19: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

19

6. In the new popup screen click “Dictionary/DB status”

7. This new popup screen should display the different tables that form this regular InfoCube. Notice the ‘F – Fact table’ and the ‘E – Fact table’ and the various dimension tables are displayed as expected. Take a screen shot of these tables to compare it later.

8. Back out of the two popup screens to display the InfoCube in display mode

(Click Enter or twice)

Ensure you are in display mode for the cube before you proceed to the next step.

Page 20: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

20

9. Use the ‘Goto’ menu and select the option “Conversion to SAP HANA-Optimized”.

10. In this new screen you should already see the technical name of your InfoCube populated for the option ‘Standard InfoCube’. With the default options selected click execute (Hit

F8 or ) Confirm the popup message indicating it was successfully activated.

11. Back out of this screen to go back to the InfoCube display mode. Notice that there is a new entry under the ‘Settings’ section named ‘Subtype’ indicating this is now a “SAP HANA Optimized Infocube”

12. Now let’s look at the new tables that make up the In-memory Optimized InfoCube.

Page 21: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

21

To locate the tables, use the menu Extras -> Information (Logs/status) -> Dictionary/DB status. Notice that now the InfoCube is made up of only 2 tables. Of this the “D” table is where technical information like Request ID and other related information. The “F” table is where the transaction data resides (master data SID’s and key-figures).

13. Go back to the Data Warehousing Workbench and notice that your cube has a new icon indicating it is an In-memory Optimized InfoCube.

Page 22: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

22

7.3 Scenario 3 – Creating a Semantically Partitioned Object (SPO)

In this section we will create a new Semantically Partitioned Object (SPO).

Explanation Screenshot

Step: Create a SPO object based on InfoCube

1. Call transaction RSA1 and navigate to the InfoArea “IMO_SPO” ‘Semantically Partitioned Object’.

2. Use a right mouse click on this InfoArea and select ‘Create InfoCube…’

3. In the popup screen provide a technical name for the SPO. Use the following naming convention SPO_01. Provide an appropriate description. For the Template option us the technical name of the InfoCube that was

Page 23: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

23

converted to the In-memory Optimized InfoCube in exercise 2 [CUBE_01].

4. At the bottom half of the popup screen, select the check box ‘Semantically partitioned’.

Click to create the object.

5. Use a right mouse click on the ‘Time’ dimension and select the menu option ‘InfoObject Direct Input’ On the popup screen enter ‘0CALYEAR’ and hit enter. Hit continue at the bottom of the screen.

6. From the second pane click ‘Maintain Partitions’

Page 24: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

24

7. In the popup screen select and transfer ‘0CALYEAR’ from the left hand side to the right hand side.

Then click ok at the bottom of the screen.

8. In the new pane create partitions to accommodate the previous year, current year and next year. To create new partitions

click .

9. Add appropriate years to the “From” column as shown here in the screenshot on the right hand side.

10. Click ‘Save’ at the top of the screen.

Page 25: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

25

11. Next from the second pane click ‘Start Activation’. This will create the necessary number of part providers of type InfoCube.

12. You should receive a confirmation popup screen indicating the necessary part providers were created.

Click to continue.

Page 26: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

26

13. Now under the section

‘Further Options’ the option “Create Transformation” should be enabled. Click ‘Create Transformation’ to create transformations between these part providers and the source. As an example let’s use the InfoCube created in exercise 2 as the source for these part providers.

Note: In the section ‘Target of the Transformation’ the Object Type InfoSource is selected. This is a dynamically generated InfoSource which is used to connect the source and these part providers.

Click to continue.

14. A generic transformation is created.

Note: A customer would modify this transformation as necessary to include any business logic.

Click to activate this transformation. Accept any warnings that you receive.

Page 27: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

27

15. Once the transformation is activated successfully the next option “Create Data Transfer Process" is enabled. Click this to create a Data Transfer Process (DTP) to load each of the part providers.

16. Under the section “DTP Template” create a new template which allows to load from an InfoCube (as a source) to a InfoCube (as a target)

Note: The reason we are not using a standard template is because it is used to load data from a DataSource. In this case we have chosen to load from an InfoCube. Hence the need to build a new DTP template.

Page 28: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

28

17. On the popup screen enter an appropriate description. Enter CUBE_2_CUBE to create a unique template.

Hit ‘Enter’ to continue.

18. In the popup screen make sure InfoCube is selected as an option for the Data Source. Accept the default values for the rest of the sections.

Click ‘Save’ to continue.

19. Next task is to create a DTP for each of the part provider using the template DTP that we just created. For this first make sure the ‘InfoCube’ template is selected. Second select all the part providers that are created under this SPO. Third select the source InfoCube. Lastly click “Assign” to create DTP for each part provider.

Page 29: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

29

20. This should assign a DTP to each of the part providers. Select the inactive DTP’s and click “Generate”.

21. All the DTP’s should now be assigned and active.

22. Click “Create Process Chain” on the ‘Object maintenance’ pane. This will create a process chain and assign all the DTP’s in there.

Page 30: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

30

23. Select all the DTP’s and click on “Add” in the right hand pane to add them to the process chain that will be created.

24. These DTP’s should now appear in the right hand pane.

Note: Using a combination of ‘Path’ & ‘Sequence’ columns you can change the order in which the DTP’s are executed (in series or parallel).

Click ‘Save’ at the top to assign the DTP’s to the process chain.

25. The DTP’s should now be assigned to the process chain.

26. Click Generate. . This should take you to a new screen. In this screen click ‘Change Selection’.

Page 31: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

31

27. In the new popup screen click ‘Immediate’ and hit

Save.

Click on the ‘Maintain Start Process’ screen.

28. All the components of the object maintenance should now be active.

29. Now to go transaction RSPC and look up the process chain that was generated. You should be able to locate it in the ‘Generated By Semantically partitioned Object’ folder in the ‘Unassigned Nodes’ folder

Page 32: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

32

You will notice that as expected the DTP’s will now run in parallel

Page 33: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

33

8 Using Mixed Scenarios with SAP NetWeaver BW on SAP HANA

In the following scenarios we will combine data from SAP NetWeaver BW (Budget Information) with data stored in a HANA table (Actuals).

The actuals are stored in a HANA table which is updated by credit card data in real-time. Based on this Expense table the session will work with two HANA calculation views:

CalcView 1 (Detailed) : expenses per employee including employee ID

CalcView 2 (Aggregated): expenses per cost center including an employee counter

Beside the real-time data we also have normal staged BW data where the cost budget for each cost center is been planned:

Page 34: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

34

8.1 Scenario 1 – Using a Composite Provider to join Transient Provider with a Data Store Object

Explanation Screenshot

Step: Create a Transient

Provider to publish the

HANA model to BW

1. Login to the system

Launch the SAPLogon pad

on the desktop and choose the system BWH.

Please use the following user to logon

DEMO

Note: If you want to go directly to the query built on the composite provider (which uses the Transient provider & DSO), use query - Z361_CP1_MST_1 (Actuals & Budgets using Transient provider) in Step 28

2. Go to transaction RSDD_HM_PUBLISH

Note: This is the new transaction to maintain Transient Provider for BW on HANA to publish HANA models to

Page 35: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

35

BW. You can either use the transaction code or browse via your assigned user menu to the transaction “RSDD_HM_PUBLISH - Publish SAP HANA Model”

3. Under package select “eim361”.

Note: Use the F4 help to look up the value rather than type it in, as the values are case sensitive. For SAP HANA Information Model select STUDENT00_1

Note: This is the detailed analytical view where the expenses for each employee are shown.

4. Click Create - Accept the default name for the new Analytic Index and

hit enter

Page 36: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

36

5. In the new screen the details of the Analytic Index are displayed.

An analytical index is a data container whose data is stored in HANA and is used to generate a Transient Provider in BW.

6. In the Properties tab change the Description to “STUDENT00_1 - Actual Expenses in Detail”

7. Select the InfoArea “TPCP” (Transient + Composite Provider)

Page 37: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

37

8. Navigate to the Chars. and Key Figs tabs to notice the fields that are imported from HANA Analytical view.

Note: No changes needed here, accept the defaults .

9. Click to save the Transient Provider

Page 38: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

38

Step: Create a Composite

Provider to join DataStore

Object and Transient

Provider

1. Go to transaction RSA1. In the Data Warehousing Workbench screen make sure the item InfoProviders is selected in the left hand pane. Right click on the InfoArea TPCP (Transient + Composite Provider) and select “Create CompositeProvider…” OR Go to transaction RSLIMOBW to create a Composite Provider

2. Provide a technical name for the Composite Provider. Use the following naming convention Z361C00_1

Note: The maximum length is 10

Page 39: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

39

characters.

Click Enter or hit Create

- in the

appropriate screen

Close a few panes to ensure the right InfoProvider tree is displayed and you have enough screen space to model the composite provider correctly.

Note: Ensure that you are left with a pane that says ‘Analytical Index Selection’ for the InfoProvider tree.

3. This is a new environment to build join models via the Composite Provider. The box shown with the name of your Composite Provider indicates the output area. Meaning any fields on which you want to report on is added to this.

Page 40: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

40

4. Expand the left hand pane to display all the available InfoProvider to have a better overview.

5. Expand the InfoArea TPCP and select your Transient Provider STUDENT00_1 created in the prior steps.

Page 41: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

41

Drag the Transient Provider to the right hand pane (in the white space), which is the modeling area.

6. A popup screen to select the join type should appear. This join type is the relation of the Transient Provider to the Output / further object to join. Change Binding Type to

“Union” and confirm .

Note: Even though Union is selected here, this is just adding the selected objects as the left part of

the join condition.

Page 42: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

42

7. Now the Transient Provider should be available in the modeling area.

Note: Ensure the ‘Join Type’ union shows up in the title of the Transient Provider.

8. From the left hand pane now drag and drop “Cost Center Allocation – Budget” DataStore Object - ZBDGT to the modeling area like you did for the Transient Provider.

9. Make sure the Binding Type is set to ‘Join’.

10. Use the default value for the Alias Name.

11. Confirm the values .

Note: This second provider acts as the right part of the join and this is where we can specify if the second objects joins with the first object in which type (Inner, Outer, Union). The default is ‘Inner Join’.

Page 43: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

43

12. Now both objects are available for modeling a Composite Provider.

In the modeling area you see now all necessary objects: 1. All fields of your Transient Provider 2. Output / target list to define the structure or result of your Composite Provider 3. All InfoObjects of the DataStore Object

Note: Notice that the title of the second objected added has ‘Inner Join’.

13. Drag and drop the field “COST_CENTER” of the Transient Provider to the Output in the middle.

Note: Also make sure you drag from the DSO to the output and not the other way around.

In addition also add the following fields to the output:

EMPLOYEE

EXPENSE_TYPE

CURRENCY

CALMONTH

AMOUNT The output should now have all the fields mentioned above from the Transient Provider in the Output .

Page 44: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

44

14. Map the fields of the ZBDGT DSO to the Output by drag and drop.

Note: Also make sure you drag from the DSO to the output and not the other

way around. Start by connecting “Cost Center” from the DSO to the output field COST_CENTER. This will define a join condition on these two fields.

15. Second join the “Calendar year/month” field of the DSO to output field “CALMONTH”. With this the necessary fields for join condition are defined correctly.

16. Now add “Currency Key” and “Company code” to the output.

Note: Make sure you add ‘Currency Key’ to the output without a join. Basically dragging them to the bottom of the output list. As this will result in querying only records where common currencies exist.

Note: If the currency and unit fields are added prior to adding key-figures the system will automatically associate the right key-figure with the right currency/unit.

Page 45: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

45

17. Finally add key figure “Amount” of the DataStore Object to the output. (Do not join the two Amount fields, since we need both of them as separate fields).

Note: The system automatically recognizes that “Currency Key” is the corresponding currency for the Key Figure and assigned it by itself.

18. Change the properties of the Output fields. Use a right-click and open the context menu on the Amount field (of TransientProvider) and, select the menu Change Property -> Change. This key figure coming from TransientProvider is showing the actual value hence change the name and long description to “Actuals” Since there is no currency key assigned so far, please select “CURRENCY”.

Page 46: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

46

19. Do the same for the other “Amount” field from the DSO which is Budget values. Change the description to Budget

20. All join types and output field are now assigned. You screen should like this.

21. Change the Description of your CompositeProvider to ”Actuals & Budget”

Save and activate

Note: The Name is generated automatically with syntax @3Z361C00_1

22. After activation make sure you receive a success message at the bottom of the screen.

23. Click (Display Data).

Page 47: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

47

24. Select “Cost Center” & “CALMONTH” as characteristics and “Actuals” & “Budget” as "KeyFigures for output.

Step: Create Query on top

of Composite Provider

1. Launch the BEx Query Designer tool from the menu Start > Programs > Business Explorer Logon to the BWH System with the given user id.

Page 48: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

48

2. Create a new BEx query based on your Composite Provider Z361C00_1

3. Search for technical name @3Z361C00_1 and create a new query

4. Select the following characteristics and key figures and drag and drop them correspondingly to the Columns and Rows like shown on the right side: Free Characteristics CURRENCY Currency Company Code CALMONTH EXPENSE_TYPE Rows COST_CENTER EMPLOYEE Columns Actuals Budget

5. Save the query and name it Z361_CP1_00_1 Description: “Actuals & Budget per Employee”

Page 49: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

49

6. Check the results by executing the query in transaction RSRT and insert your Query Z361_CP1_00_1 Change “Query Display” to “HTML” and click on “Execute” You should now see a similar out as shown here.

Page 50: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

50

8.2 Scenario 2 – Create a Virtual Provider based on HANA Model with an aggregated view

Explanation Screenshot

Step: Create VirtualProvider to publish the HANA model to BW

1. Call transaction RSA1 and create a Virtual Provider. Use a right-click and open the context menu on InfoArea TPCP ( Transient + Composite Provider) and select the menu “Create Virtua lProvider”

Note: If you want to go directly to the query built on the composite provider (which uses the Virtual provider

& DSO), use query - Z361_CP2_MST_1 ( Actuals & Budgets using Virtual provider ) in Step 35

2. Enter Z361V00 as the technical name for the VirtualProvider. Enter “Costs per Cost Center” as the description. Under ‘InfoProvider Type’ select “based on HANA Model” as the option.

Page 51: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

51

Note: This is a new option for BW on HANA systems, which allows users to pick a HANA view. Select the corresponding radio button. Press “Details” to specify the details to our HANA view.

3. Select under “Package” the value “eim361”. Select under “HANA Information Model” the HANA view : STUDENT00_2

Confirm your selection.

Note: This is the only chance to select the view to create the provider, once selected it cannot be change.

4. Click ‘Create’ to create the Virtual provider.

5. Under the InfoCube maintenance screen add the following InfoObjects via direct Input to the corresponding dimension: Use a right mouse click on Dimension1 and select the menu option “InfoObject Direct Input” and enter the following InfoObjects in the list:

ZCOSTCTR

ZEMPLOYEE

ZEXPND_TY Use a right mouse click on the Time dimension and select the menu option ‘InfoObject Direct Input’ and enter the following

Page 52: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

52

InfoObject in the list:

0CALMONTH

Use a right mouse click on the KeyFigures folder and select the menu option “InfoObject Direct Input” and enter the following InfoObjects in the list:

ZAMT

ZCOUNTER

6. Finally the following InfoObjects should be assigned to your VirtualProvider as Characteristics and Key Figures.

7. Maintain the mapping to the fields of the HANA View to the BW InfoObjects.

Use a right click to open the context menu of the top level folder “Dimensions” and select the menu option “Provider-Specific InfoObject Properties”.

8. For each BW field under the column ‘Attribute Name (HANA) select via input help the corresponding attribute view in HANA and assign them: 0CALMONTH – CALMONTH 0CURRENCY – CURRENCY ZCOSTCTR – COST_CENTER ZEMPLOYEE – EMPLOYEE

Page 53: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

53

ZEXPND_TY – EXPENSE_TYPE

Note: Make sure you use the value help to select the right fields rather than type it in. As mentioned earlier the field names in BW need not match field names in HANA.

9. Do the same now for the KeyFigures. Maintain field mapping of the HANA Model to the BW key figures. Use a right-click to open the context menu of folder Key Figures and select the menu option “Provider-Specific InfoObject Properties”. For each BW field under the column ‘Attribute Name (HANA) select via input help the corresponding attribute view in HANA and assign them :

ZAMT – AMOUNT

ZCOUNTER - EMPLOYEECOUNT

10. Activate your Virtual Provider. Accept the warnings and activate the Virtual Provider.

Page 54: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

54

11. Use a right-click and open the context menu for your InfoProvider and select “Display Data” or call transaction LISTCUBE and select all InfoObjects to check if the direct access is working.

Note: A VirtualProvider is a direct access to the source system. In the shown scenario we are accessing during the selection on our VirtualProvider a HANA View.

Page 55: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

55

Step: Create a Composite Provider based on a Virtual Provider and a Data Store Object

1. In transaction RSA1 under the InfoArea “TPCP” (Transient + Composite Provider) use the context menu to create your second CompositeProvider with name: Z361C00_2

Page 56: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

56

2. From the left hand pane locate the virtual provider Z361V00 and drag & drop it to the modeling area.

3. Select as Binding Type the value “Union” and confirm

.

4. Drag and drop the DataStore Object ZBDGT to the modeling area. Select as Binding Type the value “Join” and leave the default Alias Name.

Confirm your selection

5. Drag and drop all the fields of the Virtual Provider (Left object) to the Output like shown.

Page 57: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

57

6. Map the InfoObjects of the DataStore Objects (right objects) to the Output. Join fields Cost Center from both the objects by dragging the field from the right side on top of the field present in the output. Similarly drag and drop Calendar year/month from right on top of the Calendar Year/Month field in the output. Add Currency key and Amount as separate fields by dragging them to the bottom of the list in the output.

Note: Adding fields to the bottom of the list will ensure there is no join on fields.

7. Change the display properties of the output fields. Rename the amount of Virtual Provider as “Actuals” Rename the amount of DataStore Object as “Budget” Rename field “Counter” to “No_Emp” with description “No. Employees”. To rename a field use right mice click on the field in the output pane and select ‘Change’ under ‘Change Property’ menu. In the popup screen under name and description provide the appropriate values.

Page 58: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

58

8. Change the description “Actuals & Budget with Employee Count”.

9. Save and activate your CompositeProvider

Note: The name is generated automatically with syntax the @3Z361C00_2.

10. To display Data click . In the next screen click ‘Fld Select for Output’ and in the following screen select the check box against fields Cost Center, Budget, Actual and Counter fields and execute at the top. Click execute in the next screen to display data.

Note: Counter is now showing the counted result of all employee values aggregated by Cost Center. The calculation is happening in the HANA layer and BW is receiving the calculated aggregated value without any transparency on how this aggregation is happening.

Page 59: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

59

Step: Create a BEx Query based on your second Composite Provider and leverage BW master data

1. Launch the BEx Query Designer from the menu Start > Programs > Business Explorer and create a new Query based on your Composite Provider Z361C00_2. Choose the menu “Query New”. Find your Composite Provider with technical name @3Z361C00_2 and create a new query.

2. Assign the characteristics and key figures to the corresponding areas.

Free Characteristics Calendar Year/Month Rows Cost Center Key Figures Actual Amount Budget Amount Counter

Page 60: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

60

3. Select the InfoObject “Cost Center” and choose the properties tab “Hierarchy”

Note: Since both VirtualProvider and DataStore Object are using BW InfoObjects you can now leverage BW master data.

4. Assign the Cost Center Hierarchy to the InfoObject

Note: Full BW master data features with VirtualProvider are possible, example Nav. Attributes as well

The property window should now look like this.

5. Save your query with the name

Z361_CP2_00_2 – “Actuals & Budget per Cost Center (HANA Counter)”

Page 61: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

61

6. Go to transaction RSRT and validate your result by executing the result

Note: Drill down by the Cost Center hierarchy and see that the HANA employee counter is working.

Page 62: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

62

8.3 Scenario 3 – Create a BEx Query and leverage the counting functions of the OLAP Engine

Explanation Screenshot

Step: Create a BEx Query including an employee counter parsed by the OLAP engine to compare the two counting options (BW and HANA)

1. Create new BEx query based on your first Composite Provider.

Search for your CompositeProvider @3Z361C00_1

Note: If you want to go directly to the query built on the composite provider (which uses the Transient Provider & DSO), use query - Z361_CP1_MST_2 (Actuals & Budgets using BW OLAP for Employee counter) in Step 10

Page 63: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

63

2. Assign the InfoObjects to the corresponding query area like shown in the screen shot on the right hand side.

3. Create a new Calculated Key Figure for counting the employees per Cost Center.

Use a right mouse click on the element Key Figures in the left hand InfoProvider pane and choose “New Calculated Key Figure”

4. A new calculated Key Figure is created and the “Properties” pane will appear.

Page 64: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

64

5. Enter the following description and technical name under tab “General”: Description = Employee Counter Technical name: Z361_CKF_00 Click edit and enter “1” as the value.

6. Next go to the “Aggregation” tab and choose: Exception Aggregation: “Counter for all Detailed Values” Ref. Characteristics: Employee Select check box “Calculation After Aggregation”. Confirm the values by clicking OK.

7. Drag and drop your calculated key figure “Employee Counter” to the columns as well and save your query. Click on the ‘Save All’ button at the top to save both the Calculated key-figure and the query.

Page 65: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

65

8. On the popup for ‘Save your calculated key-figure’ provide a technical name and description and click OK Description: Employee Counter Technical Name: Z361_CKF_00.

9. Save your query with the name Z361_CP1_00_3 and description “Actuals & Budget per Employee (BW Counter)”

10. Check and validate your result via transaction RSRT

11. Compare the different implementations.

Open a second screen for transaction RSRT and execute Query Z361_CP2_00_2 to compare the results.

By executing both queries you’ll probably recognize that the overall result of employees counted differ. The hierarchy of query Z361_CP2_00_2 was showing 34 as top level sum. So where are the two additional employees coming from /or where are they excluded? Drill down in query to get further details in both queries:

Query result - Z361_CP1_00_3

Query result - Z361_CP2_00_2

Drill down - Z361_CP1_00_3

Page 66: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

66

Filter on CostCenter “C01” and “D01”

Drill down by

Employee

Note: The Drill down shows you that there are employees which are assigned two times to a cost center. See employee “80018” who is assigned to “D01” and “C01”.

The difference is now that BW exceptional aggregation is counting the distinct employees and calculating the sum line accordingly, which is the right way to count number of employees. So, when you have a key figure calculated in HANA and combining that with BW features like Hierarchy aggregation, we have to make sure that we aren’t mixing up different types of aggregations. In this case the solution would be to suppress the summation line because the aggregation for itself happening in HANA.

Drill down - Z361_CP2_00_2

000

Page 67: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

67

8.4 Scenario 4 – Reporting on a Transient Provider using BI Authorizations

Explanation Screenshot

Step: Create a Transient Provider leveraging BW Authorizations

1. Change your existing TransientProvider Go to transaction RSDD_HM_PUBLISH and select the Catalog eim361 and the HANA Information Model STUDENT00_1

Note: HANA views can only published once via TransientProvider, therefore we have to change the existing one. Click on Change

2. Go to tab “Chars.” and assign InfoObject ZCC_AUTH to the field “COST_CENTER” under the Ref. InfoObject column.

Click ‘Save’.

Note: Make sure that the authorization flag is turned on for Transient Provider.

Page 68: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

68

3. Create a new BEx query based on TransientProvider @3STUDENT00_1. Go to the BEx query designer and search for your TransientProvider.

4. Turn the technical names on.

Note: The fields of the TransientProvider are offered as a “Characteristic Catalog” which is the field’s definition maintained in RSDD_HM_PUBLISH.

5. Select all the objects offered by your TransientProvider and distribute them into the corresponding query areas.

Note: There is no integration into BW master data, beside the reference InfoObject Cost Center.

Page 69: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

69

6. Create a new Authorization variable. Use a right mouse click on the folder ‘Characteristic Value Variable’ under COST_CENTER and select the menu option ‘New Variable’. In the properties pane, provide a technical name and description for the variable. Technical name: ZCC_AUTH_VAR Description: Cost Center Auth Variable. For Processing Type select ‘Authorization’ from the drop down. Click the ‘Details’ tab in the properties pane. Under Basic Settings for Variable Represents select ‘Selection option’ from the drop down box.

7. Click Save on the properties pane.

8. Select the Authorization Variable for Cost Center and add it to the ‘Characteristics Restrictions’. This will utilize analysis authorization to populate appropriate values based on the roles assigned to the user during query execution.

Expand field COST_CENTER in your characteristic catalog and select the characteristic value variable ZCC_AUTH_VAR. Drag and drop it to the filter/ characteristic restriction.

Page 70: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

70

Note: Since Cost Center is modeled and referencing to the InfoObject master data we also have Display Attributes available.

9. Save your query with technical name “Z361_TP1_00_4” and descriptions “Actuals”

10. Check and validate your result via RSRT

Note: Since your user has sufficient authorizations you’ll see the result as expected.

11. Go to transaction RSUDO and start to execute the query as another user.

Page 71: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

71

12. Select “Execute as User” - <USER_ID> and leave the default value for the option “Possible Transactions” as value RSRT

Note: You will need to create a new user ID with limited analysis authorizations.

Choose “Start Transaction” Enter the necessary password to execute the query as another user:

13. Execute query Z361_TP1_00_4 with Query Display “HTML”

14. Select all available (since restricted) Cost Center values.

15. You are now reporting on a HANA View, using a TransientProvider by leveraging BW authorizations.

Page 72: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

72

8.5 Scenario 5 – Create / Change a Composite Provider Join Type

You can now choose between two optional scenarios.

Scenario 5a - Create a new CompositeProvider with new join type

Scenario 5b - Change your existing Composite Provider with the new join type

Explanation Screenshot

5a. Step: Create a new Composite Provider with new join type

Note: If you want to go directly to the composite provider (which uses the Transient Provider & DSO with left outer join), use provider - Z361C_MST3 (Actual & Budget (Left Outer Join)) in Step 6

1. In transaction RSA1 under the InfoArea “TPCP” (Transient + Composite Provider) use the context menu to create a new Composite Provider. Use the technical name “Z361C00_3”

Page 73: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

73

2. Add the Transient Provider STUDENT00_1 and the DSO object ZBDGT to the right hand modeling pane. Follow the same steps as Scenario 1 where you created a Composite Provider.

3. Now add the following fields from the Transient Provider to the output: Cost Center Employee Expense Type Currency Calmonth Amount Add the following fields from the DSO object to the output :

Calendar Year/Month Currency key Cost Center Amount

Note: As indicated in the screen (and as mentioned earlier) only join on Cost Center & Calendar Month only. You can follow the same steps mentioned in Scenario 1 of creating a composite provider.

4. Change the connection type to “Left Outer Join”. For this use a right mouse click on the title of the DSO object and select the menu option ‘Left Outer Join’ from ‘Connect as….

Page 74: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

74

5. Change the description of the Composite Provider to“Actuals & Budget” LEFT OUTER JOIN”

6. Save and activate . Verify your result.

7. What is the impact of the join type?

Page 75: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

75

Explanation Screenshot

5b. Step: Change your existing Composite Provider

Note: If you want to go directly to the query on composite provider (which uses the Transient Provider & DSO with left outer join), use query - Z361_CP3_MST_1 (Actuals & Budgets (Left Outer Join)) in Step 4

1. Start transaction RSA1.

2. In the InfoArea TPCP locate the Composite Provider Z361C00_1

3. Use a right-click on the InfoProvider and select the menu Change.

4. Use a right mouse click on the title of the DSO object and select ‘Left Outer Join’ from the menu ‘Connect as…’

Page 76: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

76

5. Save and activate .

6. Start transaction RSRT

7. Run query Z361_CP1_00_1 to verify the result

8. What is the impact of the changed join type?

Page 77: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

77

8.6 Scenario 6 – Using a Composite Provider to join with Master data to display Navigational Attributes

Explanation Screenshot

Step: Create a new Composite Provider with Master Data join

1. Create a new Composite Provider Z361C00_4

Go to transaction RSA1. Select the InfoArea TPCP. Use a right click and select the menu to create a new Composite Provider

or use transaction ‘RSLIMOBW’ to create a new Composite Provider

2. Add your Transient Provider STUDENT00_1 as Union and master data object “ZCOSTCTR” as binding type “Join”

Add the following fields from the Transient Provider:

Cost center

Employee

Calmonth

Currency

Amount

Page 78: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

78

3. Map the field “Cost Center” from the master data to the Output field COST_CENTER. Notice that now the navigational attributes are available to be added to the output. Join Controlling area and Business area to the output.

4. Change the description to: “Actuals with CC attributes“

Save and activate

5. Display data to validate to ensure you can view the navigational attributes.

Note: Since navigational attributes are not supported for TransientProvider this approach helps you to overcome this gap.

Page 79: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

79

9 Using BW Workspaces with SAP NetWeaver BW on SAP HANA

9.1 Scenario Overview

A BW Workspace is a dedicated area in a BW system where new models can be created based on central BW and local data (e.g. flat files). Workspaces can be maintained and controlled by IT and used by local departments to react quickly to new and changing requirements. Workspaces can bridge the gap between central governance requirements and local flexibility needs.

There is no need to copy central data of the SAP NetWeaver BW to the BW Workspace. The administrator simply assigns the relevant InfoProviders in a BW Workspace. Local data can be uploaded in the BW Workspace Designer by the key user in the line of business and can then be merged in new data models.

Local Provider

BW central, BWA-indexed InfoProvider

BW central InfoProvider, assigned to Workspace

CompositeProvider

Page 80: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

80

9.2 Scenario 1 – Check and Validate the BW Workspace definition

Explanation Screenshot

Step: Validate the BW

workspace that is already

created

1. Login to session system

Open the SAPLogon pad

on the desktop and choose the system BWH.

Please use the following user to logon

DEMO

Page 81: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

81

2. Go to transaction RSWSP and enter DEMO01 and hit display.

3. The setting tab is displayed by default. Below is a brief description of the fields in this tab.

Field Tab strip ‘Settings’

Remark Tab strip ‘Settings’

Workspace

Technical name of the Workspace

Workspace Prefix

A Workspace Prefix can be defined in the Workspace Maintenance but is not mandatory. In case it is defined, it has to be used for all objects created in the Workspace. Per default, the first three characters of the technical name of the Workspace are derived. Nevertheless this can be overwritten.

Expiry Date An expiry date can be defined to limit the lifetime of a Workspace. You are informed how many days the Workspace is still alive. When the expiry date is reached the Workspace is locked for usage.

MultiProvider

A MultiProvider can be assigned but this is also not an obligatory setting. In case a MultiProvider is assigned:

All its PartProviders are transferred automatically but you have to at least select one PartProvider by checking the relevant check box in tab strip ‘Central Provider’ (a later usage of these InfoCubes is not mandatory).

The links (field links and connection type UNION) are taken over automatically.

Analysis Authorizations defined on the MultiProvider level are taken into account.

Queries defined on MultiProvider level can be used as Referenced Queries (explanation will follow later in the ‘Model CompositeProvider’ step).

Maximum memory and number of providers

The BW/BWA Administrator can limit the amount of memory to be used on BWA/HANA by locally created objects in a Workspace. Also the number of objects to be used can be restricted in order to prevent uncontrolled growth.

Backup of data

If the BW/BWA Administrator has set this flag, all locally uploaded data in the Workspace is also saved on the BW database and can be recovered

Page 82: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

82

from there should any BWA indexes be lost/corrupt.

4. The second tab is ‘Central provider’. This include any multiprovider and its underlying part providers that can be used in building a ‘Composite Provider’.

5. The next tab is ‘Local Providers’. This contains any providers that are generated once users start to upload data to the workspace.

6. The next tab is ‘CompositeProvider’. This has any Composite provider created as a result of join activity in the workspace.

7. Finally the ‘Users’ tab. This has the list of users who have different kinds of access to this workspace.

Page 83: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

83

9.3 Scenario 2 – Upload Customer ABC rating file

Explanation Screenshot

1. Launch the ‘NetWeaver Business Client’ application. You can locate it in the start menu or search for it in the windows start menu.

2. Connect to BWH system using and the ID and password provided.

Page 84: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

84

3. Your initial screen should look something like this.

4. Click on “My Workspace” to launch the workspace you have access to. This should launch the workspace designer in the right hand pane. Default workspace for your ID might not have been setup, in which case you will receive an error message, please proceed to next step. If you do not receive any error message, continue to step 6.

5. If you receive an error message, use the following steps to associate your ID with the correct workspace. If you do not receive any error message, continue to

Page 85: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

85

step 6. Close the tab and click on ‘Workspace Tools’ In the next screen from the list select the radio button next to your workspace and click ‘Save’ at the top. Users can also use this technique to change the workspace they are working on from various workspaces they have access to. Once you have saved the changes, close the tab. Launch ‘My Workspace’ again.

6. Click on the tab “Local Providers” to upload the ‘Customer Rating’ file

7. Click ‘Create’.

Page 86: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

86

8. In the next screen from the drop down box select “File”. Click ‘Continue’ to proceed. Accept any popup message you get.

Note: If you receive a security warning, click Yes on the popup. Any additional popup requesting to install Add-ons click on ‘Install’. After the installation is

complete, close the window.

9. Under file name locate the ‘Customer ABC Rating’ using the ‘Browse’ button and then click ‘Transfer File’. That should upload the data file.

Note: The file for this exercise is located in “DATA_FILES” directory on the desktop.

10. The resulting screen should look like this

11. Next provide the following properties regarding the file. Header = 1 First Data Row = 2 Separator (CSV) = ;

Page 87: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

87

Field Delimiter Character (CSV) = “ Decimal Display (CSV): Period Date Display (CSV): MM/DD/YYYY

12. Also accept the defaults for the provider properties. Click Next.

13. Click ‘Next’ at the top of the screen

14. Accept the default setting and click ‘Upload Data’

Page 88: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

88

15. Confirm that you receive a success message indicating the data has been loaded successfully.

16. Click on ‘Display Data’, this should bring up a popup screen indicating the data was uploaded successfully. After validation close the popup window.

Page 89: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

89

Step: Create Composite Provider combining the ‘Local provider’ just created and the ‘Central Provider’

17. Next click ‘Create Composite Provider’ or close this tab and launch ‘My Workspace’ again and click ‘Create’ under the tab ‘Composite Provider’.

18. Click ‘Continue’ for the optional step

19. In the next step under ‘General Data’ section provide a technical name and description for the composite provider. Technical name: WS_CP00_1 Description: Workspace 00 CP1

20. Under Provider section select the check box besides ‘MultiProvider’ and also ‘Customer_ABC’

Page 90: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

90

21. Click ‘Next’ at the top to continue. In the next screen under the ‘Selected Providers’ section click

‘Details of Links’ button.

22. In the next screen click ‘Details’ for Customer field.

23. In the Popup screen select ‘Customer’ and click ok.

24. Select the check box for the row ‘ABC Rating’ indicating it’s a dedicated field from ABC rating data.

25. Hit ‘Apply’ at the top of the screen, this should take you back to the composite provider modeling screen. Click ‘Check’ at the top of the screen to confirm the composite provider has no errors.

Page 91: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

91

26. In the bottom section the ‘Tabular Overview’ tab should now indicate that the two fields from the file Customer_ABC provider are part of the output.

27. You can also click the ‘Graphical View’ tab to see the same as a picture.

28. Click ‘Next’ at the top and accept the default in the next screen.

29. Click ‘Next’ at the top. In this screen for type of query from the dropdown select ‘Standard’ and accept the default values.

Note: Make a note of the query technical name that is generated by the system.

Page 92: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

92

30. Click ‘Next’ at the top.

31. Click ‘Display Data’ to view sample join condition output using composite provider.

32. Click ‘Save and Activate’

at the top to confirm the changes.

Page 93: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

93

33. Go to transaction RSRT and execute the standard query created in the previous step.

Note: Use the technical name of the query that was created earlier.

34. Add Customer and ABC Rating field to view the data.

Page 94: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

94

9.4 Scenario 3 – Upload temporary Inventory file and join with Central Sales and Customer rating

Explanation Screenshot

1. Go back to your workspace home screen and click on ‘Local Provider’ tab.

2. Click on ‘Create’ to upload a new file.

3. Click ‘Continue’ in the next step as we will be uploading a new file.

4. In the next step under section ‘File’ click ‘Browse’ to locate the file ‘Inventory_Data.csv’ and click ‘Transfer File’.

Note: The file for the exercise is located in ‘DATA_FILES’ directory on the desktop. .

Page 95: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

95

5. Next accept the defaults under the ‘Property’ section. Ensure the Date format is set to MM/DD/YYY.

Click ‘Next’ at the top of the screen.

6. Accept the default for field type and description. Click ‘Upload Data’

at the top of the screen.

7. Click ‘Display Data’

to ensure the data is uploaded correctly.

8. Close this tab and go back to your workspace main screen and check under the local provider and confirm the new local provide is available.

Page 96: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

96

9. Let’s create a new composite provider to join both the local provider and the one central provider. For this go to the tab ‘CompositeProvider’ and click ‘Create’

10. Click ‘Continue’ in the optional step

11. In the next step under ‘General Data’ section provider a technical name and description for the composite provider. Technical name: WS_CP00_2 Description: Workspace 00 CP2

12. Under the Provider section select all the providers.

Click ‘Next’ at the

top once done.

13. In the popup screen accept the proposal of using the previous composite provider as template.

Click ‘OK’ to continue

Page 97: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

97

14. Under the section ‘Selected Providers’ click ‘Details of Link’ for the row ‘Customer_ABC’.

15. Ensure ‘Customer’ is selected under column ‘CompositeProvider Field’. ‘Customer’ should already be selected, as the composite provider from the previous exercise was selected as a template.

16. In the bottom half of the screen you can also confirm this from the graphical representation of the same.

17. Click ‘Apply’ 18. At the top of the screen and

that should take you back to composite provider modeling screen.

19. Next click ‘Details of Links’ for row ‘Inventory_Data’

Page 98: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

98

20. In the next screen select ‘Product’ under column ‘CompositeProvider Field’ and for row ‘Availability’ select the check box ‘Dedicated Field’.

21. You can confirm the same using the graphical representation in the bottom half of the screen.

22. Click ‘Apply’ at the top of the screen and that should take you back to composite provider modeling screen.

23. In the bottom half of the modeling screen under the ‘Links’ section confirm that you see Customer & ABC and Product & Availability under the appropriate local providers.

Page 99: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

99

24. You can confirm the appropriate join of fields from the graphical representation under the ‘Graphical View’ tab. Note the 2 local providers are on the right and the central provider on the left. The middle section displays the fields that are part of the output.

25. Click ‘Check’ at the top to confirm there are no errors so far.

Click ‘Next’ at the top to continue

26. Accept the default description of the fields of the composite provider.

Click ‘Next’ at the top to continue

27. Next step is to create queries. Under the ‘Type of Query’ select ‘Standard’ and accept the default technical name and description.

Note: Make a note of the query technical name that is generated by the system.

Click ‘Next’ at the top to continue

Page 100: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

100

Standard Query: All fields in the CompositeProvider are added to the query as free

characteristics or key figures. This query cannot be changed in the SAP Business Query

Designer. It changes automatically when the CompositeProvider is changed.

Reference Query: Choose an SAP Business Explorer Analyzer query as a Reference. Referenced queries

can be all queries based on the MultiProvider used for the CompositeProvider. Changes to the Referenced

query have an immediate effect on the Reference Query. The Referenced query can only contain fields that

are also contained in the CompositeProvider. However, if it contains other characteristics in the free

characteristics, these are removed in the Reference Query.

In General: You can change the suggested technical name as well as the description of a query except for

the ‘$’ sign in front and the prefix (in case this has been maintained in the Workspace settings).

28. Click ‘Save and Activate’

.

29. Click ‘Display Data’, this should show you the complete data set.

30. You can validate the Composite provider also by executing the system generated query in transaction RSRT. Use the technical name of the query mentioned in the above steps.

Page 101: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

101

10 BI scenarios for business analysts / managers

In the following sections you can use the installed components and review some of the pre-configured assets, such as a Composite provider and leverage the functionality of SAP NetWeaver BW on SAP HANA combined with SAP BusinessObjects BI 4.x In case you are interested to learn more about how those assets are being created, we would recommend taking a look at chapter 4 of this document.

10.1 Configuring your mobile device

You can use the following steps to configure the hosted SAP BusinessObjects BI environment and your mobile device to leverage the SAP Mobile BI application, so that you can view your BI content on your mobile device.

10.1.1 Installation on iOS:

You can download the SAP BusinessObjects Mobile client application from the App Store via the iTunes software. Then synchronize the downloaded application with your iPad device.

You can download the SAP BusinessObjects Mobile client application directly from the App store to your device.

1. Open the App Store on your iPad. 2. Search for SAP BusinessObjects. 3. Install the following applications:

SAP BusinessObjects Mobile

SAP BusinessObjects Explorer

10.1.2 Installation on Android:

1. Navigate to play.google.com 2. Search for SAP BusinessObjects Mobile BI 3. Install the following applications:

SAP BusinessObjects Mobile After you installed the two Mobile BI applications on your mobile device you need to configure the settings to leverage your server environment.

Page 102: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

102

10.1.3 Configuring Mobile BI

1. Start SAP BI on your device 2. Click on the Settings button 3. Click Add Connection 4. Click Create Manually 5. Enter a Name for the Connection 6. Enter the Server URL following this syntax:

http://<Server Name >:8080 Replace the place holder <Server Name> with either the IP number or the full qualified name of your SAP BusinessObjects BI system.

7. Enter the SAP BusinessObjects BI Server Name into the field CMS Name. 8. Ensure the Authentication is set to SAP 9. Enter your assigned SAP credentials in the syntax BWH~001/demo. 10. Enter your assigned password for the field password 11. Select the option to save the password. 12. Click Done. You should be able to connect the SAP Mobile BI application to the hosted environment.

10.1.4 Configuring SAP BusinessObjects Explorer

1. Start SAP BusinessObjects Explorer on your device 2. Click on the Pencil Symbol to create a new connection 3. Click on the “+” Sign to add a new connection 4. Enter a Name for the Connection 5. Ensure the option Connect via Mobile Server is set to Off. 6. Enter the Server URL following this syntax:

http://<Server Name >:8080/explorer Replace the place holder <Server Name> with either the IP number or the full qualified name of your SAP BusinessObjects BI system.

13. Enter the SAP BusinessObjects BI 4 Server Name with port 6400 into the field System Name and port number.

14. Ensure the Authentication is set to SAP 15. Enter your assigned SAP credentials in the syntax BWH~001/demo for the User Name 16. Enter your assigned password for the field password 17. Click Done. 18. Click on the green OK symbol. 19. Click on your new connection You should be able to connect the SAP BusinessObjects Explorer application to the hosted environment.

Page 103: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

103

10.2 SAP Lumira with SAP NetWeaver BW on SAP HANA

In the following exercise you will leverage SAP Predictive Analysis and connect to the generated SAP HANA models from the previous exercise. The exercise is using SAP Predictive Analysis, but you can also use SAP Lumira to follow these steps.

10.2.1 Exercise 1: Connect to the SAP HANA model

1. Start SAP Predictive Analysis by following the menu Start > All Programs > SAP Business Intelligence > SAP

Predictive Analysis > SAP Predictive Analysis. 2. Click on New Document. 3. Click HANA Offline.

4. Enter the following details:

HANA Server : imdbhdb.sapcoe.sap.com HANA Server instance : 00 User Name : DEMO User Password : Welcome!

5. Click Connect HANA Instance. 6. On the right hand side navigate to the package sap.bw. 7. Select the SAP HANA model – Z_NW_STD_INTERNAL.

Page 104: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

104

8. Click Acquire.

9. On the left hand side select the entry Country. 10. Use a right-click.

Page 105: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

105

11. Select the menu Create a geographic hierarchy. 12. Select the option By Names.

13. Select the option All Columns. 14. Use the field Region for the Region. 15. Click OK.

Page 106: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

106

16. Click OK. 17. Click Visualize (top left). 18. Now select the option to create a Geo Pie Chart.

19. Add the measure Net Value as Value. 20. Now move the geographic hierarchy from the left hand side to the Dimension Geography.

Page 107: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

107

21. Add dimension Product to the Overlay Data.

22. Use the map to zoom into the sales information for the US. 23. Click Split.

Page 108: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

108

24. You can now use the facets for navigation and filtering. 25. Click on the Filter icon in the column header for the dimension Country.

26. Select the value United States. 27. Click Add. 28. Click Close. 29. Change the level in the hierarchy to show Region now.

Page 109: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

109

Most of our products are being sold on the east coast, but we can’t identify right now what are our best selling products.

30. Change the chart type to a Tree Map.

31. Now we identify that the 70” and 60” TV’s seem to be the most sold products.

Page 110: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

110

32. Remove the Region from the Dimensions.

33. Let’s add the measure Cost as color for the heat map.

Page 111: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

111

We can see now that the large Plasma TV’s are our best selling products but are also those products with the highest cost. We change to a column chart so that we can easier compare the Net Value with the Cost.

34. In addition we rank the values to only show the Top 20. Use a right-click on the Measure Net Value.

Page 112: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

112

35. Select the menu option Rank Values.

36. Select the Top 20 for Product. 37. Click OK.

38. Because we have two very different scales, we are switching to a column chart with 2 Y axes.

Page 113: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

113

39. Now we can see that the 70 “, 61 “and 55 “TV are the least profitable, compared to the 51 “TV.

40. We select those three products in the chart. You can do so by selecting the labels (use the CTRL button to select multiple entries).

Page 114: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

114

41. Now click Filter to focus on these three products.

42. Now click on the Add Calculated Measure button.

Page 115: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

115

43. Enter the formula: {Net Value}-{Cost}

Tip: You can start typing the name of the measure and Lumira will then offer a list of matching columns to select from.

44. Click Create. 45. Use a right-click on the new measure.

46. Select the menu item Rename.

Page 116: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

116

47. Enter the new name Profit. 48. Add the measure Profit to the chart.

49. Now it is very clear that these products are not returning any profit, but instead are only costing us money. 50. We are now going to share the information with our colleagues. 51. Click Share in the toolbar.

52. You can now select the data set and share the information in form of a file, or publish the data to SAP HANA, or publish the data to Lumira Cloud, or publish the data to SAP BusinessObjects Explorer.

Page 117: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

117

10.3 SAP BusinessObjects Explorer with SAP NetWeaver BW on SAP HANA

10.3.1 SAP BusinessObjects Explorer – Exercise 1

1. Logon to the BI LaunchPad via the menu Start • All Programs • SAP Business Intelligence • SAP BusinessObjects BI Platform 4 • SAP BusinessObjects BI Platform Java BI Launchpad.

2. Select SAP as Authentication mode. 3. Enter BWH as System ID 4. Enter 001 as Client. 5. Use your SAP credentials to logon 6. Navigate to the menu Applications. 7. Select Explorer. 8. Navigate to the tab Home.

9. Click on the Information Space “SAP NetWeaver Demo Model – Information Space”.

Page 118: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

118

10. Select dimension Country in the lower part for the visualization.

11. Click OK. 12. Set Profit as the Measure. 13. Click on the visualization type Geography.

Page 119: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

119

14. Open the entry for Country as part of the visualization.

15. Enter 50 as the value for the Top ranked countries. 16. Click OK. 17. Click on the visualization type Comparison.

Page 120: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

120

18. Select Calendar Year / Month as second dimension. 19. Click OK.

The visualization part also allows you to select different types of sub-charts.

20. Now select Product for the visualization as first dimension. 21. Select the measures Net Value, and Profit. 22. Remove Calendar year / Month from the second dimension.

Page 121: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

121

23. Click on the visualization type Correlation.

We have several products in the bottom right area, which means low revenue and low profit.

24. Draw a box around those products.

Page 122: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

122

25. Then use the option to filter on these products.

26. Now go back to dimension Country for the visualization. 27. Configure Country to show the bottom 10 values based on Profit. 28. Use the Comparison visualization.

At this point we would like to share this visualization with our colleagues via mobile devices.

Page 123: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

123

29. Now from the main toolbar select the option Create View Set.

30. You can now create your own Exploration View.

Using the you can add more charts. Using the you can add tabular information and using symbol you can add filter values.

31. Drag and drop an additional chart on top of your existing chart

Page 124: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

124

32. For the Measures activate the Net Value. 33. For the Dimension select Product.

34. Click on the symbol to change the chart type.

Page 125: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

125

35. Select the option Percentage and use the sub type Pie Charts.

36. Remove the filter by clicking on the “x”.

Page 126: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

126

37. Now drag and drop a tabular view to your Exploration View. Place it next to the Pie Chart.

38. For the Dimension select the Sales Organization. 39. Click OK. 40. For the Measures use Net Value and Profit.

41. Now drag and drop a filter view to the Exploration View . 42. Place it next to the table.

Page 127: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

127

43. Select the Calendar Year / Month entry. 44. Click OK.

45. Click .

Page 128: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

128

46. Enter a Name for the Exploration View. 47. Open the list of folders in the folder Public Folders. 48. Select subfolder Demo Content. 49. Click OK. 50. Click OK. 51. Close the tab from the Exploration View and navigate back to the Home tab. 52. Click the Exploration View Sets button

You can now use the Exploration View in the browser and you can use the Exploration View on your mobile device.

Page 129: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

129

10.4 SAP BusinessObjects Predictive Analysis with SAP NetWeaver BW on SAP HANA

1. Start SAP Predictive Analysis by following the menu Start > All Programs > SAP Business Intelligence > SAP

Predictive Analysis > SAP Predictive Analysis. 2. Click on New Document. 3. Click HANA Offline.

4. Enter the following details:

HANA Server : imdbhdb.sapcoe.sap.com HANA Server instance : 00 User Name : DEMO User Password : Welcome!

5. Click Connect HANA Instance. 6. On the right hand side navigate to the schema DEMO. 7. Select the SAP HANA table – RETAIL.

Page 130: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

130

8. Click Acquire. 9. Click Facets.

10. In the Facet View click on the Sort button to sort the data in a descending way based on the Income.

We can see that we only have a very few customers with income above 250.000$.

Page 131: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

131

11. Now use a right-click on dimension Country on the left hand-side.

12. Select the menu Create a geographic hierarchy > by Names.

13. Setup the new geographic hierarchy as shown above. 14. Click OK. 15. Click OK and confirm the match up. 16. Click Visualize in the toolbar (top left).

Page 132: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

132

17. Select the option Geo Choropleth Chart. 18. Drag and drop the new hierarchy from the Hierarchies area to the Geography Dimension. 19. Now select the dimension Customer Number on the left hand side and use a right-click. 20. Select the menu Create a Measure.

21. Set the aggregation to Count (Distinct).

22. Add the new measure to the chart as Value.

Page 133: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

133

23. Now set the Geography hierarchy to the Region level.

We can see that California and the Midwest has the highest number of customers.

24. Drag and drop the dimension Martial Status to the Overlay Data.

We can quickly use other dimensions as overlay data to look into more details.

25. We are now looking to get more insight into the data, so we are moving to the “Predictive” part. 26. Click Predict in the toolbar.

Page 134: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

134

27. Double-click R-K-Means. We will start clustering our customers into segments.

28. Use a right-click on the icon for R-K-Means and select the menu Configure Properties.

29. Click on Select All / None to select all Independent Columns.

Page 135: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

135

30. Now uncheck the following columns:

Customer Number

Cluster Number

31. Set the Number of Clusters to the value 8. 32. Click Save and Close.

33. Click on the icon to start the analysis.

34. Confirm the Status message with “Yes”.

Page 136: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

136

35. Click on Charts in the toolbar (top left).

36. You will notice that there is one cluster with a high density, meaning customers do share common characteristics.

Note: Cluster Numbers are assigned randomly. The exercise is working with Cluster Number 3, but the number might be different when you use it.

37. Click on Visualize. We will explore more details now. 38. Use a right-click on the following objects and select the menu Create Measure:

Page 137: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

137

# of purchases last 6 months

Age

CreditScore

Total purchase lifetime

Total items purchased last 6 months

39. For each of the newly created measures set the aggregation to Average. 40. Set chart type to the Bubble Chart.

41. Add the elements to the chart as shown below.

42. The chart should look similar like this now:

Page 138: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

138

In our example cluster 3 has the highest life time purchase amount, and the highest number of purchases in the last 6 months.

43. Change the chart type to the Combined Column Line chart with 2 Y Axes.

44. Remove the current measures from the chart. 45. Add the Measure Age to the Y Axis 1. 46. Add the Measure Credit Score to the Y Axis 2. 47. Ensure the Cluster Number is used for the X Axis.

Page 139: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

139

Now we can identify that cluster 3 of our customer segmentation is the youngest customer group with the highest credit scope. Clearly a customer group that we would like to target.

48. Set the chart type to a Tag Cloud.

49. Configure the chart as shown below:

Page 140: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

140

50. Add the Cluster Number to the Filter section. 51. Set the Filter for the Cluster Number to our segment 3.

52. Click Close.

Page 141: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

141

We can identify that these customers are very loyal and keep coming back.

53. Set the chart type to the Pie Chart.

54. Set the Count of Customer Numbers as Pie Sectors. 55. Set Dimension Channel as Legend Color.

Page 142: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

142

77% of this customer segment is shopping mainly online, which fits the audience based on the previously identified age group.

56. We are now exporting the data. 57. Click on Predict. 58. Click on Data Writers.

59. Double-Click on CSV Writer. 60. Use a right-click on the CSV Writer and select the menu Configure Properties.

Page 143: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

143

61. You can now specify the details and export the data.

Page 144: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

144

11 BI Scenarios for Power Users

In the following sections you will learn more about the features and functions of SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x. This chapter is meant to be for power users that are interested to learn each step of the functionality, for example how to upload data to a SAP NetWeaver BW workspace and join it with existing data in the SAP NetWeaver BW system.

11.1 Configuring your mobile device

You can use the following steps to configure the hosted SAP BusinessObjects BI environment and your mobile device to leverage the SAP Mobile BI application, so that you can view your BI content on your mobile device.

11.1.1 Installation on iOS:

You can download the SAP BusinessObjects Mobile client application from the App Store via the iTunes software. Then synchronize the downloaded application with your iPad device.

You can download the SAP BusinessObjects Mobile client application directly from the App store to your device.

1. Open the App Store on your iPad. 2. Search for SAP BusinessObjects. 3. Install the following applications:

SAP BusinessObjects Mobile

SAP BusinessObjects Explorer

11.1.2 Installation on Android:

1. Navigate to play.google.com 2. Search for SAP BusinessObjects Mobile BI 3. Install the following applications:

SAP BusinessObjects Mobile After you installed the two Mobile BI applications on your mobile device you need to configure the settings to leverage your server environment.

Page 145: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

145

11.1.3 Configuring Mobile BI

1. Start SAP BI on your device 2. Click on the Settings button 3. Click Add Connection 4. Click Create Manually 5. Enter a Name for the Connection 6. Enter the Server URL following this syntax:

http://<Server Name >:8080 Replace the place holder <Server Name> with either the IP number or the full qualified name of your SAP BusinessObjects BI system.

7. Enter the SAP BusinessObjects BI Server Name into the field CMS Name. 8. Ensure the Authentication is set to SAP 9. Enter your assigned SAP credentials in the syntax BWH~001/demo. 10. Enter your assigned password for the field password 11. Select the option to save the password. 12. Click Done. You should be able to connect the SAP Mobile BI application to the hosted environment.

11.1.4 Configuring SAP BusinessObjects Explorer

1. Start SAP BusinessObjects Explorer on your device 2. Click on the Pencil Symbol to create a new connection 3. Click on the “+” Sign to add a new connection 4. Enter a Name for the Connection 5. Ensure the option Connect via Mobile Server is set to Off. 6. Enter the Server URL following this syntax:

http://<Server Name >:8080/explorer Replace the place holder <Server Name> with either the IP number or the full qualified name of your SAP BusinessObjects BI system.

7. Enter the SAP BusinessObjects BI 4 Server Name with port 6400 into the field System Name and port number.

8. Ensure the Authentication is set to SAP 9. Enter your assigned SAP credentials in the syntax BWH~001/demo for the User Name 10. Enter your assigned password for the field password 11. Click Done. 12. Click on the green OK symbol. 13. Click on your new connection. You should be able to connect the SAP BusinessObjects Explorer application to the hosted environment.

Page 146: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

146

11.2 Crystal Reports for Enterprise and SAP NetWeaver BW

11.2.1 Scenario Overview

In the following steps you will learn how you can use Crystal Reports for Enterprise in combination with data retrieved using the BEx queries in your SAP NetWeaver BW system. In the first exercise you will create a simple report with the following functionality:

- Grouping of data - Usage of sort controls in the report - Drill Downs - Charts

In the second exercise you will create a hierarchical report with the following functionality:

- Grouping of data based on a SAP NetWeaver BW hierarchy. - Creating subtotals along hierarchical data. - Creating Drill Downs along the hierarchy.

11.2.2 Exercise 1: Create your first Crystal Reports with SAP NetWeaver BW

1. Select Start > All Programs > SAP Business Intelligence > SAP Crystal Reports for Enterprise 4 > SAP

Crystal Reports for Enterprise 4. 2. Choose the menu File > New > From Data Source.

3. Click Browse Repository.

Page 147: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

147

4. In the Server Connections ensure you select the entry “localhost (SAP Authentication)”. 5. Enter your SAP credentials and the password. 6. Click OK. 7. For Data Source Type make sure the entry SAP BEx Query is selected. 8. Select the connection SAP_BW.

9. Click Next. 10. Open the list of InfoArea. 11. Open the InfoArea NetWeaver Demo. 12. Select the InfoProvider Actual for NW Demo.

Page 148: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

148

13. You will be presented with a list of BEx Queries. 14. Select the query DEMO_QUERY_01. 15. Click OK. 16. You are now presented with the query panel.

17. Add the following items to the Result Objects:

Country

Region

Sold-to-Party

Product

Calendar Year

Net Value

Costs

TIP: The items you are selecting are the top dimension objects representing the Text value.

Page 149: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

149

18. Uncheck the option “Generate Report”. 19. Click Finish. 20. Add the following elements to the “Body” area of your report:

Country

Region

Sold-to-Party

Net Value

TIP: You can use the CTRL key and select multiple fields. 21. Reduce the height of the body area by reducing the height on the left panel by moving the bottom part of the body

area up. TIP: You can only reduce the height of the Body section to remove empty space. In case your fields are at the bottom of the area, please move your fields up first.

TIP: Remember you can also click on Structure to view a more “technical” oriented view of your report.

Page 150: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

150

TIP: In case the fields are not at the top of the area, you cannot minimize the Body area and first need to move the fields to the top of the Body area.

22. Remove the column headers from the Page Header section by selecting the fields in the report and you can then use the DELETE button on the keyboard. We will add those back in the next steps.

23. Click on the tab Data. 24. Click on Sorts.

25. Open the Body entry.

26. Click Add Sort. 27. Select Net Value.

Page 151: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

151

28. Sort Descending. 29. Click OK. 30. Now repeat the previous steps and create an ascending order for

Country

Region

Sold-to-Party

31. Select the tab Insert. 32. Select the menu item Sort Control.

33. Select the entry Country. 34. Click Insert. 35. Drag and drop the sort control to the Page Header on top of the corresponding column. 36. Repeat the steps for Region. 37. Repeat the steps for Sold-to-Party 38. Repeat the steps for Net Value.

Page 152: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

152

39. You can now sort the data contained in the report using the sort controls for all four elements of your report. 40. Select the column header for the column Sold-to-Party. 41. Use the Column header (see screenshot below) for the report and move the Sold-to-Party column between

Country and Region.

HINT: in case the fields in the column do not have the same size or are not aligned (left / right) in a similar way, you will not see these tabs. You would then first align the fields and then the overall column header will show.

42. Select the tab Insert 43. Select the menu Group.

Page 153: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

153

44. Select Country as field to group on. 45. Set the sort as Ascending. 46. Click Insert. 47. Right-click on the Body Section of your report.

48. Select Format Body... 49. Select the entry General.

50. Select the option Show on Drill only. 51. Click Close. 52. Click on Structure to see the technical view of your report.

Page 154: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

154

53. Select the field Net Value in your Body Section. 54. Right-Click and select the menu Total Net Value.

55. Select the option Delegated. 56. Select the option “for each grouping of Country” 57. Select the Location to be Above Data.

58. Click Insert. 59. Right-click on the Group Footer 1 section. 60. Select the option Hide. 61. Navigate back to the Page view of your report.

The report now shows the summary per Calendar Year and you can double-click either on the year or on the Net Value to drill down into the details.

Page 155: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

155

You can use the navigation above the report to navigate back to the summary page of the report.

62. Select the Structure View in the toolbar.

63. Right-Click on the Group Header 1.

64. Select the menu option Insert Section > Below. 65. Move the column headers from the Page Header into the newly created section.

Page 156: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

156

66. Right-Click on the newly created section and select the menu Format Section.

67. Select the item General.

Page 157: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

157

68. Click the next to the option Hide. 69. Enter the following into the formula:

DrillDownGroupLevel=0

70. Click Save and Close. 71. Click Close. 72. Select the menu Page in the toolbar.

The sort options should now only appear when performing a drill down.

73. Right-click on the subtotal for Net Value in the Group Header 1. 74. Select the menu item Conditional Formatting.

75. Click Add Condition. 76. Use the option Greater Than for Net Value. 77. Enter the value 3.000.000.000 (Please enter without separators). 78. Set the Font Color to Red. 79. Set the Background color to yellow.

Page 158: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

158

80. Click OK. 81. Navigate to the tab Insert. 82. Select the option Chart > Column > Side by Side Column Chart.

83. Place the Column Chart into the Report header section.

84. Click on the Data tab of the chart.

Page 159: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

159

85. Drag the Net Value from the Result Objects shown in the Data Explorer to the Total (Y) field. 86. Drag the Country characteristic from the Result Objects shown in the Data Explorer to the Category (X). 87. Now use a double-Click on Country in the Category (X) field.

88. Select the option Sort. 89. Select the option Top N for Show.

Page 160: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

160

90. Enter the value 10 for N is. 91. Click Close.

92. Select the menu File > Save as. 93. Navigate to the folder Public Folder > Demo Content. 94. Enter a name for your report. 95. Click Save. 96. At the next screen use the option Save with Data.

Page 161: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

161

97. Close Crystal Reports for Enterprise

11.2.2.1 Assigning Mobile Category and Viewing the report

98. Select the menu Start > All Programs > SAP Business Intelligence > SAP BusinessObjects BI Platform 4 > SAP BusinessObjects BI Platform Java BI Launchpad.

99. Logon on using the SAP Authentication and your SAP credentials for the SAP System BWH and client 001. 100. Select the tab Documents. 101. Click on Folders.

102. Open the list of folders from the folder Public Folders. 103. Navigate to the folder Demo Content. 104. Select the report you saved previously. 105. Use a right-click and use the menu Categories.

Page 162: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

162

106. Select the category Mobile. 107. Click OK. 108. Use a right-click and use the menu View.

You should also be able to view the report on SAP Mobile BI now.

Page 163: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

163

11.2.3 Exercise 2: Create your first hierarchical Crystal Reports

1. Select Start > All Programs > SAP Business Intelligence > SAP Crystal Reports for Enterprise 4 > SAP Crystal Reports for Enterprise 4.

2. Choose File > New > From Data Source.

3. Click Browse Repository. 4. In the Server Connections ensure you select the entry “localhost (SAP Authentication)”. 5. Enter your SAP credentials and the password. 6. Click OK. 7. For Data Source Type make sure the entry SAP BEx Query is selected. 8. Select the connection SAP_BW. 9. Click Next. 10. You will be presented with a list of BEx Queries as the connection points to the InfoProvider. 11. Select the query DEMO_QUERY_04. 12. Click OK. 13. You are now presented with the query panel. 14. Add the following items to the Result Objects:

Country Hierarchy 01

Net Value

Cost

TIP: Country Hierarchy 01 is a hierarchy for dimension Country, so you can find Country Hierarchy 01 in the list of items for dimension Country

15. Open the member selector for Country Hierarchy 01 in the Result Objects (small triangle). 16. Click on the option Levels. 17. Activate the option Enable Levels.

Page 164: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

164

18. Select all available Levels. 19. Click OK. 20. Uncheck the option “Generate Report”. 21. Click Finish. 22. Navigate to the Insert Tab. 23. Select the menu Group. 24. Click Edit Groups. 25. Click New. 26. Select Country Hierarchy 01. 27. Click on the small triangle on the far left to collapse the dialog.

Page 165: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

165

28. Set the Hierarchy Type to External Hierarchy.

29. Set the Group Indent to 0.2 inches. 30. Click OK. 31. Right Click on the Body Section. 32. Select the menu Hide. 33. Right Click on the Group Footer 1 Section. 34. Select the menu Hide.

35. Drag and Drop the Net Value from the Result Objects shown in the Data Explorer to the Group Header. 36. Select the field for the hierarchy and the Net Value together. You can use the CTRL button to select multiple fields. 37. Right –click on the field. 38. Use the menu option Align > Align Top.

Page 166: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

166

39. Navigate to the tab Insert. 40. Select the menu item Chart > Bar > Bar 41. Place the chart into the Report Header. 42. Select the Data tab of the chart. 43. Move the Country Hierarchy 01 from the Result Objects shown in the Data Explorer object to Category (X). 44. Move the Net Value from the Result Objects shown in the Data Explorer to Total (Y). 45. Double click on the Country Hierarchy 01 entry in the chart.

46. Set the Hierarchy Type to External Hierarchy. 47. Click Close. 48. Click on Show Chart.

Page 167: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

167

49. Navigate to the Data Explorer and open the list of Formulas – right now empty.

50. Use a right-click on the word Formulas and select the menu New Formula. 51. Enter HierarchyLevel as the name for the new formula. 52. Click OK. 53. In the formula editor make sure the top left corner shows the button Simple. In case the Advanced button is

shown – click on the Advanced button.

Page 168: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

168

54. Navigate to the list of Functions.

55. Open the list of functions in the Print State category. 56. Open the list of functions below HierarchyLevel. 57. Double-Click on the entry HierarchyLevel (groupinstance).

Page 169: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

169

58. Remove the text between the two brackets. 59. Navigate to the formula Category Document Properties 60. Double-Click on the formula GroupingLevel. 61. Remove the text between the two brackets. 62. Navigate to the top of the Data Explorer. 63. Double-Click on the Country Hierarchy 1 entry so that the field is being inserted into the formula. 64. Your formula should like similar to:

HierarchyLevel(GroupingLevel({QUERY_SIMPLE_HIERARCHY.Country\Country Hierarchy 01}))

65. Click Save and Close. 66. Place the newly created formula into the Group Header 1 section of your report. 67. Use a right-click on the formula field in the report and select the menu Hide. 68. Use a right-click on the section (not the complete Group Header 1).

69. Select the menu Conditional Formatting. 70. Click Add Condition. 71. Select the newly created formula as the field for the Condition. 72. Select the operand ‘Equal to’. 73. Enter 1 as the value. 74. Activate the Background Color option and select a color.

Page 170: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

170

75. Now add two additional Conditions for the Hierarchylevel values 2 and 3 and specify the background color. Your report should now show different colors for the hierarchy levels.

76. Click OK. 77. Navigate to the menu Insert > Group. 78. Click Edit Groups. 79. Open the details for Group #1.

80. Change the Group Indent to 0. 81. Click OK. 82. Now select the Group Name header in the Group Header 1. 83. Use a right-click on the field and select the menu Format Group Name Element.

Page 171: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

171

84. Click on the next to the X value. 85. In the formula editor make sure the top left corner shows the button Simple. In case the Advanced button is

shown – click on the Advanced button. 86. Navigate to the list of Functions. 87. Open the list of functions in the Print State category. 88. Open the list of functions below HierarchyLevel 89. Double-Click on the entry HierarchyLevel (groupinstance) 90. Remove the text between the two brackets. 91. Navigate to the formula Category Document Properties 92. Double-Click on the formula GroupingLevel. 93. Remove the text between the two brackets. 94. Navigate to the top of the Data Explorer. 95. Double-Click on the Country Hierarchy 1 entry so that the field is being inserted into the formula. 96. Add the syntax “ * 150” to the formula 97. Your formula should like similar to:

HierarchyLevel(GroupingLevel({DEMO_QUERY_04.Country\Country Hierarchy 01})) * 150

98. Click Save and Close. 99. Click Close.

Your Group field should now be indented but the key figure should be right aligned.

100. Select the menu File > Save as. 101. Navigate to the folder Public Folder > Demo Content. 102. Enter a name for your report. 103. Click Save. 104. At the next screen use the option Save with Data.

Page 172: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

172

11.2.3.1 Creating “fake” Drill Down in Crystal Reports for Enterprise

105. In the existing report navigate to the area Formulas in the Data Explorer. 106. Use a right click and select the menu New Formula. 107. Enter fn_HierarchyLevel as formula name. 108. Click OK. 109. Enter the following formula syntax:

HierarchyLevel(GroupingLevel({DEMO_QUERY_04.Country\Country Hierarchy 01}))

110. Click Save and Close. 111. Create another formula with the formula name fn_Drill 112. Enter the following formula syntax:

DrillDownGroupLevel

Details on the function DrillDownGroupLevel: Returns a number that indicates the group level of the current drill down view, or 0 if it is not a drill down view. If a report has groups on Country and Region, then DrillDownGroupLevel returns 0 in the view without drill downs. Within the drill down view for a Country, DrillDownGroupLevel returns 1, and within the drill down view of a Region, DrillDownGroupLevel returns 2. To check if you are in a drill down view, test to see if DrillDownGroupLevel > 0 returns true.

113. Click Save and Close. 114. Create another formula with the formula name fn_GroupNumber 115. Enter the following formula syntax:

GroupNumber

116. Click Save and Close. 117. Place all formulas onto the Group Header #1 of your report.

On the formula GroupNumber there is one important behavior that you need to recognize.

Page 173: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

173

The screenshot above represents a drill down from Europe and we see now items from level 3 of our hierarchy. Interesting enough though is that the GroupNumber starts on 1 again. We can use that information because we can then pick the hierarchy level from the top group (GroupNumber=1) and use that to suppress hierarchy levels we don't want to show right away. In the example above the top entry is our GroupNumber 1 and the hierarchy level is 2. So in a drill down case we want to show the hierarchy level and one additional level (+1) but not more - or in other words, anything that is > HierarchyLevel+1 needs to be hidden.

118. Create another formula with the name fn_SuppressLevel. 119. Enter the following syntax:

global numbervar suppresslevel; if groupnumber=1 then suppresslevel:={@fn_HierarchyLevel}+1; suppresslevel

120. Click Save and Close. 121. Place the formula into the Group Header 1 section.

The formula is creating a variable and stores the hierarchy level from the Group where GroupNumber=1 in the variable. So now we can use this logic and use the formula in the condition for the suppression of our Group Header.

122. Use a right click on the Parameters section in the Data Explorer. 123. Select the menu New > New Parameter.

Page 174: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

174

124. Enter Initial Hierarchy Level as Parameter Name. 125. Set the Data Type to Number. 126. Click OK. 127. Use a right click on the Group Header 1 and select the menu Format Group Header 1. 128. Select the area General.

129. Click on the next to the Hide option. 130. Enter the following syntax:

({@fn_drill}=0 and {@fn_HierarchyLevel}>{?Initial Hierarchy Level}) or ({@fn_drill}=1 and {@fn_HierarchyLevel}>{@fn_SuppressLevel})

fn_Drill is the formula we created to show if a drill down was performed. fn_HierarchyLevel is the formula showing the hierarchy level. Initial Hierarchy Level is the parameter we created to ask for the initial drill down level. So the formula is checking in the first part if no drill was done (Drill=0) and sets the suppression level to any level higher than the selected level via the parameter (fn_HierarchyLevel>Initial Hierarchy Level). In the second part the formula checks if a drill down was performed and the sets the Hierarchy level to any level higher than our formula Suppress Level we created previously.

131. Click Save and Close. 132. Click Close. 133. Refresh your report. 134. You will get asked to fill the prompt and the report will show accordingly.

11.2.3.2 Assigning Mobile Category and Viewing the report

135. Select the menu Start > All Programs > SAP Business Intelligence > SAP BusinessObjects BI Platform 4 > SAP BusinessObjects BI Platform Java BI Launchpad.

136. Logon on using the SAP Authentication and your SAP credentials for the SAP System BWH and client 001. 137. Select the tab Documents.

Page 175: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

175

138. Click on Folders. Open the list of folders from the folder Public Folders.

139. Navigate to the folder Demo Content. 140. Select the report you saved previously. 141. Use a right-click and use the menu Categories. 142. Select the category Mobile 143. Click OK 144. Use a right-click and use the menu View.

You should also be able to view the report on SAP Mobile BI now.

Page 176: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

176

11.3 Web Intelligence and SAP NetWeaver BW

11.3.1 Scenario Overview

In the following exercises you will use Web Intelligence in combination with SAP BEx queries as your data source. In the first exercise you will use a simple BEx query and leverage several parts of Web Intelligence, such as creating a table, creating a chart, creating an input control. In the second exercise you will leverage a time dependent hierarchy from SAP NetWeaver BW and combine it with a functionality called “Track Changes” in Web Intelligence.

11.3.2 Exercise 1: Creating your first Web Intelligence report with SAP NetWeaver BW data

1. Logon to the BI LaunchPad via the menu Start > All Programs > SAP Business Intelligence > SAP BusinessObjects BI Platform 4 > SAP BusinessObjects BI Platform Java BI Launchpad.

2. Select SAP as Authentication mode. 3. Enter BWH as SAP System. 4. Enter 001 as SAP client. 5. User your SAP credentials to logon. 6. Navigate to the menu Applications.

7. Select Web Intelligence. 8. Use the toolbar and start the process to create a new report.

9. Select the option BEx.

Page 177: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

177

10. Click OK. 11. Select the connection SAP_BW. 12. Open the list of InfoAreas. 13. Open the InfoArea NetWeaver Demo. 14. Select the InfoProvider Actual for NW Demo.

15. You will be presented with a list of BEx Queries. 16. Select the BEx Query DEMO_QUERY_02.

17. Click OK. 18. You will be presented with the Web Intelligence Query Panel.

Page 178: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

178

19. Add the following characteristics to the Result Objects of the Query Panel:

Country

Region

Product Group

Product

Calendar Year / Month

Net Value

Costs

HINT: The items you select are the blue items that are in top of the list for each characteristic.

20. Open the Query Properties.

Page 179: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

179

21. Ensure the option Enable Query Stripping is activated.

Tip: Query Stripping allows Web Intelligence to have a list of available characteristics but not to ask for the data upfront – similar like Free Characteristics in a BEx Query.

22. Click OK. 23. Click Run Query.

Page 180: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

180

The underlying BEx query contains variables which are now being leveraged by Web Intelligence.

24. Select the entry “Please select a range for Calendar Month” on the left hand side.

25. Click to refresh the list of values.

26. Select the value JAN 2012 for the Start Value. 27. Select the value JUN 2012 for the End Value. 28. Click OK. 29. You are being presented with a default layout for your report.

30. On the left hand side navigate to the tab Properties and click Document.

Page 181: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

181

31. The document properties are shown. Ensure that in the Options area the option Enable Query Stripping is activated.

32. Click OK. 33. Select the column for Country by clicking on the first country entry (not the column header) 34. Navigate to the tab Analysis. 35. Select the option Sort as part of the tab Display.

36. Select the option Manage Sorts…

Page 182: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

182

37. Click Add. 38. Select Country. 39. Click OK. 40. Set the sort order to Descending.

41. Click Add. 42. Select Region. 43. Click OK. 44. Set the sort order to Descending.

Page 183: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

183

45. Click OK. 46. Select the column Country (not the column header). 47. Navigate to the tab Analysis. 48. Select the tab Display.

49. Select the menu Break > Add Break. 50. Select the column Region (not the column header). 51. Select the menu Break > Add Break. 52. Select the column Calendar Year / Month (not the column header). 53. Right-Click and open the context menu. 54. Select the menu “Set as Section”.

.

Page 184: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

184

55. Select the column Net Value (not the column header). 56. Navigate to the tab Analysis. 57. Select the tab Functions.

58. Select the option Sum.

HINT : You might have to resize the column so that values fit.

59. Repeat the steps for the column Costs to create the subtotals also for Costs. 60. Navigate to the tab Report Element. 61. Select the tab Chart.

62. Select the Pie Chart option. 63. Place the pie chart on the right hand of your table. 64. Drag and drop from the list of available objects (left hand side) the dimension Product Group to the chart. 65. Drag and drop from the list of available objects (left hand side) the measure Net Value to the chart.

Page 185: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

185

66. Select the chart. 67. Navigate to the tab Report Element. 68. Navigate to the tab Position.

69. Select the menu Align > Relative Position. 70. Ensure the item Layout is selected.

71. Set the configuration as follows:

Horizontal

1 cm / in from the Right Edge from Block 1 (your table)

Vertical

1 cm / in from the Top Edge from Calendar Year / Month (your section)

72. Click OK. 73. Resize you table and you chart should “follow” now the movement. 74. Select the column Country.

Page 186: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

186

75. Navigate to the tab Analysis. 76. Navigate to the tab Interact.

77. Select the option Outline.

78. You can now use the options to open and close the breaks from the table. 79. Navigate to the tab Analysis. 80. Navigate to the tab Filters.

81. Click the button Controls. 82. Select the entry Calendar Year / Month. 83. Click Next. 84. Select the option Radio Buttons

Page 187: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

187

85. Click Next. 86. Select all elements in the Section. The table, the chart, and the section itself.

87. Click Finish. 88. Select the different months and you will notice the data in the report is being filtered. 89. Select a value in the column Product Group. 90. Use a right-click and use the option Delete. 91. Select a value in the column Product. 92. Use a right-click and use the option Delete. 93. Refresh your report.

Page 188: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

188

94. Confirm the prompt values. 95. Click OK. 96. Take a look at the list of available objects.

Because Query Stripping is enabled the characteristic Product is now shown in bold as the data is no retrieved because it is not needed for the report. Product Group is not shown in bold as it is used in the chart.

97. Now drag Product back into the table.

Because the data is not in the report, the report needs to be refreshed.

Page 189: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

189

98. Refresh your report. 99. Confirm the prompt values. 100. Click OK. 101. Navigate to the tab File (left hand side).

102. Select the symbol to save your report to the SAP BusinessObjects Server.

103. Select the folder Public Folder. 104. Navigate to the folder Demo Content. 105. Select the tab Categories. 106. Open the list of Categories in the folder Corporate Categories. 107. Select the Category Mobile. 108. Enter a name for your report. 109. Click Save.

11.3.2.1 Viewing the report

110. Select the menu Start > All Programs > SAP Business Intelligence > SAP BusinessObjects BI Platform 4 > SAP BusinessObjects BI Platform Java BI Launchpad.

111. Logon on using the SAP Authentication and your SAP credentials for the SAP System BWH and client 001. 112. Select the tab Documents. 113. Click on Folders. 114. Open the list of folders from the folder Public Folders. 115. Navigate to the folder Demo Content. 116. Select the report you saved previously. 117. Use a right-click and use the menu View.

Page 190: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

190

11.3.3 Exercise 2: Creating your first hierarchical Web Intelligence report with SAP NetWeaver BW data

1. Logon to the BI LaunchPad via the menu Start > All Programs > SAP Business Intelligence > SAP BusinessObjects BI Platform 4 > SAP BusinessObjects BI Platform Java BI Launchpad

2. Select SAP as Authentication mode. 3. Enter BWH as SAP System. 4. Enter 001 as SAP client. 5. User your SAP credentials to logon. 6. Navigate to the menu Applications. 7. Select Web Intelligence. 8. Use the toolbar and start the process to create a new report. 9. Select the option BEx. 10. Click OK. 11. Select the connection SAP_BW. 12. Open the list of InfoArea. 13. Open the InfoArea NetWeaver Demo. 14. Select the InfoProvider Actual for NW Demo.

15. After selecting the connection the list of BEx queries is shown on the right hand side. 16. Select the BEx Query QUERY_DEMO_05. 17. Click OK. 18. You are now presented with the query panel. 19. Add the following items to the Result Objects:

Sales Hierarchy 01

Net Value

Costs

Page 191: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

191

20. Click on the Set Variables button in the toolbar.

21. Open the calendar control.

22. Click Now. 23. Ensure the option Set as Prompt is activated. 24. Click OK.

25. Open the member selector for the Sales Hierarchy 01. 26. Navigate to the Levels tab.

Page 192: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

192

27. Activate the option Enable Levels. 28. Select all Levels.

29. Navigate back to the Members tab.

Page 193: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

193

30. Click OK. 31. Click Run Query

32. The date from today should be shown as preselected value. 33. Click OK. 34. You can now use the “+” symbols to open and close the hierarchy. You can also use the context menu as shown

below.

35. Open all levels of the hierarchy.

Page 194: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

194

36. Select the tab Analysis. 37. Select the tab Data Tracking.

38. Click on Track.

Page 195: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

195

39. Activate the option Compare with last data refresh. 40. Navigate to the tab Options.

41. Leave the default options. 42. Click OK. 43. Refresh the report. 44. Set the value for the keydate variable to July 1

st 2012.

45. Click OK. 46. Click OK.

The changes based on the change in the date – as the hierarchy is time-dependent – are highlight based on the configured options.

Page 196: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

196

47. Navigate to the tab Report Element. 48. Navigate to the tab Table.

49. Click on the Vertical Table. 50. Open the menu and select the menu Define Vertical Table. 51. Drag and Drop the table next to the existing table. A menu will be shown to define the table.

52. Define the Sales Hierarchy 01 as the first element of the Horizontal Axis.

53. Click the button to add another column. 54. Define the element Net Value as the second element of the Horizontal Axis.

Page 197: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

197

55. Click OK. 56. Open only Level 1 (World) and Level 2 (Europe / North America) of the hierarchy.

57. Select the table. 58. Navigate to the tab Report Element. 59. Navigate to the tab Tools. 60. Select the menu option Turn Into.

Page 198: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

198

61. Select the option More Transformations. 62. Select the option Column. 63. Set the Category Axis to the Sales Hierarchy 01. 64. Set the Value Axis 1 to the Net Value.

65. Click OK 66. Use a right-click on one of the Labels of the chart. You can still use the hierarchical navigation in the chart.

67. Save the report to your SAP BusinessObjects system.

68. Navigate to the tab File (left hand side).

69. Select the symbol to save your report to the SAP BusinessObjects Server.

Page 199: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

199

118. Select the folder Public Folder. 119. Navigate to the folder Demo Content. 120. In addition ensure the report is being assigned to the Category Mobile. 121. Enter a name for your report. 122. Click Save.

11.3.3.1 Viewing the report

123. Select the menu Start > All Programs > SAP Business Intelligence > SAP BusinessObjects BI Platform 4 > SAP BusinessObjects BI Platform Java BI Launchpad.

124. Logon on using the SAP Authentication and your SAP credentials for the SAP System IH2 and client 001. 125. Select the tab Documents. 126. Click on Folders. 127. Open the list of folders from the folder Public Folders. 128. Navigate to the folder Demo Content. 129. Select the report you saved previously. 130. Use a right-click and use the menu View.

Page 200: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

200

11.4 SAP BusinessObjects Analysis, Edition for Microsoft Office and SAP NetWeaver BW

In this part of the exercises for SAP BusinessObjects BI 4.x you will use SAP BusinessObjects Analysis, edition for Microsoft Office in combination with SAP NetWeaver BW on SAP HANA. The hosted environment does not have SAP BusinessObjects Analysis, edition for Microsoft Office pre-installed and therefore we will start this exercise with the installation of SAP BusinessObjects Analysis, edition for Microsoft Office. To leverage SAP BusinessObjects Analysis, edition for Microsoft Office you will need Microsoft Office installed on the system where you would like to use SAP BusinessObjects Analysis, edition for Microsoft Office.

11.4.1 Download of SAP BusinessObjects Analysis, edition for Microsoft Office

You can download the software required for SAP BusinessObjects Analysis, edition for Microsoft Office from Service marketplace. Please follow the next set of steps: 1. Logon to Service Marketplace using the following URL : http://service.sap.com/swdc 2. On the left hand side click on Installations and Upgrades.

3. On the left hand side click on Browse our Download Catalog.

Page 201: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

201

4. Select the entry Analytics Solutions. 5. Select the entry SBOP Analysis MS Office. 6. Select SBOP Analysis MS Office 1.4 7. Select Installation. 8. Select the component and add the component to the Download Basket. 9. Use the Download Manager to download the software to your local desktop.

Page 202: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

202

11.4.2 Installation of SAP BusinessObjects Analysis, edition for Microsoft Office

After you downloaded the necessary software, you can now start the installation of SAP BusinessObjects Analysis, edition for Microsoft Office.

Technical Pre-Requisites

Microsoft Office needs to be installed on the client system. To see a list of supported Microsoft Office version you

can refer to the list of supported platforms on http://service.sap.com/bosap-support.

Microsoft .NET Framework 2.0 Redistributable Package is required.

Primary Interop Assemblies for Microsoft Office are required.

The account being used for the installation should have administrative rights on the system.

1. After you downloaded the software you can start the installation routine by starting SapAaoSetup.exe. 2. In the first step you will be presented with the Welcome screen for the installation of SAP BusinessObjects

Analysis, edition for Microsoft Office. 3. In the second step you can select the components for the installation.

4. In the next step you can configure the destination folder for the installation.

Page 203: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

203

5. After these steps the actual installation process will get started and you should be able to use SAP BusinessObjects Analysis, edition for Microsoft Office shortly after this.

Page 204: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

204

11.4.3 Exercise 1: Creating your first workbook

1. Start SAP BusinessObjects Analysis, edition for Microsoft Office with Microsoft Excel via the menu path: Start • All Programs • SAP Business Intelligence • SAP BusinessObjects Analysis • Analysis for Microsoft Excel.

2. Select the Insert • Select Data source option from the Analysis Ribbon.

3. You are presented with the logon screen to the SAP BusinessObjects BI System.

4. For the Web Service URL enter the following: http://<BI4 Server>:8080/dswsbobj/services/session where you replace <BI4 Server> with the server name or IP Number of the BI4 Server instance.

5. Click Options and ensure the Authentication is set to SAP. 6. Enter you SAP User – BWH~001/DEMO. 7. Enter you assigned password for the SAP credentials. 8. Click OK. 9. Select the connection SAP_BW. 10. Click Next. 11. Logon to the SAP BW system with the user DEMO. 12. Select the tab Search 13. Enter the text DEMO_QUERY. 14. Press Enter on the keyboard. 15. Select the query DEMO_QUERY_02.

16. Click OK.

Page 205: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

205

17. Click the button next to the prompt for the Calendar Month, which states “Please select a range for Calendar Month”. You will be shown the member selector.

The member selector allows you to specify the Display of the values and you can also search for members using the search option.

18. Select the value JAN 2012. 19. Click OK. 20. Now open the list of options for the prompt for the end of the range. 21. Select the value JUN 2012. 22. Click OK.

Page 206: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

206

23. Click OK.

24. Select the column header with the word Country. 25. Open the menu Totals in the Analysis Ribbon.

Page 207: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

207

26. Ensure the option Show Totals is activated. 27. Select the column header with the word Region. 28. Open the menu Totals in the Analysis Ribbon. 29. Ensure the option Show Totals is activated. 30. Make sure the navigation panel is activated by making sure the Display icon in the ribbon is activated.

31. In the Navigation Panel select the entry Measures in the Columns. 32. Use the Right Click to open the context menu.

Page 208: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

208

33. Select the option Filter by Member.

34. Select the Net Value and Costs and deselect all other members. 35. Click OK. 36. Select a member of characteristic Country in your crosstab. 37. Select the menu option Members in the Analysis ribbon.

Page 209: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

209

The option Members allows you configure which part you would like to show and which type of text you would like to show.

38. Select the option Text and use the Medium Text. 39. Select a member of the column Region. 40. Select the menu option Members in the Analysis ribbon. 41. Select the option Text and use the Medium Text. 42. Select a value in the column Net Value. 43. Select the menu Measures. 44. Select the option Number Format.

45. Set the Scaling Factor to 1000 and the number of Decimal Places to 0. 46. Click OK. 47. Now click on the button Pause Refresh in the ribbon.

48. Now open the list of members for the dimension Product in the navigation panel.

Page 210: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

210

49. Open the list for the Flat Presentation.

50. Select all the values shown for dimension Product with the exception of “Not Assigned” and drag them to the Background Filter area.

51. Remove the dimensions Country and Region from your crosstab by a simple drag and drop move from the Rows into an empty area of the navigation panel.

Page 211: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

211

52. Now click on the button Pause Refresh in the ribbon again to refresh your crosstab.

53. Open the list of possible values for Country in the navigation panel.

Page 212: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

212

54. Select the Country Hierarchy 1 and drag and drop it to your crosstab into the rows of the navigation panel.

55. Select the member WORLD of the hierarchy in the crosstab and navigate to the menu Hierarchy in the ribbon.

Page 213: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

213

56. Select the menu Hierarchy > Expand Node to Level and select Level 03. 57. Now select the menu Hierarchy > Show Levels.

58. Select Level 02 and uncheck Level 01. 59. Click OK.

World as member from the hierarchy has been removed from the display.

Page 214: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

214

60. Now drag and drop the dimension Sold-to-Party to your crosstab so that it replaces the hierarchy. You can do so in the crosstab or in the navigation panel.

61. Select a member of the column Sold to Party. 62. Select the menu option Totals in the Analysis ribbon. 63. Ensure the option Show Totals is activated. 64. Select a value in the column Net Value. 65. Select the menu Filter > Filter by Measure > Most Detailed Dimension in Rows > Edit.

66. For Based On measure use the key figure Net Value. 67. As operator use Top N. 68. Set the value to 10.

Page 215: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

215

69. Click Add. 70. Click OK.

71. Remove the filter for dimension Product from the Background Area. 72. Now drag and drop the dimension Product to your crosstab so that it replaces the Sold to Party dimension. You

will see the Top 10 Products. 73. Select a member of dimension Product and navigate to the menu Members. 74. Select the option Text.

Page 216: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

216

75. Select a value in the column Net Value. 76. Select the menu Filter > Filter by Measure > Most Detailed Dimension in Rows > Reset. 77. Open the list of items from dimension Product.

78. Drag and Drop Product Hierarchy 01 into the Rows so that it replaces it dimension Product. 79. Select the menu Conditional Formatting > New.

Page 217: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

217

80. Enter Net Value Highlighting as Name. 81. Set the Format to Status Symbol. 82. Add a definition for the values Greater Than 1.000.000 as Green (1) (Please enter the value without separators!). 83. Click Add. 84. Add a definition for the values between 500.000 and 1.000.000 as Orange (4). (Please enter the value without

separators!). 85. Click Add. 86. Click on the tab Display.

87. Activate the option Data Cells and Row Headers. 88. Click OK. 89. Remove the Product Hierarchy from the Rows. 90. Add dimension Country (Flat Presentation) to the Rows

Page 218: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

218

91. Add dimension Sold-to-Party to the Rows. 92. Select the option Hierarchy > Compact Display in Rows. 93. You can now open and close the levels. 94. Select a member of the dimension Country from the crosstab. 95. Select the menu Hierarchy > Expand Dimension Sold to Party. 96. Add several empty rows on the top of your spreadsheet (10 rows). 97. Now open the tab Information in the navigation panel.

98. Drag and drop all the elements from the Information Area to your top of the spreadsheet. 99. You can simply select the item in the Information Area and drag and drop it on the spreadsheet.

Page 219: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

219

100. Select a cell in the table containing the data. 101. Now select the menu Create Slide in the ribbon. 102. Microsoft PowerPoint is being started. 103. Logon to your SAP BusinessObjects BI Server with your SAP credentials and the SAP Authentication. 104. Logon to the SAP system with your credentials. 105. Confirm the prompting dialog by clicking OK. 106. You are being presented with the Fit Table dialog and you can decide to either abbreviate the table or to split

the table across several slides.

107. Select the option Abbreviate table on this slide. 108. Set the Maximum Number of Rows to 5. 109. Click OK. 110. You are being presented with a default layout.

Page 220: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

220

111. Select a member in the table. 112. Select the menu item Fit Table in the Analysis Ribbon.

113. You can now select how your table is being treated inside Microsoft PowerPoint. You can choose to abbreviate the table or to split the table.

114. Select the option Split. 115. Set the maximum number of rows to 3.

Page 221: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

221

Analysis, edition for Microsoft Office tells you that you will need several slides based on the amount of data.

116. Click OK. 117. Additional slides are being created based on the information that you created in your crosstab. You can use all

the common Microsoft PowerPoint option to format the design and layout. 118. Select the table on the slide and click the menu Fit Table from the Analysis Ribbon.

119. Set the maximum number of rows to 10 and use the option Abbreviate.

120. Activate the option Delete Slides with Deleted Tables. 121. Click OK.

Page 222: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

222

122. The table in the slide deck stops after 10 rows and shows “...” to indicate the table is abbreviated. 123. Select your table in the slide deck. 124. Use the menu Info Field in the Analysis Ribbon to add the Last Data Update information to your slide. 125. Close Microsoft PowerPoint. (we will not save the slides) 126. Now navigate back to Analysis, edition for Microsoft Excel. 127. Select the second sheet “Sheet 2” in your Microsoft Excel file. 128. Select the Insert menu from the Analysis Ribbon. 129. Select the first entry which should be DEMO_QUERY_02.

130. The prompting dialog appears. You can leave the values as is. 131. Click OK. 132. Navigate to the tab Components in the Navigation Panel 133. Make sure you select the entry Book 1.

Page 223: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

223

134. Activate the option Merge Variables. 135. The prompting dialog appears again and the prompts have been merged based on the technical names.

136. Confirm the values by clicking OK. 137. Click on the button Prompts in the Analysis Ribbon.

Page 224: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

224

138. Navigate back to the Analysis tab. 139. Ensure you activate Sheet 2 in Microsoft Excel 140. Remove Country and Region from the Rows. 141. Move Product Hierarchy 01 into the Rows. 142. Use a right click on Measures in the columns area in the navigation panel.

143. Use the menu Filter by Member. 144. Select the key figures Net Value and Cost and remove all others. 145. Click OK. 146. Select the column header for key figure Costs (the cell with the wording Costs). 147. Press the CTRL key on the keyboard. 148. Select the column header for key figure Net Value (the cell with the wording Net Value). 149. Select the menu Calculations > Add Calculation > Percentage Share.

The new calculation is automatically added to the cross tab. The calculation depends on the order of selecting the columns.

150. Select a cell in the crosstab. 151. Click on the Chart menu in the Analysis Ribbon.

Page 225: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

225

152. You can now use the standard Microsoft Excel menus to format the chart.

153. In case you would like to keep the workbook you can use the menu File to save the workbook locally or to the SAP BusinessObjects server.

Page 226: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

226

11.4.4 Exercise 2: Using SAP BW Workspaces with SAP BusinessObjects Analysis, edition for Microsoft Office

1. Start SAP BusinessObjects Analysis, edition for Microsoft Office with Microsoft Excel via the menu path: Start • All Programs • SAP Business Intelligence • SAP BusinessObjects Analysis • Analysis for Microsoft Excel.

2. Select the Insert • Select Data source option from the Analysis Ribbon.

3. You are presented with the logon screen to the SAP BusinessObjects BI System. 4. For the Web Service URL enter the following:

http://<BI4 Server>:8080/dswsbobj/services/session where you replace <BI4 Server> with the server name of IP Number of the BI4 Server instance.

5. Click Options and ensure the Authentication is set to SAP. 6. Enter you SAP User – BWH~001/DEMO. 7. Enter you assigned password for the SAP credentials. 8. Click OK. 9. Select the connection SAP_BW. 10. Click Next. 11. Logon to the SAP BW system with the user DEMO. 12. Select the tab Search 13. Enter the text DEMO_QUERY. 14. Press Enter on the keyboard. 15. Select the query DEMO_QUERY_06. 16. Click OK. 17. In Microsoft Excel also open the file BW Workspaces.CSV in a separate sheet (Sheet 2). You can find the file on

the SAP BusinessObjects BI4 hosted environment on the desktop in a folder named DATA_FILES.

Page 227: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

227

18. Now select the cells opened from the local CSV File (not the BEx Query).

19. Click Create in the Analysis Ribbon. 20. Select the SAP_BW system connection. 21. Click Next. 22. Select the workspace Demo Workspace – DEMO01. 23. Click Next. 24. Configure row Product and Product Color as Dimension in the option Type.

Page 228: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

228

25. Click the button for the Type Details for row Product. 26. Select the entry Product - 0D_NW_PROD.

27. Click OK.

Page 229: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

229

28. Ensure the Product Forecast is flagged as a Measure.

29. Enter DEMO for the technical name. 30. Click Next.

31. Select the option Do Not Insert. 32. Click OK. 33. Close the local spreadsheet and navigate back to the BEx query. 34. Now select a cell in the previously opened BEx Query.

Page 230: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

230

35. Now use the option Add > Dimensions from the Analysis Ribbon. 36. Select the workspace you just created - @3BW_DEMO.

37. Click Next.

Page 231: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

231

38. For the Technical Name for the Data Source Details enter DEMO. 39. Click Next. 40. Select the option New Worksheet. 41. Click OK.

Product Color has been added to the worksheet and can be used as part of the result set now.

Page 232: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

232

11.5 SAP BusinessObjects Analysis, edition for OLAP

In this part of the exercises you will use SAP BusinessObjects Analysis, edition for OLAP in combination with BEx queries from your SAP NetWeaver BW system. As part of the exercise you will leverage the following functionality:

- Establish data connectivity to BEx queries. - Leverage SAP Variables. - Leverage hierarchies from SAP NetWeaver BW. - Create calculations in the Analysis Workbook. - Share your workbook with SAP BusinessObjects Design Studio to enable the workbook for mobile

consumption.

11.5.1 Exercise 1: Creating your first report using SAP BusinessObjects Analysis, OLAP edition

1. Open the BI Launchpad via Start > All Programs > SAP Business Intelligence > SAP BusinessObjects BI

Platform 4.0 > SAP BusinessObjects BI Platform Java BI Launchpad. 2. Logon with your SAP credentials and the SAP authentication for system BWH and client 001. 3. Select the menu Applications. 4. Select Analysis, Edition for OLAP. 5. Enter DEMO_QUERY into the Find dialog. 6. Press Enter on the keyboard 7. Select the BEx Query – DEMO_QUERY_01 – from the list. 8. Click OK.

9. You are presented with the query view definition based on the BEx Query Designer. 10. Use a Right Click on the Key Figures in the Layout tab.

Page 233: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

233

11. Select the menu Filter > By Member. 12. Select Net Value, and Costs and remove the other key figures.

13. Click OK. 14. Now drag and drop dimension Country from the list of available dimensions towards the layout. Drag and drop it

on top of Calendar Year so that it replaces Calendar Year.

Page 234: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

234

15. Select the tab Display.

16. Open the menu item Totals & Parents. 17. Uncheck the Display Sub-Totals. 18. Drag and Drop the dimension Calendar Year / Month towards the Background Filter Area.

Page 235: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

235

19. Select the month values JAN 2012 to JUN 2012. 20. Click OK. 21. Select the column header from the measure Costs. 22. Press the CTRL button on the keyboard. 23. Select the column header from the measure Net Value. 24. Navigate to the tab Analyze. 25. Select the menu Calculations > Percentage Share.

You can also use the menu Calculations > Custom Calculation if you prefer to use a formula editor.

26. The new calculated keyfigure is added to the worksheet.

Page 236: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

236

You can use the symbol next to the name of the new column to edit the calculation or header.

27. Click on the symbol and enter “% of Cost” as Name.

28. Click OK. 29. Select the column header for the new calculation % of Costs. Ensure the complete column is selected. 30. Navigate to the tab Analyze. 31. Select the menu Conditional Formatting > New.

Page 237: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

237

32. Enter a name for the conditional formatting. 33. Select Symbol for the option Format. 34. Use the option Greater Than and enter 71,5 as value (Decimal comma). 35. Use a Red color. 36. Click Add.

Page 238: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

238

37. Use the checkbox Preview to see the impact. 38. Click OK. 39. Add the dimension Product to the Rows so that it displays Country > Region > Product. 40. Select a cell in the cross table. 41. Navigate to the tab Display. 42. Select the menu Hierarchy > Compact Display in Rows. 43. Select the men Totals & Parents and ensure the option Display Sub-Totals is activated.

Page 239: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

239

44. Navigate to the tab Insert. 45. Use a double-click into the top left corner of the cross tab so that no cells are selected. 46. Select the menu Bar Chart > Clustered Bar.

47. The chart will be inserted as part of the sheet.

Page 240: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

240

48. Use the option to maximize the chart.

49. You can use the left side of the chart for zooming in the chart. 50. Minimize the chart again. 51. Select a cell in the cross tab. 52. Navigate to the tab Display 53. Click on Focused Analysis.

Page 241: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

241

54. Select parts of your cross table above and see how now the chart shows only those parts of the crosstab that you

highlight.

55. Click on Sheet 2 to navigate to another blank sheet. 56. Use the option to establish a second connection.

57. Enter DEMO_QUERY into the Find dialog. 58. Press Enter on the keyboard. 59. Select the BEx query – DEMO_QUERY_02 – from the list. 60. Click OK. 61. The prompting screen comes up.

Page 242: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

242

62. Open the options for the prompt “Please select a range for Calendar Month”.

63. Use the for the prompt for Calendar Year / Month to open the Member Selector.

64. Select the value 01.2012 for the start of the range. 65. Click OK. 66. Configure the value 06.2012 for the end of the range. 67. Click OK. 68. Leave the other parameters empty for now. 69. Click OK. 70. Select the new connection on the left hand side.

Page 243: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

243

71. Click on the text / hyperlink Insert New Analysis.(in the middle of the new empty sheet)

72. Remove dimension Region from the Rows. 73. Drag and drop dimension Calendar Year / Month to the Rows so that it replaces Country. 74. Use a right-click on the Measure in the Columns. 75. Select the menu Filter by Member. 76. Ensure only the key figure Net Value is selected. 77. Click OK.

Page 244: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

244

78. Navigate to the tab Insert. 79. Select the menu Switch To > Line. 80. Navigate to the tab Display. 81. Click on Swap Axes.

82. Click on the button Auto-Update (top right corner).

83. Drag and Drop dimension Product to the Columns so that it replaces Calendar Year / Month. 84. Now click on the Auto Update button again.

Page 245: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

245

85. Navigate to the tab Insert. 86. Click on the Insert a table button.

87. Select the option Insert a new analysis. 88. Ensure that you select the newly created table in the sheet. 89. Remove all items from the Rows. 90. In the list of available objects open the entry Product.

91. Drag and drop Product Hierarchy 1 to the rows of the new analysis table.

Page 246: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

246

92. Use a double click on the column header Product Hierarchy 01. 93. Use the menu Show Levels. 94. Ensure that Level 02 is unchecked.

95. Open the Product Hierarchy 1 element in the list of available objects.

Page 247: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

247

96. Now drag and drop Level 02 from the left side to the table. The table is now only showing Level 02 with descendants.

97. Select a cell in the table with the hierarchy. 98. Navigate to the tab Insert.

99. Select the option Insert a pie chart.

Page 248: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

248

100. Navigate to the tab Insert. 101. Select the option Switch to Column > Clustered Column. 102. Activate the Properties for the chart.

103. Activate the option Show Hierarchical Labeling. 104. Click Apply. 105. Close the Properties.

Page 249: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

249

106. Open the Product Hierarchy 1 element in the list of available objects on the left hand side. 107. Now drag and drop All Level entries and the entry Leaf Members from the left side to the table so that the

table and chart show the complete hierarchy. 108. Select the chart in your workspace. 109. Navigate to the tab Display and click on Swap Axes. 110. Maximize the chart.

111. Minimize the chart again. 112. Select the menu Save in the toolbar.

113. Click Folders.

Page 250: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

250

114. Navigate to the folder Public Folder > Demo Content. 115. Enter a name for your report 116. Click Save.

Page 251: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

251

11.6 SAP BusinessObjects Explorer with SAP NetWeaver BW on SAP HANA

In the next set of exercises you will leverage SAP BusinessObjects Explorer in combination with model in SAP HANA, which have been generated based on your data models from SAP NetWeaver BW. You will first configure the connectivity from your SAP BusinessObjects Explorer environment to the SAP HANA system, and then you will create your own Information Space to explore the data in SAP HANA.

11.6.1 Exercise 1: Configuring central SAP HANA connectivity

1. Logon to the Central Management Console (CMC) via the menu Start > All Programs > SAP Business Intelligence > SAP BusinessObjects BI Platform 4 > SAP BusinessObjects Bi Platform Central Management Console.

2. Logon with your SAP credentials using the SAP Authentication for System ID BWH and Client 001. 3. Click Log On. 4. Select the entry Servers. 5. Select the entry Explorer Services.

6. Select all services on the right hand side. 7. Select the menu Actions > Stop Server. 8. Select the entry Applications in the top level menu for the Central Management Console (CMC).

9. Select the entry Explorer.

Page 252: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

252

10. Use a right-click and use the menu option Properties. 11. In the Advanced Configuration panel you can now fill in the required details:

Parameter Name Description

newdb.system.alias The name of the SAP HANA DB System name as it will appear in the "Manage Spaces" tab for SAP BusinessObjects Explorer

newdb.url The JDBC url that will be used to connect to the SAP HANA DB System. This URL contains the System host name and port as follows: newdb.url=jdbc:sap//<server name>:<port>

newdb.authentication.mode DatabaseMapping: activates the use of the SAP BusinessObjects Business Intelligence platform "Database Credentials". ConfiguredIdentity: allows the specification of a "fixed" user name / password. With this authentication mode, two extra parameters are required: • newdb.user • newdb.password

Page 253: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

253

12. For our exercise enter the following details

Parameter Name Value

newdb.system.alias SAP_HANA_DEMO

newdb.url newdb.url=jdbc:sap://imdbhdb.sapcoe.sap.com:30015

newdb.authentication.mode ConfiguredIdentity

newdb.user Demo

newdb.password Welcome! (case sensitive)

You can copy and paste the text below: newdb.system.alias = SAP_HANA_DEMO; newdb.url=jdbc:sap://imdbhdb.sapcoe.sap.com:30015; newdb.authentication.mode = ConfiguredIdentiy; newdb.user = Demo; newdb.password = Welcome!;

13. Click Save and Close. 14. Select the entry Servers in the main menu for the CMC. 15. Select the entry Explorer Services. 16. Select all services on the right hand side. 17. Select the menu Actions > Start Server.

You should now be able to create an Information Space using SAP BusinessObjects Explorer pointing to the SAP HANA system. Using this option you can only enter one SAP HANA system. An additional option is to create a relational connection using the Information Design Tool as you can establish multiple connections in that way.

Page 254: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

254

11.6.2 Exercise 2: Creating a connection for SAP HANA using the Information Design Tool

1. Start the Information Design tool by following the menu Start • All Programs • SAP Business Intelligence • SAP BusinessObjects BI Platform 4 Client Tools • Information Design Tool.

2. Select the menu Window and make sure the window Repository Resources is shown. 3. Select the menu Insert Session in the Repository Resources to establish a session to your SAP

BusinessObjects system.

4. Use the following details to logon

System: SBOP4:6400

User BWH~001/DEMO

Password Welcome! (case sensitive!)

Authentication SAP

Logon Dialog and User Name

Because the logon dialog does not provide separate entries for the SAP System ID and the Client number you

need to enter those details as part of the user name following the syntax : <System ID>~<Client>/<User Name>; in

our example: BWH~001/DEMO.

Page 255: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

255

5. Click OK. 6. Open the context menu of your established server connection in the area Connections.

7. Select the menu item Insert Relational Connection. 8. Enter a name for the connection – SAP_HANA_CONNECTION. 9. Click Next.

10. Select the connection type JDBC Drivers in the category SAP HANA database 1.0. 11. Click Next.

Page 256: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

256

12. Enter the necessary details of your SAP NetWeaver BW system:

Authentication Mode: Use specific username and password

User Name demo

Password Welcome!

Server imdbhdb.sapcoe.sap.com:30015

13. Click Next.

14. Leave the default values and click Finish.

You should now be able to use this connection with SAP BusinessObjects Explorer as well and you can create an Information Space now.

Page 257: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

257

11.6.3 Exercise 3: Creating an Information Space on top of SAP NetWeaver BW

1. Logon to the BI LaunchPad via the menu Start • All Programs • SAP Business Intelligence • SAP BusinessObjects BI Platform 4 • SAP BusinessObjects BI Platform Java BI Launchpad.

2. Select SAP as Authentication mode. 3. Enter BWH as System ID 4. Enter 001 as Client. 5. User your SAP credentials to logon 6. Navigate to the menu Applications. 7. Select Explorer. 8. Select the menu Manage Spaces.

9. Select the entry SAP_HANA_HDB. 10. Open the list of available sources in SAP_HANA_HDB. 11. Select the entry sap.bw/Z_NW_STD_INTERNAL. This SAP HANA model is based on the SAP NetWeaver BW

InfoProvider Z_NW_STD. 12. Click New.

Page 258: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

258

13. Enter a Name for the new Information Space. 14. Open the list of folders and select the folder Public Folders > Demo Content. 15. Navigate to the tab Objects.

Page 259: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

259

16. Add the following items to the Facet Groups:

Calendar Year / Month

Country

Division

Product

Product Category

Product Group

Region

Customer

Sales Organization

Costs

Net Value

Open Order Value

Order Quantity

17. Select the entry Country in the list of Facets. 18. On the right hand side the properties are shown.

Page 260: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

260

19. Set the Dimension to Geography.

20. Click on the button next to Geography.

21. Set the Geographic Level to Country. 22. Click Load.

Page 261: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

261

23. Ensure the Country codes are matched. 24. Click OK. 25. You are back at the tab Objects. 26. Open the menu New for the Facets, Measures, Filters.

27. Select the option Calculated Measure.

28. Enter Profit as Name. 29. Select Net Value as First Measure 30. Select the Operator “-”. 31. Select Costs as Second Measure. 32. Set Trend is good when Increasing. 33. Click OK. 34. Click OK.

Page 262: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

262

35. Click on the Index Now button. 36. After a short time the status should turn to green. 37. Navigate to the tab Home. 38. Click Refresh List. 39. Click on your new Information Space. 40. Select dimension Country in the lower part for the visualization.

41. Click OK. 42. Set Profit as the Measure. 43. Click on the visualization type Geography.

Page 263: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

263

44. Open the entry for Country as part of the visualization.

45. Enter 50 as the value for the Top ranked countries. 46. Click OK. 47. Click on the visualization type Comparison.

Page 264: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

264

48. Select Calendar Year / Month as second dimension. 49. Click OK.

The visualization part also allows you to select different types of sub-charts.

50. Now select Product for the visualization as first dimension. 51. Select the measures Net Value, and Profit. 52. Remove Calendar year / Month from the second dimension.

Page 265: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

265

53. Click on the visualization type Correlation.

We have several products in the bottom right area, which means low revenue and low profit.

54. Draw a box around those products.

Page 266: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

266

55. Then use the option to filter on these products.

56. Now go back to dimension Country for the visualization. 57. Configure Country to show the bottom 10 values based on Profit. 58. Use the Comparison visualization.

At this point we would like to share this visualization with our colleagues via mobile devices.

Page 267: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

267

59. Now from the main toolbar select the option Create View Set.

60. You can now create your own Exploration View.

Using the you can add more charts. Using the you can add tabular information and using symbol you can add filter values.

61. Drag and drop an additional chart on top of your existing chart

Page 268: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

268

62. For the Measures activate the Net Value. 63. For the Dimension select Product.

64. Click on the symbol to change the chart type.

Page 269: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

269

65. Select the option Percentage and use the sub type Pie Charts.

Page 270: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

270

66. Remove the filter by clicking on the “x”.

67. Now drag and drop a tabular view to your Exploration View. Place it next to the Pie Chart.

Page 271: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

271

68. For the Dimension select the Sales Organization. Click OK.

69. For the Measures use Net Value and Profit.

70. Now drag and drop a filter view to the Exploration View . 71. Place it next to the table.

Page 272: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

272

72. Select the Calendar Year / Month entry. 73. Click OK.

74. Click .

Page 273: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

273

75. Enter a Name for the Exploration View. 76. Open the list of folders in the folder Public Folders. 77. Select subfolder Demo Content. 78. Click OK. 79. Click OK. 80. Close the tab from the Exploration View and navigate back to the Home tab. 81. Click the Exploration View Sets button

You can now use the Exploration View in the browser and you can use the Exploration View on your mobile device.

Page 274: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

274

11.7 SAP BusinessObjects Design Studio with SAP NetWeaver BW on SAP HANA

In this set of exercises you will use SAP BusinessObjects Design Studio with BEx queries from your SAP NetWeaver BW system and create two dashboards based on the data in SAP NetWeaver BW.

11.7.1 Exercise 1: Creating your first application

1. Select the menu Start > All Programs > SAP Business Intelligence > SAP BusinessObjects Design Studio > Design Studio.

2. Logon to your SAP BusinessObjects BI server using your SAP credentials and the SAP Authentication. 3. Close the welcome screen by closing the Welcome page.

4. Navigate to the menu Application and select the menu item New.

Page 275: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

275

5. Enter DEMOAPP01 for the Name and Description. 6. Click Browse for the Folder Selection. 7. Select the folder Public Folders > Demo Content. 8. Click OK. 9. Select iPad as Target Device. 10. Click Finish.

11. Navigate to the Outline and select the folder Data Sources. 12. Use a right-click and select New.

Page 276: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

276

13. Click Browse for the option Connection.

14. Select the connection SAP_BW. 15. Click OK. 16. Click Browse for the option Data Source. 17. Click on the tab Search. 18. Search for the query with the technical name DEMO_QUERY_01. 19. Select the query and click OK. 20. Enter REVENUE_BY_SALES as the Data Source Alias. 21. Click OK. 22. Now navigate to the new data source and use a right-click.

Page 277: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

277

23. Select the menu option Edit Initial View.

24. Remove all items from the Rows by simply moving the objects into an empty area. 25. Add characteristic Sales Organization to the Rows. 26. Add characteristic Product Category to the Rows. 27. Use a right click on characteristic Sales Organization.

Page 278: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

278

28. Select the menu Member Display > Text. 29. Use a right click on characteristic Product Category. 30. Select the menu Member Display > Text. 31. Click OK. Now let’s add a second data source.

32. Navigate to the Outline and select the folder Data Sources. 33. Use a right-click and select New. 34. Click Browse for the option Data Source. 35. Click on the tab Search. 36. Search for the query with the technical name DEMO_QUERY_01. 37. Select the query and click OK. 38. Enter REVENUE_BY_PRODUCT as the Data Source Alias. 39. Click OK. 40. Now navigate to the new data source and use a right-click. 41. Select the menu option Edit Initial View. 42. Remove all items from the Rows. 43. Add characteristic Product to the Rows. 44. Use a right click on characteristic Product. 45. Select the menu Member Display > Text. 46. Open the list of Measures in the Columns. 47. Select each of the keyfigure – with the exception of Net Value – and use a right click and the menu Remove. 48. Click OK. 49. Now navigate to the Container Components. 50. Drag and drop the component Pagebook to the empty area of your application.

Page 279: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

279

51. Navigate to the Properties shown on the right hand side and enter the values as shown in the screen below.

Top Margin 0

Left Margin 0

Bottom Margin auto

Right Margin auto

Width 1000

Height 800

52. Navigate to the Outline and ensure PAGE_1 from the PAGEBOOK_1 is selected.

Page 280: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

280

53. Now drag and drop a Crosstab from the Analytic Components to the empty area of Page 1 from the pagebook.

54. Navigate to the Properties and open the list of available Data Sources.

Page 281: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

281

55. Select the Data Source REVENUE_BY_SALES. 56. Configure the other Properties as shown below:

Top Margin 10

Left Margin 10

Bottom Margin auto

Right Margin auto

Width 900

Height 700

Enable Selection true

57. Drag and drop a Button from the Basic Components below the table.

Page 282: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

282

58. Navigate to the Properties of the button. 59. Click the button for the On Click event property to edit the script.

60. In the Script Editor press CTRL + SPACE on the keyboard.

Page 283: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

283

61. Double-Click on the option New Statement Wizard.

62. Select Set Filter. 63. Click Next.

Page 284: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

284

64. Click Browse for the Dimension. 65. Select 0CALYEAR - Calendar Year. 66. Click OK. 67. Click Browse for Single Value. 68. Select the value 2012. 69. Click OK. 70. Click Finish.

71. Click OK. 72. Navigate to the Properties for the button.

Page 285: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

285

73. Change the Display Text to Year 2012. 74. Navigate to the Outline. 75. Double-Click on PAGE_2 from the PAGEBOOK_1.

76. Drag and drop a Chart from the Analytic Components to the Page 2.

Page 286: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

286

77. Navigate to the Properties from the chart and open the list of available Data Sources.

78. Select the Data Source REVENUE_BY_PRODUCT. 79. Configure the other Properties as shown below:

Top Margin 10

Left Margin 10

Bottom Margin auto

Right Margin auto

Width 800

Height 600

80. Navigate to the Outline. 81. Select the PAGEBOOK_1 item.

Page 287: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

287

82. Navigate to the Properties.

83. Select the value Slide In for the property Transition Effect. 84. Now select PAGE_1 from PAGEBOOK_1 in the Outline. 85. Select the Crosstab from PAGE_1. 86. Navigate to the Properties. 87. Ensure the property Enable Selection is set to true. 88. Click the button for the On Select event property to edit the script.

89. Copy and paste the following two statements: REVENUE_BY_PRODUCT.setFilter("0D_NW_PROD__0D_NW_PRDCT",CROSSTAB_1.getSelectedMember("0D_NW_PROD__0D_NW_PRDCT")); PAGEBOOK_1.setSelectedPageIndex(1);

The above 2 commands the following actions will be executed:

Page 288: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

288

1. The selected product category of the crosstab in page 1 is set as filter of the chart in the datasource 2

2. Page 2 will be displayed via slide in as defined in the pagebook property

90. Click OK. 91. Select the menu Application > Save. 92. Select the menu Application > Execute on BI platform.

Your application should execute in the browser and you should be able to filter the data using the button that we added as well select an entry in the table, which then will bring up the filtered view of the chart component.

93. Close the browser. 94. Select the menu Start > All Programs > SAP Business Intelligence > SAP BusinessObjects BI Platform 4 >

SAP BusinessObjects BI Platform Java BI Launchpad. 95. Logon on using the SAP Authentication and your SAP credentials for the SAP System BWH and client 001. 96. Select the tab Documents. 97. Click on Folders. 98. Open the list of folders from the folder Public Folders. 99. Navigate to the folder Demo Content. 100. Select the application you saved previously. 101. Use a right-click and use the menu Categories. 102. Select the category Mobile in the Corporate Categories. 103. Click OK. You should now also see your application as part of the SAP Mobile BI application on your mobile device.

Page 289: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

289

11.7.2 Exercise 2: Create your second mobile dashboard

1. Select the menu Start • All Programs • SAP Business Intelligence • SAP BusinessObjects Design Studio • Design Studio.

2. Logon to your SAP BusinessObjects BI server using your SAP credentials and the SAP Authentication. 3. Close the welcome screen by closing the Welcome page. 4. Navigate to the menu Application and select the menu item New. 5. Enter DEMOAPP02 for the Name and Description. 6. Click Browse for the Folder Selection. 7. Select the folder Public Folders > Demo Content. 8. Click OK. 9. Select iPad as Target Device. 10. Click Finish.

11. Navigate to the Outline and select the folder Data Sources. 12. Use a right-click and select New.

13. Click Browse for the option Connection.

Page 290: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

290

14. Select the connection SAP_BW. 15. Click OK. 16. Click Browse for the option Data Source. 17. Click on the tab Search. 18. Search for the first query based on the technical name – SALES_BY_CUSTOMER. 19. Select the query and click OK. 20. Enter KEYFIGURES_BY_CUSTOMER as the Data Source Alias. 21. Click OK. 22. Navigate to the Outline and select the folder Data Sources. 23. Use a right-click and select New. 24. Click Browse for the option Data Source. 25. Click on the tab Search. 26. Search for the second query based on the technical name - SALES_BY_MONTH. 27. Select the query and click OK. 28. Enter TREND_PER_CUSTOMER as the Data Source Alias. 29. Use a right-click on the data source TREND_PER_CUSTOMER. 30. Select the menu Edit Initial View. 31. Move the characteristic Calendar Year / Month to the Columns. 32. Move the Measures to the Rows. 33. Click OK. In the steps so far, we added the data sources to our new dashboard. In the next set of steps we will add the DropDown box for the customer selection.

34. Now add a DropDown Box from the Basic Components to your empty canvas of the new application. 35. Navigate to the Properties shown on the right hand side and enter the values as shown below:

Top Margin 10

Left Margin 400

Bottom Margin auto

Right Margin auto

Width 300

Height auto

36. Navigate to the Property Name and enter DROPDOWN_CUSTOMER as name for the dropdown box.

Page 291: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

291

So far our application has the data sources and the DropDown box. In the next steps we will add text boxes, which we then will use to show the values per customer. 37. Now add two Text boxes from the Basic Components to your new application. 38. Select the first Text box. 39. Open the Properties for the first Text box and configure the following values:

• Top Margin 100 • Left Margin 50 • Bottom Margin auto • Right Margin auto • Width 150 • Height 30

40. Navigate to the property Name and enter NET_VALUE_TITLE. 41. Navigate to the property Text and enter “Total Revenue”. 42. Navigate to the property CSS Style for the text box. 43. Click on the button for the CSS Style. 44. Enter the following value: (you can also copy and paste):

background-color: #D9D9D9; color: #000000; padding: 5px; font-family: arial; font-style: normal; font-weight: bold; font-size: 20px; text-align: center;

45. Open the Properties for the second Text box and configure the following values: • Top Margin 100 • Left Margin 220 • Bottom Margin auto • Right Margin auto • Width 150 • Height 30

46. Navigate to the property Name and enter OPEN_ORDERS_QTY_TITLE. 47. Navigate to the property Text and enter “Open Orders” 48. Navigate to the property CSS Style for the text box. 49. Click on the button for the CSS Style. 50. Enter the following value:

background-color: #D9D9D9; color: #000000; padding: 5px; font-family: arial; font-style: normal; font-weight: bold; font-size: 20px; text-align: center;

At this point we added two text boxes with the headings for our KPIs to the canvas. In addition to these headings we are now going to add another set of two text boxes, which we will use to show the values per customer.

Page 292: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

292

51. Now add two more text boxes from the Basic Components to your new application. 52. Select the first of the newly added text boxes. 53. Open the Properties for the first new text box and configure the following values:

• Top Margin 140 • Left Margin 50 • Bottom Margin auto • Right Margin auto • Width 150 • Height 30

54. Navigate to the property Name and enter NET_VALUE_VALUE. 55. Navigate to the property CSS Style for the text box. 56. Click on the button for the CSS Style. 57. Enter the following value:

background-color: #D9D9D9; color: #000000; padding: 5px; font-family: arial; font-style: normal; font-weight: bold; font-size: 20px; text-align: center;

58. Navigate to the property Text and remove the default text. 59. Open the Properties for the second new text box and configure the following values:

• Top Margin 140 • Left Margin 220 • Bottom Margin auto • Right Margin auto • Width 150 • Height 30

60. Navigate to the property Name and enter OPEN_ORDERS_QTY_VALUE. 61. Navigate to the property CSS Style for the text box. 62. Click on the button for the CSS Style. 63. Enter the following value:

background-color: #D9D9D9; color: #000000; padding: 5px; font-family: arial;

Page 293: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

293

font-style: normal; font-weight: bold; font-size: 20px; text-align: center;

64. Navigate to the property Text and remove the default text. Up to this point the dashboard contains the customer selection and the four boxes with the values. Now we are adding the chart to it.

65. Add a chart from the Analytical Components to the left lower part of your application. 66. Open the Properties for the chart and configure the following values:

• Top Margin 250 • Left Margin 50 • Bottom Margin auto • Right Margin auto • Width 700 • Height 400

67. Now drag and drop the data source TREND_PER_CUSTOMER to the chart. The chart should show the actual data now.

68. In the Properties of the chart set the Chart Type to the value Line.

Page 294: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

294

69. Select the top item in the Outline representing your application.

70. Navigate to the Properties for the application. 71. In the Properties click on the button for the On Startup property.

72. Click on the button to open the script editor. 73. Add the following script:

DROPDOWN_CUSTOMER.setItems(KEYFIGURES_BY_CUSTOMER.getMemberList("0D_NW_SOLD", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 100)); The script will load the members from characteristic Sold-to-party (0D_NW_SOLD) into the Drop Down list.

74. Select the Dropdown list in your application.

Page 295: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

295

75. In the Properties click on the button for the On Select property.

76. Add the following script:

APPLICATION.setVariableValue("VAR_CUSTOMER", DROPDOWN_CUSTOMER.getSelectedValue());

TREND_PER_CUSTOMER.setFilter("0D_NW_SOLD", DROPDOWN_CUSTOMER.getSelectedValue());

NET_VALUE_VALUE.setText(KEYFIGURES_BY_CUSTOMER.getDataAsString("04C78H0769S9F6E4KFJWVFEHN", {

"0D_NW_SOLD": DROPDOWN_CUSTOMER.getSelectedValue()

}));

OPEN_ORDERS_QTY_VALUE.setText(KEYFIGURES_BY_CUSTOMER.getDataAsString("04C78H0769S9F6E4KFJWVFKT7", {

"0D_NW_SOLD": DROPDOWN_CUSTOMER.getSelectedValue()

}));

Before we continue, let’s clarify the elements of the script:

APPLICATION.setVariableValue("VAR_CUSTOMER", DROPDOWN_CUSTOMER.getSelectedValue());

The first part of the script is using the selected value from the dropdown and passes the value to the BEx variable in the first query to filter the data set to the selected customer.

TREND_PER_CUSTOMER.setFilter("0D_NW_SOLD", DROPDOWN_CUSTOMER.getSelectedValue());

The next step in the script is also filtering the data, in this case based on the selected value from the dropdown. In this case the filtering is not done using a BEx variable, but instead the filter value is just passed to the characteristic.

Page 296: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

296

NET_VALUE_VALUE.setText(KEYFIGURES_BY_CUSTOMER.getDataAsString("04C78H0769S9F6E4KFJWVFEHN", {

"0D_NW_SOLD": DROPDOWN_CUSTOMER.getSelectedValue()

}));

OPEN_ORDERS_QTY_VALUE.setText(KEYFIGURES_BY_CUSTOMER.getDataAsString("04C78H0769S9F6E4KFJWVFKT7", {

"0D_NW_SOLD": DROPDOWN_CUSTOMER.getSelectedValue()

}));

The rest of the script is using the getDataString and setText methods, to first get a single value from the data source by specifying which key figure and which filter values (for example, "0D_NW_SOLD": DROPDOWN_CUSTOMER.getSelectedValue() ), and then to use the received value and set it as text for the text boxes we added to the canvas.

Basically the script will filter the data sources we added and receive the needed values from the BEx queries and display those values in the text boxes.

77. Select the menu Application • Save All. 78. Select the menu Application • Execute on BI Platform.

79. Close the browser. 80. Select the menu Start • All Programs • SAP Business Intelligence • SAP BusinessObjects BI Platform 4 •

SAP BusinessObjects BI Platform Java BI Launchpad. 81. Logon to your SAP BusinessObjects BI system using your SAP credentials and the SAP Authentication. 82. Select the tab Documents. 83. Click on Folders. 84. Navigate to the folder Public Folders > Demo Content. 85. Select the application you saved previously. 86. Use a right-click and use the menu Categories. 87. Select the category Mobile in the Corporate Categories. In case you assigned a different category for your mobile

BI deployment, please select your category. 88. Click OK. You should now also see your application as part of SAP Mobile BI application on your mobile device.

Page 297: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

297

11.8 Importing the SAP NetWeaver BW model to SAP HANA

In the following two exercises you are going to leverage an existing SAP NetWeaver BW InfoProvider and an existing SAP BEx query from the SAP NetWeaver BW system, and you will publish those assets towards the SAP HANA system. With SAP NetWeaver BW on SAP HANA you can leverage this unique integration and generate a SAP HANA model based on existing assets in SAP NetWeaver BW. In the first exercise you will use a SAP NetWeaver BW InfoProvider and generate a SAP HANA Analytical view based on the existing meta-data from the SAP InfoProvider. In the second exercise you will leverage a BEx query and generate a Query Snapshot with an Analytical View in SAP HANA.

11.8.1 Exercise 1: Importing a InfoProvider into SAP HANA as analytical model

1. Start SAP HANA Studio by following the menu Start > All Programs > SAP HANA > SAP HANA Studio. 2. In the left hand panel use a right click and select the option Add System.

3. Enter the system details for the SAP HANA environment:

Hostname: imdbhdb.sapcoe.sap.com Instance Number: 00 Description: HDB 4. Click Next.

Page 298: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

298

5. Enter you SAP HANA credentials. 6. Click Next. 7. Click Finish. 8. Select the menu File > Import. 9. Open the Folder SAP HANA Content. 10. Select the option Import SAP NetWeaver BW Models.

Page 299: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

299

11. Click Next.

12. Enter the SAP NetWeaver BW Server details:

Server Name BWH Host Name imdbhdb.sapcoe.sap.com Instance Number 01 Client Number 001 User Name DEMO Password Welcome!

13. Click Test Connection.

14. Click OK. 15. Click Next. 16. In the next screen select the SAP HANA System entry you created previously. 17. Click Next.

Page 300: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

300

18. Open the InfoArea BI_BW_ON_HANA. 19. Select the InfoCube Z_NW_C01. 20. Click Add. 21. Activate the option Include Display Attributes. 22. Activate the option Overwrite existing objects. 23. Click Browse for the Package.

24. Select the Package sap.bw 25. Click OK. 26. Click Finish. After the import has successfully finished, check if the model has been imported.

Page 301: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

301

27. In the left panel open your system entry.

28. Open the folder Content. 29. You should find in the package sap.bw now 1 Analytical View and 1 Calculation View based on the SAP

NetWeaver BW InfoProvider.

You can leverage the Analytical View and Calculation View in combination with SAP BusinessObjects BI 4.x now.

Page 302: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

302

11.8.2 Exercise 2: Creating a Query Snapshot

In the next steps we will leverage a SAP BEx query and generate a snapshot of the data and an SAP HANA Analytical view on top of the newly generated data. A query result cannot be indexed if the query meets one of the following conditions:

It is an input-ready query. An aggregation level is used as the InfoProvider.

Input-ready mandatory variables are used in the query. (As indexing runs in the background, no entries can be made.)

The query contains a temporal hierarchy join. (The result cannot be stored in a "flat" index.)

The query contains more than one structure

Calculations in the query cannot be performed before aggregation. Indexing can be performed despite this, but the relevant key figures cannot be used in every context.

Local aggregation is used. The system ingores this during indexing. (The query result in the OLAP Engine is not the same as the one that the user sees.)

The technical name of the query is more than 20 letters long. An index ID is formed from the query name. There is a technical limitation for this.

To be able to index the snapshot of a query result in the SAP HANA database, you first need to activate the query. Select the query in question on the SAP HANA/BWA Index Maintenance screen (transaction RSDDB) and choose Release Query as InfoProvider. If no restrictive conditions apply, the system informs you in the next dialog that the query has been activated for indexing in the SAP HANA database. The query result is given the read mode Query to Read All Data at Once (A) (see Read Mode), which means that the free characteristics are also used in GROUP BY. 1. Logon to the SAP NetWeaver BW system. 2. Start transaction RSDDB. 3. Click Query as InfoProvider in the toolbar. 4. Enter the technical name of the BEx Query into the field Query. In our example: DEMO_QUERY_03.

5. Press Enter on the keyboard. 6. Click Release Query as InfoProvider.

Page 303: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

303

7. Click Continue .

8. Click Create ,

9. Click . 10. Click Immediate. 11. Click Save. We created the index so that we can now import the model to SAP HANA. 12. Start SAP HANA Studio by following the menu Start > All Programs > SAP HANA > SAP HANA Studio. 13. In the left hand panel use a right click and select the option Add System.

Page 304: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

304

14. Enter the system details for the SAP HANA environment:

Hostname: imdbhdb.sapcoe.sap.com Instance Number: 00 Description: HDB 15. Click Next.

16. Enter you SAP HANA credentials. 17. Click Next. 18. Click Finish. 19. Select the menu File > Import. 20. Open the Folder SAP HANA Content. 21. Select the option Import SAP NetWeaver BW Models.

Page 305: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

305

22. Click Next.

23. Enter the SAP NetWeaver BW Server details:

Page 306: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

306

Server Name BWH Host Name imdbhdb.sapcoe.sap.com Instance Number 01 Client Number 001 User Name DEMO Password Welcome!

24. Click Test Connection.

25. Click OK. 26. Click Next. 27. In the next screen select the SAP HANA System entry you created previously. 28. Click Next.

29. Open the InfoArea BI_BW_ON_HANA. 30. Select the entry for the DEMO_QUERY_03. 31. Click Add. 32. Activate the option Include Display Attributes 33. Activate the option Overwrite existing objects.

Page 307: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

307

34. Click Browse for the Package.

35. Select the Package sap.bw 36. Click OK. 37. Click Finish. After the import has successfully finished, check if the model was been imported. 38. In the left panel open your system entry.

39. Open the folder Content. 40. You should find in the package sap.bw now 1 Analytical View following the name of the imported object.

Page 308: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

308

You can leverage the Analytical View and Calculation View in combination with SAP BusinessObjects BI 4.x now.

Page 309: Exploring SAP NetWeaver BW on SAP HANA in Combination With SAP BusinessObjects BI 4.x [1]

Exploring SAP NetWeaver BW on SAP HANA in combination with SAP BusinessObjects BI 4.x

309

© 2013 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.