How to Set Up Data Sources for Crystal Reports Layouts in SAP Business One, Version for SAP HANA

Similar documents
How to Work with Analytical Portal

Duet Enterprise: Tracing Reports in SAP, SCL, and SharePoint

SAP NetWeaver Identity Management Identity Center Minimum System Requirements

EWM125. Labor Management in SAP EWM COURSE OUTLINE. Course Version: 16 Course Duration: 4 Hours

Single Sign-on For SAP NetWeaver Mobile PDA Client

BIT460. SAP Process Integration Message Mapping COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

SAP AddOn Quantity Distribution. by Oliver Köhler, SAP Germany

SAP BusinessObjects Predictive Analysis 1.0 Supported Platforms

BC100. Introduction to Programming with ABAP COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

PLM210. Master Data Configuration in SAP Project System COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

ADM950. Secure SAP System Management COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

How to Package and Deploy SAP Business One Extensions for Lightweight Deployment

Configuring relay server in Sybase Control Center

AC507. Additional Functions of Product Cost Planning COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

Duplicate Check and Fuzzy Search for Accounts and Contacts. Configuration with SAP NetWeaver Search and Classification (TREX) in SAP CRM WebClient UI

HA150 SQL Basics for SAP HANA

BOC320. SAP Crystal Reports - Business Reporting and Report Processing Strategies COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

How to Enable Single Sign-On for Mobile Devices?

BC410. Programming User Dialogs with Classical Screens (Dynpros) COURSE OUTLINE. Course Version: 10 Course Duration: 3 Day(s)

BOCE20. SAP Crystal Reports for Enterprise: Advanced Report Design COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

NET311. Advanced Web Dynpro for ABAP COURSE OUTLINE. Course Version: 10 Course Duration: 4 Day(s)

BC405 Programming ABAP Reports

DS50. Managing Data Quality with SAP Information Steward COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

How to Set Up and Use Electronic Tax Reporting

MDG100 Master Data Governance

DEV523 Customizing and Extending PowerDesigner

Visual Composer Modeling: Data Validation in the UI

Visual Composer for SAP NetWeaver Composition Environment - Connectors

GRC100. GRC Principles and Harmonization COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

ADM900 SAP System Security Fundamentals

BC430 ABAP Dictionary

Enterprise Search Extension for SAP Master Data Governance

How to Handle the System Message in SAP NetWeaver Mobile 7.1

BOC310. SAP Crystal Reports: Fundamentals of Report Design COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

Crystal Reports 2008 FixPack 2.4 Known Issues and Limitations

ADM950. Secure SAP System Management COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

SAP ME Build Tool 6.1

How to Download Software and Address Directories in SAP Service Marketplace

How to Find Suitable Enhancements in SAP Standard Applications

EDB785 SAP IQ Administration

EDB367. Powering Up with SAP Adaptative Server Enterprise 15.7 COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

ADM100 AS ABAP - Administration

Manual Activities of SAP Note Globalization Services, 2012/06/05

Quick View Insider Microblog: Why Is There No Inbox?

BC480 PDF-Based Print Forms

EDB358. System and Database Administration: Adaptive Server Enterprise COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

Quick View Insider: Understanding Quick View Configuration

Visual Composer Modeling: Migrating Models from 7.1.X to 7.2.0

BC404. ABAP Programming in Eclipse COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

AFA461 SAP Afaria 7.0 System Administration (SP03)

EDB116. Fast Track to SAP Adaptive Server Enterprise COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

TBIT44 PI Mapping and ccbpm

ADM920 SAP Identity Management

EP350. Innovated Content Management and Collaboration COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

Installing SAP NetWeaver Mobile Client (eswt) on a Storage Card

BC400 Introduction to the ABAP Workbench

How to reuse BRFplus Functions Similar to R/3 Function Modules using BRF+ Expression Type Function Call

BW310. BW - Enterprise Data Warehousing COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

BC490 ABAP Performance Tuning

Using JournalEntries and JournalVouchers Objects in SAP Business One 6.5

Visual Composer s Control Types

BC400. ABAP Workbench Foundations COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

ADM960. SAP NetWeaver Application Server Security COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

SMP541. SAP Mobile Platform 3.0 Native and Hybrid Application Development COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

How to Manage UUID field in Existing Purchasing Documents (Electronic Accounting Statement Feature)

SMP521. SAP Mobile Platform - Native and Hybrid Application Development COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

Testing Your New Generated SAP NetWeaver Gateway Service

ADM960. SAP NetWeaver Application Server Security COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day

TBW30 SAP BW Modeling & Implementation

SAP Afaria Post- Installation Part 1

How to Conduct Inventory Counting with SAP Business One

What s New / Release Notes SAP Strategy Management 10.1

