Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for...

16
Step-by-Step Procedure for Creating Customized BEx Maps Applies to: SAP BI or product release (release 701, level 0004, SAP EHP 1 for SAP NetWeaver 7.0). For more information, visit the Business Intelligence homepage . Summary This document will provide information regarding implementing the BEx Maps using Web application designer and provides information about shape files and its use. Author: Ravikanth Indurthi Company: Intelligroup Asia Pvt Ltd. Created on: 07 August 2009 Author Bio Ravikanth.Indurthi has been working as an SAP BI consultant with ‘Intelligroup Asia Pvt Ltd.’ since two years. He is mainly responsible for implementing SAP BW/BI projects and has worked extensively on SAP BI Modeling and SAP BI front-end tools like ‘Web Application Designer’, ‘Query Designer’ and ‘Crystal Reports’. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 1

Transcript of Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for...

Page 1: Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for Creating Customized BEx Maps . Applies to: SAP BI or product release ... loaded to the local

Step-by-Step Procedure for Creating Customized BEx Maps

Applies to: SAP BI or product release (release 701, level 0004, SAP EHP 1 for SAP NetWeaver 7.0).

For more information, visit the Business Intelligence homepage.

Summary This document will provide information regarding implementing the BEx Maps using Web application designer and provides information about shape files and its use.

Author: Ravikanth Indurthi

Company: Intelligroup Asia Pvt Ltd. Created on: 07 August 2009

Author Bio Ravikanth.Indurthi has been working as an SAP BI consultant with ‘Intelligroup Asia Pvt Ltd.’ since two years. He is mainly responsible for implementing SAP BW/BI projects and has worked extensively on SAP BI Modeling and SAP BI front-end tools like ‘Web Application Designer’, ‘Query Designer’ and ‘Crystal Reports’.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 1

Page 2: Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for Creating Customized BEx Maps . Applies to: SAP BI or product release ... loaded to the local

Step-by-Step Procedure for Creating Customized BEx Maps

Table of Contents Introduction .........................................................................................................................................................3 Objective .............................................................................................................................................................4

Create Info Object ...........................................................................................................................................5 Click on Upload Shape Files...........................................................................................................................6 Create Hierarchy for the Customer Infoobject ................................................................................................8 Load Transactional Data for the Customer in the Infoprovider .......................................................................9 Design a Query with Same Customer Hierarchy ..........................................................................................10 Create a Web-Template................................................................................................................................12

Other Features..................................................................................................................................................14 Related Content................................................................................................................................................15 Disclaimer and Liability Notice..........................................................................................................................16

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 2

Page 3: Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for Creating Customized BEx Maps . Applies to: SAP BI or product release ... loaded to the local

Step-by-Step Procedure for Creating Customized BEx Maps

Introduction Many characteristics in the Business Information Warehouse, for example, customer, sales region, and country, contain important geographical information. You evaluate geographical information in the BEx Map, along with key figures that are relevant to business. The BEx Map is BW’s Geographical Information System (GIS). It is integrated into the Business Explorer.

With the BEx Map that is integrated into the BEx Analyzer, you can prepare and analyze data that has geographical relevance. The geo-relevant data is displayed on a map, so that you can see regional features and geographical connections at a glance.

The BEx Map is part of the Business Explorer. It is used for reporting on geo-relevant data.

Geo-relevant infoobjects are stored and maintained in the Metadata Repository. The master data for geo-infoobjects is equipped with geo-attributes. Infoobjects are geo-coded using an external tool: ArcView from ESRI (Environmental Systems Research Institute).

The BEx Map allows you to analyze regional features at different levels of detail. The basic concept underlying the BEx Map is that of laying different map layers, each containing various geographical data, one on top of the other, and displaying at them on one map.

A map layer behaves in the same way as a transparent slide, which can be changed from visible to invisible. For every map layer, you can choose various types of graphical presentation (Renderers) to display your data, for example, color shading, bar charts or pie charts.

With the BEx Map, you prepare and evaluate data of a geographical nature (characteristics such as customer, sales region, and country, for example).

The geo-relevant data is displayed graphically on a map. Using enhanced navigation options ("geographical drilldown"), regional information can be evaluated more easily at different levels of detail. A map shows the spatial proximity of places and regions, allowing geographical connections to be more clearly represented.

Maps help you with reporting geo-relevant data. By using the map Web item, you determine a geographical display in the BEx Web Application Designer for your business-oriented data for the Web application.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 3

Page 4: Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for Creating Customized BEx Maps . Applies to: SAP BI or product release ... loaded to the local

Step-by-Step Procedure for Creating Customized BEx Maps

Objective To show the below Daily transactional data loaded into the Infoproviders as Geo relevant data and report this data using BEx reports with maps.

Transactional data for a customer is loaded into BI as a daily load.

Note: Data removed from image to mask customer specific Images

