50
BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar - [email protected] Target Audience Developers Consultants For validation Document version 1.0 – 08/05/2013

BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

  • Upload
    others

  • View
    44

  • Download
    16

Embed Size (px)

Citation preview

Page 1: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document Using BEx WebApplication DesignerAuthor: Vijayakumar Udayakumar - [email protected]

Target AudienceDevelopersConsultants

For validationDocument version 1.0 – 08/05/2013

Page 2: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

2

Contents1 Remarks before you start............................................................... 32 Objective ........................................................................................ 43 Prerequisite .................................................................................... 54 Steps in Detail ................................................................................ 6

4.1.1 Implementation in SAP NetWeaver BW ............................................ 64.1.2 Implementation in BEx Query Designer .......................................... 284.1.3 Implementation in BEx Web Application Designer .......................... 36

5 Conclusion ................................................................................... 486 More Information on BEx Web Application Designer .................. 49

Page 3: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

3

1 Remarks before you startAll screenshots have been made in AS ABAP System with SID “B4S”. Please consider to adaptthis based on the SID and schema of your System.All ABAP Entities have been created and stored in the “RS_EPM_OIA_BW_HANA” Package.A user with the following roles is needed for this end to end implementation(SAP_BW_WORKSPACE_DESIGNER, SAP_BW_ANZEIGER, SAP_BC_SIW_DEV).Estimated time to complete this End to End implementation is three hours, provided theinstallation and configuration has already been done before.For more details on configuration, information and guides based on SAP NetWeaver AS ABAPand SAP HANA please visit our SCN Page:http://scn.sap.com/docs/DOC-35518

Page 4: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

4

2 ObjectiveThe objective of the document is to provide an insight to the customer in developing a sampledashboard using BEx Web Application Designer by consuming the data from SAP HANA AnalyticalView through SAP NetWeaver BW Virtual InfoProvider and constructing a BEx Query to consume dataone level up from the Virtual InfoProvider. BEx Query is used as data source for constructing thedashboard. BEx Web Application Designer also offers to connect to External Floor Plan ManagerApplication through Report to Report Interface.

Page 5: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

5

3 PrerequisiteThe SAP HANA Analytical View “AN_OPEN_INVOICE_AMOUNT” under package“sap/bc/epm/oia/apps” is used as the source of data.Note: The SAP HANA analytical view mentioned is active only in 740 SP2. If the content is notactivated, activate the content manually.The implementation requires a SAP NetWeaver BW system with the following configurationgiven in the SCN post attached below,http://scn.sap.com/docs/DOC-41353

Page 6: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

6

4 Steps in Detail4.1.1 Implementation in SAP NetWeaver BW

1. Go to the Data Warehousing Workbench (transaction “RSA1”) after logging on to SAPNetWeaver BW and click InfoObjects link on the left corner in the “Modeling” section.

Page 7: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

7

2. Create an InfoArea under the root or under any parent InfoArea. InfoAreas are similar topackages and hold all InfoObjects and InfoProviders that are used in the project.

Page 8: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

8

3. Provide a name and description for the InfoArea.

Page 9: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

9

4. Right click on the InfoArea created already and select “Create InfoObject Catalog” from thecontext menu.

Page 10: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

10

5. Give name and description of the InfoObject Catalog and also select InfoObject Type as“Char.” and click create. This InfoObject Catalog will hold all Characteristics objects.

Page 11: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

11

6. Create another InfoObject Catalog for Key Figures.

Page 12: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

12

7. Give name and description and select “InfoObject Type” as “Key Figure” and click “Create”.

Page 13: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

13

8. InfoObject Catalogs for both Characteristics and Key Figures are available as shown below.

Page 14: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

14

9. Create the remaining InfoObjects by right clicking on the InfoObject Catalog so that thedefinition of the InfoObjects match the corresponding attributes in the SAP HANA model.

Page 15: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

15

10. Provide the name and description for the Characteristics InfoObject.

11. Similarly create other InfoObjects that you need for your analysis corresponding to theattributes of the SAP HANA model.

Page 16: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

16

12. After you have created all the Characteristics InfoObjects matching the correspondingattributes of SAP HANA model, they will be listed under Characteristics InfoObjects Catalog.

Page 17: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

17

13. In a similar fashion, right click on InfoObject Catalog for Key Figures and Create Key FigureInfoObjects matching the Measures of the SAP HANA model. Provide a name and descriptionfor the Key Figure InfoObject and press submit.

14. Similarly create the other Key Figures matching corresponding Measures of the SAP HANAmodel.

Page 18: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

18

15. After creating all the Key Figure InfoObjects, they will be listed under Key Figures InfoObjectCatalog.

Page 19: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

19

16. Click InfoProvider link on the left corner under “Modeling” section.

Page 20: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

20

17. Search for the InfoArea that has been created already.

Page 21: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

21

18. Right Click on the InfoArea and click on “Create VirtualProvider”.

Page 22: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

22

19. Provide a name and description for the Virtual InfoProvider. Select “Based on a HANAModel” option and click on “Details” button.