BW Text Variables of Type Replacement Path

How to Check or Derive an Attribute Value in MDG using BRFPlus

Architecture of the SAP NetWeaver Application Server

Message Alerting for SAP NetWeaver PI Advanced Adapter Engine Extended

Quick View Insider: How Can I Change the Colors? (SNC 7.0)

Working with Data Sources in the SAP Business One UI API

EP200. SAP NetWeaver Portal: System Administration COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

Web Dynpro: Column Coloring in ALV

TBW60. BW: Operations and Performance COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

How to Integrate Google Maps into a Web Dynpro ABAP Application Using the Page Builder

BC401. ABAP Objects COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

EDB377. Fast Track to SAP Replication Server Administration COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

SAP BusinessObjects Dashboards 4.0 SAP Crystal Dashboard Design 2011 SAP Crystal Presentation Design 2011

Business Objects Integration Scenario 2

Quick View Insider: How Do I Set Quick View as SNC s Entry Screen?

Using Default Values in Backend Adapter

How to Guide to create Sample Application in IOS using SUP ODP 2.2

Upgrade MS SQL 2005 to MS SQL 2008 (R2) for Non-High-Availability NW Mobile ABAP System

NET312. UI Development with Web Dynpro for ABAP COURSE OUTLINE. Course Version: 10 Course Duration: 4 Day(s)

Remote Monitoring User for IBM DB2 for LUW

Building a Real-time Dashboard using Xcelsius and Data Integrator

How To Set up NWDI for Creating Handheld Applications in SAP NetWeaver Mobile 7.1

TBIT40 SAP NetWeaver Process Integration

How to Integrate Microsoft Bing Maps into SAP EHS Management

LO Extraction - Part 6 Implementation Methodology

How to Use Function Keys in Mobile Applications for Handhelds

Personalizing SAP BusinessObjects Explorer Information Spaces

HA200 SAP HANA Installation & Operations SPS10

Transcription:

How-To Guide SAP Business One 8.82, Version for SAP HANA Document Version: 1.0 2012-09-05 How to Set Up Data Sources for Crystal Reports Layouts in SAP Business One, Version for SAP HANA All Countries

Typographic Conventions Type Style Example Description Words or characters quoted from the screen. These include field names, screen titles, pushbuttons labels, menu names, menu paths, and menu options. Textual cross-references to other documents. Example EXAMPLE Example Example <Example> EXAMPLE Emphasized words or expressions. Technical names of system objects. These include report names, program names, transaction codes, table names, and key concepts of a programming language when they are surrounded by body text, for example, SELECT and INCLUDE. Output on the screen. This includes file and directory names and their paths, messages, names of variables and parameters, source text, and names of installation, upgrade and database tools. Exact user entry. These are words or characters that you enter in the system exactly as they appear in the documentation. Variable user entry. Angle brackets indicate that you replace these words and characters with appropriate entries to make entries in the system. Keys on the keyboard, for example, F2 or ENTER. 2 2012 SAP AG. All rights reserved. Typographic Conventions

Document History Version Date Change 1.0 <2012-09-05> First version Document History 2012 SAP AG. All rights reserved. 3

Table of Contents 1 Introduction... 5 1.1 Background Knowledge... 5 2 Setting Up Data Sources for Designing Crystal Reports Layouts... 6 4 2012 SAP AG. All rights reserved. Table of Contents

1 Introduction This guide describes how to set up data sources when designing Crystal Reports layouts for SAP Business One, version for SAP HANA. The other parts of designing Crystal Reports layouts for SAP Business One, version for SAP HANA are the same as those for SAP Business One. For more information about creating layouts with SAP Crystal Reports for SAP Business One, see the How to Work with SAP Crystal Reports in SAP Business One guide. If you are a partner, you can find the guide in sap partneredge.com at http://sappartneredge.com/b1/howtoguides. If you are a customer, you can find the guide in the documentation area of SAP Business One Customer Portal at http://service.sap.com/smb/sbocustomer/documentation. 1.1 Background Knowledge A schema is a collection of database-related entities. It represents a specific data context, and is equivalent to the concept of a "database" in MS SQL server. It includes tables, views, procedures, and so on. Schemas are displayed under Catalog for an SAP HANA instance. An SAP HANA model is an entity used for analytic querying purposes. It contains attribute views, analytic views, calculation views, and procedures. A package is a collection of SAP HANA models. Packages are displayed under Content for an SAP HANA instance. For each schema, there is a corresponding package with a name similar to sap.xxx, in which xxx is comprised of the schema name in lower case letters. Note that all models in a package are read-only with respect to the database. Introduction 2012 SAP AG. All rights reserved. 5