But the report output for the customers region wise (in respective states and districts) can be shown as below:

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 4

Page 5: Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for Creating Customized BEx Maps . Applies to: SAP BI or product release ... loaded to the local

Step-by-Step Procedure for Creating Customized BEx Maps

Create Info Object Upload the shape files in the Infoobject for Districts map also create master data for the Infoobject which must have the same attributes and data as in DBF file for the respective map.

Shape Files: The format of ArcView shapefiles uses the following files with special file enhancements: .dbf – dBase file that saves the attributes or values of the characteristic This can be viewed using MS Excel file format. .shp – saves the current geometry of the characteristic This can be viewed using Arc view Explorer provided by ESRI. .shx – saves an index for the geometry These three files are saved for each static geo-characteristic in the Business Document Service (BDS) and loaded to the local computer from BDS when you use BEx Map.

Select “Static Geo-characteristic” for Geographical type in BEx tab.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 5

Page 6: Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for Creating Customized BEx Maps . Applies to: SAP BI or product release ... loaded to the local

Step-by-Step Procedure for Creating Customized BEx Maps

Click on Upload Shape Files

1. Upload the Shape file for the object

2. Upload the DBF file for the object:

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 6

Page 7: Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for Creating Customized BEx Maps . Applies to: SAP BI or product release ... loaded to the local

Step-by-Step Procedure for Creating Customized BEx Maps

3. Upload the Shape index file for the object

Note: Similarly an infoobject is created for States and respective shapefiles are uploaded.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 7

Page 8: Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for Creating Customized BEx Maps . Applies to: SAP BI or product release ... loaded to the local

Step-by-Step Procedure for Creating Customized BEx Maps

Create Hierarchy for the Customer Infoobject

Hierarchy on Customer Infoobject with State and district Infoobjects:

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 8

Page 9: Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for Creating Customized BEx Maps . Applies to: SAP BI or product release ... loaded to the local

Step-by-Step Procedure for Creating Customized BEx Maps

Load Transactional Data for the Customer in the Infoprovider

The data consists of Target and Achievement of each Customer.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 9

Page 10: Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for Creating Customized BEx Maps . Applies to: SAP BI or product release ... loaded to the local

Step-by-Step Procedure for Creating Customized BEx Maps

Design a Query with Same Customer Hierarchy

States Query: This query consists of aggregated sales data at States level only.

Query Output:

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 10

Page 11: Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for Creating Customized BEx Maps . Applies to: SAP BI or product release ... loaded to the local

Step-by-Step Procedure for Creating Customized BEx Maps

Note: Sort the Hierarchy depending on the requirement.

Districts Query: This query consists of detailed sales data at district level.

Query Output:

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 11

Page 12: Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for Creating Customized BEx Maps . Applies to: SAP BI or product release ... loaded to the local

Step-by-Step Procedure for Creating Customized BEx Maps

Create a Web-Template

Use the web item MAP from the available web items and create two map layers:

1. For map layer1 use the States query as dataprovider and provide Bar graph as Map render.

2. For map layer2 give the districts query as dataprovider and color shading as Map render.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 12

Page 13: Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for Creating Customized BEx Maps . Applies to: SAP BI or product release ... loaded to the local

Step-by-Step Procedure for Creating Customized BEx Maps

Map Output:

Execute the web template:

Note: Put the cursor on the respective district, it will display the name and sales value.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 13

Page 14: Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for Creating Customized BEx Maps . Applies to: SAP BI or product release ... loaded to the local

Step-by-Step Procedure for Creating Customized BEx Maps

Other Features • SAP BEx maps is one of the tool used for geo-relevant data publisher, which can be used to easily

fetch the data from SAP systems for better reporting analysis.

• These reports can be exposed to the end users by publishing in the Enterprise portal.

• Google maps can also be used with the help of Web services and reported using the Adobe Flex.

• BO’s Xcelsius is another Dash board tool, which can also be used to report using the Geo spatial Map data.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 14

Page 15: Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for Creating Customized BEx Maps . Applies to: SAP BI or product release ... loaded to the local

Step-by-Step Procedure for Creating Customized BEx Maps

Related Content http://help.sap.com/saphelp_nw04/helpdata/en/1a/f405387bcc513be10000009b38f8cf/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/5a/3c9d398f38407ee10000000a11402f/frameset.htm

http://www.esri.com/software/arcexplorer/about/versions.html

http://help.sap.com/saphelp_nw04/helpdata/en/3b/7c97de1bed374ee0000800091c1b0e/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/63/79053950c48e05e10000000a114084/frameset.htm

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 15

Page 16: Step-by-Step Procedure for Creating Customized BEx · PDF fileStep-by-Step Procedure for Creating Customized BEx Maps . Applies to: SAP BI or product release ... loaded to the local

Step-by-Step Procedure for Creating Customized BEx Maps

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 16

Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.

SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk.

SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.