Page 23: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

23

20. On clicking Details button, provide “Package” and the “SAP HANA Info Model”.

Page 24: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

24

21. Right Click on the Virtual InfoProvider created and select “Display Data”.

Page 25: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

25

22. In the Selection Screen, click “Fld Selection for Output” button for displaying data.

Page 26: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

26

23. In the Field Selection Screen for Output dialog, click “Select All Characteristics” button andremove field selections under “Data Package” section and press “Execute”.

Page 27: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

27

24. Data for all the Characteristics and the Key Figure fields that is been added to the VirtualInfoProvider are displayed.

Page 28: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

28

4.1.2 Implementation in BEx Query Designer1. Open BEx Query Designer and click “New Query…” button.

Page 29: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

29

2. Select InfoAreas button on the Select InfoProvider dialog box.

3. Select the Virtual InfoProvider that was created in the previous steps.

Page 30: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

30

4. Characteristics and Key Figures from the Virtual InfoProvider are listed in Query Designer.

Page 31: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

31

5. Click on “Rows/Columns” button.

Page 32: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

32

6. Add Characteristic fields to Rows and Key Figure fields to Columns.

Page 33: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

33

7. Save the Query by giving it a “Technical Name” and “Description”.

Page 34: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

34

8. Click on the “Execute…” button.

Page 35: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

35

9. Resultant records are displayed on a new browser window.

Page 36: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

36

4.1.3 Implementation in BEx Web Application Designer

1. Open BEx Web Application Designer and click on the “New” button.

Page 37: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

37

2. Click “New Data Provider” icon from the bottom of the screen.

Page 38: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

38

3. Click “Select a Query” button placed next to Query option in the “New Data Provider” dialogbox.

4. Select the Query that has been created already in the previous section and click “Open”.

Page 39: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

39

5. Click “OK” on the “New Data Provider” window and remember the Data Provider Name.

Page 40: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

40

6. Data Provider is added in the bottom of the screen next to New Data Provider icon.

Page 41: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

41

7. Drag and drop the Web Items “Dropdown Box”, “Chart”, and “Analysis” on the work area ofthe template.

8. Select the “Dropdown Box” Web Item in the work area of the template and click on the“Selection of Characteristics” button next to the “Data Binding” property of the Web Item.

Page 42: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

42

9. From the list, select the Data Provider that has been created earlier.

10. Click on the “Characteristic” value help to select appropriate characteristic attribute.

Page 43: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

43

11. Select the characteristic attribute from the value help selector window.

12. Fill the “Data Provider” and “Characteristics” fields with data provider and attribute name.

Page 44: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

44

13. Select the “Chart” Web Item from the work area of the template and select the Data Providervalue in the Data Binding property section.

14. Select the “Analysis” Web Item from the work area of the template and select the DataProvider value in the Data Binding property section.

Page 45: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

45

15. Save the BEx Web Template by providing a technical name and description.

16. Execute the Web Template by clicking the “Execute…” button.

Page 46: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

46

17. A new browser showing the BEx Web Application will open.

18. Select a Business Partner from the dropdown.

Page 47: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

47

19. The contents of the Chart and the Analysis Web Item are changed based on the selectionmade.

Page 48: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

48

5 ConclusionThis end to end guide has explained how to use SAP HANA Analytical View as data source andconsume the data directly through SAP NetWeaver BW Virtual Info provider. The document alsoenunciates the usage of BEx Query on top of these Virtual Info providers. The BEx query thus builtacts as data source to the BI Dashboard. The document also explains how to use BEx Query Designerand BEx Web Application Designer from tools perspective.

Page 49: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

49

6 More Information on BEx Web ApplicationDesigner

The BEx Web Application Designer is a desktop application for creating Web Applications with BI-specific content. Using the BEx Web Application Designer, you can create an HTML page containingBI-specific content such as tables, charts, or maps and additional controls to interact with the datashown. BEx Web Application Designer allows building complex applications as well as Web-baseddashboards and to integrate them as SAP Enterprise Portal iViews.The command wizard and pattern wizard are integral parts of the Web Application Designer. Usingthe command wizard, you can generate commands from the Web Design API and include them inyour Web template. Using the pattern wizard, you can configure BI patterns and tailor them to meetyour needs.

Salient Features:HTML coding possibleCommand Wizard for activating commandsReport to Report Interface for invoking other applicationsNo additional licensing required, comes with SAP NetWeaver BW

Page 50: BW on HANA Step by Step Implementation Document Using BEx ... · BW on HANA Step by Step Implementation Document Using BEx Web Application Designer Author: Vijayakumar Udayakumar

BW on HANA Step by Step Implementation Document

50

Theming supported by altering HTML codeJava Script can be used for more advanced functionalityFunction rich UIUses BEx queries and views as well as and SAP NetWeaver BW InfoProviders as data sourceAllows publishing dashboard to Enterprise portal

For more information on BEx Web Application Designer, please refer to link,http://help.sap.com/saphelp_nw70/helpdata/en/1a/456a3badc1b315e10000000a114084/content.htm