2 Setting Up Data Sources for Designing Crystal Reports Layouts This section describes the procedures involved in setting up data sources when designing Crystal Reports layouts for SAP Business One, version for SAP HANA. The procedures are: 1. Creating a New ODBC(RDO) Connection Driver 2. Selecting and Creating Data Sources Prerequisites You have installed the SAP Business One, version for SAP HANA client on the computer on which you want to design Crystal Reports layouts. For more information, see the SAP Business One, Version for SAP HANA Administrator's Guide. Note You must meet this prerequisite if you want to use B1CRHPROXY as the connection driver. You have installed the SAP HANA database client software (32-bit) on the computers on which you want to design Crystal Reports layouts. For more information, see SAP HANA Database Client Installation Guide on the SAP Help Portal at http://help.sap.com/hana_appliance. You have installed the SAP Crystal Reports, version for the SAP Business One application. For more information, see the SAP Business One, Version for SAP HANA Administrator's Guide. Creating a New ODBC(RDO) Connection Driver To create a new connection driver: 1. On the SAP Crystal Reports Start Page, choose Blank report. A tab for the new report with the Database Expert window appears. Note If you prefer, you can work with the standard report creation wizard. Instead of Blank report, choose Standard Report. For more information about the standard report creation wizard, see the SAP Crystal Reports online help. 2. In the Database Expert window, in the Available Data Sources pane on the left- hand side of the screen, choose Create New Connection ODBC(RDO) Make New Connection. The ODBC(RDO) Data Source Selection window appears. 3. Select the Enter Connection String radio button, and in the Connection String field, enter either of the following strings (as required): 6 2012 SAP AG. All rights reserved. Setting Up Data Sources for Designing Crystal Reports Layouts

o To use B1CRHPROXY as the connection driver, enter DRIVER={B1CRHPROXY};UID=<SAP HANA Database Server User Name>;PWD=<SAP HANA Database Server User Password>;SERVERNODE=<SAP HANA Database Server Name or Address>:<SAP HANA Database Instance Port>;DATABASE=<Company Schema Name on the SAP HANA Instance> Note The company schema name on the SAP HANA instance is optional. If you specified the company schema in the connection string, only this schema appears as an available data source. If you did not specify the company schema in the connection string, all the schemas on the specified SAP HANA instance appear as available data sources. o To use HDBODBC32 as the connection driver, enter DRIVER={HDBODBC32};UID=<SAP HANA Database Server User Name>;PWD=<SAP HANA Database Server User Password >;SERVERNODE=<SAP HANA Database Server Name or Address>:<SAP HANA Database Instance Port> Note If you use HDBODBC32 as the connection driver, you can only access tables and views through queries. For more information, see Selecting and Creating Data Sources. 4. In the ODBC(RDO) Data Source Selection window, choose the Finish button. The connection driver appears under ODBD(RDO) in the Database Expert window. Selecting and Creating Data Sources To select and create data sources: 1. In the Database Expert window, in the Available Data Sources pane on the left-hand side of the screen, open the driver that you added in the previous procedure. 2. You can now do the following: o For the connection driver B1CRHPROXY, if you specified the company schema in the connection string, you can directly use the tables and views of the specified company schema as data sources. You can also create commands with single queries as data sources in the specified company schema. If you want to access data sources that are in other company schemas belonging to the specified SAP HANA instance, you must create queries in which the parameter Schema@ is added before the name of the table or view. For example, SELECT "CardCode" FROM "{?Schema@}"."OCRD". To create queries for a SAP HANA model, add the parameter Package@ before the SAP HANA model name. For example, CALL _SYS_BIC."sap.{?Package@}"/GET_BP_LIST(). If you did not specify the company schema in the connection string, you can only create commands with single queries as data sources. In such queries you must use the parameters Schema@ and Package@ before the name of the table or view, and for the SAP HANA model. o For the connection driver HDBODBC32, you can only create commands with single queries as data sources. In such queries, you must use the parameters Schema@ and Package@ before the name of the table or view, and for the SAP HANA model. Note If you use commands as data sources, you can only execute the filtering function on the client side. This may lead to performance issues. Setting Up Data Sources for Designing Crystal Reports Layouts 2012 SAP AG. All rights reserved. 7

o To create queries for SAP HANA analytic views, you must use one or more of the following clauses: o SUM() o MAX() o MIN() o AVERAGE() o GROUP BY Example SELECT SUM("Value") FROM _SYS_BIC."sap.{?Package@}"/AN_SALES_CUBE GROUP BY "CardCode" 8 2012 SAP AG. All rights reserved. Setting Up Data Sources for Designing Crystal Reports Layouts

www.sap.com/contactsap Material Number 2012 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. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System ads, 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 is a registered trademark of Oracle Corporation. 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. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. SAP, R/3, xapps, xapp, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, 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 in several other countries all over the world. 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. These materials are subject to change without notice. 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.