crystal reports 2008 & business views overviewsapidp/011000358700001449722009e/… · crystal...

18
CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and not subject to your license agreement or any other agreement with SAP. This document contains only intended strategies, developments, and functionalities of the SAP ® product and is not intended to be binding upon SAP to any particular course of business, product strategy, and/or development. Please note that this document is subject to change and may be changed by SAP at any time without notice.SAP assumes no responsibility for errors or omissions in this document

Upload: lamtu

Post on 11-Oct-2018

221 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

CRYSTAL REPORTS 2008 &Business Views Overview

This presentation is a preliminary version and not subject to your license agreement or any other agreement with SAP. Thisdocument contains only intended strategies, developments, and functionalities of the SAP ® product and is not intended to bebinding upon SAP to any particular course of business, product strategy, and/or development. Please note that this document issubject to change and may be changed by SAP at any time without notice.SAP assumes no responsibility for errors or omissionsin this document

Page 2: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 2© SAP 2008 / Page 2

Legal Safe Harbor

This Statement of Direction provides a general strategicview of Business Objects’ investment focus in the nexttwo years. The information in this document isconfidential and proprietary to Business Objects andmay not be disclosed without the permission ofBusiness Objects. Products and Platforms directionspresented here are subject to change at the solediscretion of Business Objects without notice. Theinformation on this document is not a commitment,promise or legal obligation to deliver any material, codeor functionality and it should not be relied upon inmaking any purchase decision. This document must notbe shared with those not covered by an appropriate non-disclosure agreement (NDA).

Page 3: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 3

Business Views

Objective:The purpose of this guide is to walk the audience through the creation of Business Views.

After completion the audience will be able to do basic Business View creation andunderstand the benefits.

This guide may be used as a basis for presentations, but Business View creation shouldonly be presented to a technical audience.

Page 4: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 4

Business Views:

Abstract the underlying database, hiding complexity.

Provides row and column level security.

Reduce report creation time and removes db knowledge requirement while reportwriting.

Business Views and its components are reusable.

All components are stored in Crystal Reports Server.

Business Views

Page 5: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 5

Data Connection – First object within the Business View process, it is holds thedatabase connectivity information.

Data Foundation – Second object within the Business View process, it requires adata connection. It then specifies the tables, relationships and filters to be used.

Business Element – Third object within the Business View process, it requires a DataFoundation. It then specifies which fields are to be used in the report creation.

Business View – Fourth object within the Business View process, it requires aBusiness Element and exposes the fields to a Crystal Report.

Business Views

Page 6: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 6

Step 1) Launch the “Business View Manager” application found in the Start, ProgramFiles, Crystal Reports Server.

Note this is by default installed on the same machine as CRS, but may be installedon other Windows OS machines.

Step 2) Connect to CRS by logging on as the Administrator.

Business Views

Page 7: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 7

Step 3) Create a new “Data connection”.

Step 4) Connect to the Xtreme.mdb either by the Access or ODBC connectivity.

Business Views

Page 8: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 8

Step 5) Select the connection we just established and click “Ok”.

Step 6) Leave all fields blank and choose to “Never Prompt”, then click “Ok”.

Note we may supply or prompt for the user credentials to connect to the data source.In this scenario our data source does not require this.

Business Views

Page 9: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 9

Step 7) In the “Property Browser”, give the data connection a name, then click“Save”.

Step 8) Create a new folder and save the connection in there.

Business Views

Page 10: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 10

Step 9) Create a new “Data Foundation” by selecting “File”, “New” & then “DataFoundation”.

Step 10) Choose the “Data Connection” previously created and select “Ok”.

Business Views

Page 11: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 11

Step 11) In the “Insert Data Tables”, expand the “Tables” and add “Customer”,“Orders” & “Order_Details” tables. Then click “Close” once added.

Step 12) Join the tables, by clicking “Linking Diagram” & “Smart Linking By Name”.

Note as in CR you may specify join details and create your on joins.

Business Views

Page 12: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 12

Step 13) In the “Property Browser” give the data foundation a name, then click“Save”.

Step 14) Right click “Filter” and select “Insert Filter”. This is where we add row levelsecurity.

Step 15) Set the “Country” field to be one of Brazil, Mexico, Canada & USA.

Business Views

Page 13: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 13

Business Views

Step 16) Edit the “Rights” and select “Add Group”.

Step 17) Locate the “Ingram Micro” group and select “Add” then “Close.

Step 18) Check “Applied” and then “Ok.”

Page 14: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 14

Business Views

Step 19) Create a new field, by right clicking “Formulas” and then clicking “InsertFormula”.

Step 20) Type the formula below or double click the fields and functions to recreate it,then click “Apply”.

Step 21) Save the Data Foundation and the create a new Business Element usingthe Data Foundation.

Page 15: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 15

Business Views

Step 22) Select the fields in the diagram below and add them to the BusinessElement, then click “Add”.

Step 23) Give the Business Element a name and click “Save”. Then create a newBusiness View using the Business Element we created.

Page 16: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 16

Business Views

Step 24) Give the Business View a name and then save it.

Step 25) Launch Crystal Reports and logon to CRS via the “Repository Explorer.”

Step 26) Create a new report.

Page 17: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 17

Business Views

Step 26) When prompted for a data source expand “Repository” and then select theBusiness View created.

Step 27) Create the report as in either of the Crystal Reports guides, then save it toCRS. NOTE make sure you save it with no data.

Step 28) Logon to InfoView and view the report as a user from the “Ingram Micro”group.

Page 18: CRYSTAL REPORTS 2008 & Business Views Overviewsapidp/011000358700001449722009E/… · CRYSTAL REPORTS 2008 & Business Views Overview This presentation is a preliminary version and

© SAP 2008, Page 18

Business ViewsDemo Considerations

Things to emphasize:

All objects are reusable.

Separate report designer from db administrator. No db knowledge to createreports.

Hide complexity of db and add business logic to the data.

Row and column level security.