4.b1a building reporting tools
DESCRIPTION
4.B1A Building Reporting ToolsTRANSCRIPT
INTERNAL
SAP Business One Analytics powered by SAP HANA:
B1A Reporting Tools:Crystal Reports, Dashboards and MS Excel
© 2011 SAP AG. All rights reserved. 2Internal
Agenda
• Develop Crystal Reports on B1A
• Develop Dashboard on B1A
• Develop an Interactive Analysis
B1A: SAP Business One, analytics powered by SAP HANA
Develop Crystal Reports in B1A
© 2011 SAP AG. All rights reserved. 4SAP Internal
CR in B1A Architecture
Tomcat Server
Business One Server
Master Data
Trans Data
SQL Server
ODBC
Web Tier
Dashboards / Flash
(Specific)JSP Pages
Business Tier
Administration Service
Authentication & Authorization
Enterprise Search Service
(Specific)Analytic Service
Analytic Server
Rep
lica
tio
n
Ser
vice
*
JDBC
B1 Client Application
Master Data
Trans Data
HANA DB
Semantic Layer:Views and Cube
models
Data Replication
New semantic layer consists of analytic views and calculation views, which can be consumed by both SAP and Partners’ app.
JDBC
Dashboard Package
Deployment
JDBC
ODBO
Note:
ODBC
Web Browsers
Import Load
HTTP
© 2011 SAP AG. All rights reserved. 5Internal
Business Case I
Create Procedure in Package sap.test to retrieve BP information by BP Code
Schema: SYSTEM
Table: OCRD
Input Parameter: BP Group Code SMALLINT
© 2011 SAP AG. All rights reserved. 6Internal
Procedures in Content Package
© 2011 SAP AG. All rights reserved. 7Internal
Input Properties
© 2011 SAP AG. All rights reserved. 8Internal
Create Parameters for Procedure
© 2011 SAP AG. All rights reserved. 9Internal
Parameter Properties
© 2011 SAP AG. All rights reserved. 10Internal
Compose Procedure in Editor
© 2011 SAP AG. All rights reserved. 11Internal
Check Created Procedure
© 2011 SAP AG. All rights reserved. 12Internal
Try Out Procedure in SQL Editor
© 2011 SAP AG. All rights reserved. 13Internal
Demo: Creating a procedure
Create Procedure in Package sap.test to retrieve BP information by BP Code
Schema: SYSTEM
Table: OCRD
Input Parameter: BP Group Code SMALLINT
© 2011 SAP AG. All rights reserved. 14Internal
Procedures and Calculation Views
Procedure
Use a query as a data source for both Crystal reports and dashboards
Not a semantic model
Calculation View
Semantic model with measures and attributes
Retrieve model in MDX query to do aggregation over measures
Can invoke in MS Excel pivot
Can combine procedures and calculation views in dashboard development
© 2011 SAP AG. All rights reserved. 15Internal
Introduction
Crystal Reports Designer/Runtime
Crystal Reports 2008 SP5 provides support for B1A models defined in HANA database
Crystal Reports Content
User experiences of CR content design are similar to CR content over B1 SQL Server database, while execution/import/export are same as before in B1
During design time, besides query over those physical tables, user can have HANA views or procedures in B1A as data source as well.
To compose CR SQL command as report data source, it’s recommended to set tokens(CR parameters) of Package@ and Schema@ for model package name and HANA schema name.
To have Analytic View as data source, it’s required to predefine SUM() columns and Group By() columns to list values
© 2011 SAP AG. All rights reserved. 16Internal
Business Case II
Create Crystal Reports content for BP information
Data source: Procedure GETBPBYGROUP
© 2011 SAP AG. All rights reserved. 17Internal
ODBC connection type
© 2011 SAP AG. All rights reserved. 18Internal
Input Connection String
Sample connection string: DRIVER={HDBODBC32};UID=<uid>;PWD=<pwd>;SERVERNODE=<host/ip>:<port>;DATABASE=<DB schema>
Note: port number is like 3xx15, where xx represents instance number of HANA database, e.g. 30115
© 2011 SAP AG. All rights reserved. 19Internal
Input Server Information
© 2011 SAP AG. All rights reserved. 20Internal
Create Data Source From Physical Table
© 2011 SAP AG. All rights reserved. 21Internal
Create Data Source from HANA View
© 2011 SAP AG. All rights reserved. 22Internal
Input Parameter for Data Source
© 2011 SAP AG. All rights reserved. 23Internal
Select Data Columns for Data Source
© 2011 SAP AG. All rights reserved. 24Internal
Data Source is Ready
© 2011 SAP AG. All rights reserved. 25Internal
Design Report Layout
© 2011 SAP AG. All rights reserved. 26Internal
Preview
© 2011 SAP AG. All rights reserved. 27Internal
Demo: Creating CR content
Create CR content for BP information
Data source: Procedure GETBPBYGROUP
Develop Dashboard on B1A
© 2011 SAP AG. All rights reserved. 29SAP Internal
Dashboard in B1A Architecture
Tomcat Server
Business One Server
Master Data
Trans Data
SQL Server
ODBC
Web Tier
Dashboards / Flash
(Specific)JSP Pages
Business Tier
Administration Service
Authentication & Authorization
Enterprise Search Service
(Specific)Analytic Service
Analytic Server
Rep
lica
tio
n
Ser
vice
*
JDBC
B1 Client Application
Master Data
Trans Data
HANA DB
Semantic Layer:Views and Cube
models
Data Replication
New semantic layer consists of analytic views and calculation views, which can be consumed by both SAP and Partners’ app.
JDBC
Dashboard Package
Deployment
JDBC
ODBO
Note:
Dashboard client
Dashboard serverODBC
Web Browsers
Import
HTTP
© 2011 SAP AG. All rights reserved. 30Internal
Dashboard Development
Dashboard Designer
User experiences of dashboard UI development are same as that over B1 SQL Server database+B1i Framework
Dashboard Package The only differences exist in Info.xml that is included in
dashboard package For B1A there is a new tag as of: <IsIMDB>Y</IsIMDB> For HANA views and procedures used in dashboard, it needed to
import into HANA database separately.
Dashboard Import/Export in SAP Business One Import/Export is same as before
© 2011 SAP AG. All rights reserved. 31Internal
Info.xml for dashboard package in B1A
Develop an Interactive Analysis
© 2011 SAP AG. All rights reserved. 33SAP Internal
Architecture for Interactive Analysis
Tomcat Server
Business One Server
HTTP
Master Data
Trans Data
SQL Server
ODBC
Web Tier
Dashboards / Flash
(Specific)JSP Pages
Business Tier
Administration Service
Authentication & Authorization
Enterprise Search Service
(Specific)Analytic Service
Analytic Server
Rep
lica
tio
n S
ervi
ce*
JDBC
Web Browsers B1 Client Application
Master Data
Trans Data
HANA DB
Semantic Layer:Views and Cube
models
Data Replication
New semantic layer consists of analytic views and calculation views, which can be consumed by both SAP and Partners’ app. Embedding “Excel” in B1 Client is still under evaluation.
JDBC
Dashboard Package
Deployment
JDBC
ODBO (MDX)
Note:
© 2011 SAP AG. All rights reserved. 34Internal
MS Excel - Data Connection Wizard
© 2011 SAP AG. All rights reserved. 35Internal
Enter connection information
© 2011 SAP AG. All rights reserved. 36Internal
Select package and model
© 2011 SAP AG. All rights reserved. 37Internal
Building an interactive analysis
© 2011 SAP AG. All rights reserved. 38Internal
Demo: Connecting MS Excel to a Data Model
Thank You!
© 2011 SAP AG. All rights reserved. 40Internal
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.
Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries.
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology.
© 2012 SAP AG. All rights reserved.
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, StreamWork, 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.
Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects is an SAP company.
Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other Sybase products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase, Inc. Sybase is an SAP company.
All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
The information in this document is proprietary to SAP. No part of this document may be reproduced, copied, or transmitted in any form or for any purpose without the express prior written permission of SAP AG.