SAP 7090310 Arkusz Danych

Przeglądaj online lub pobierz Arkusz Danych dla Oprogramowanie bazy danych SAP 7090310. SAP Reports 2011, WIN, INTL, NUL Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 706
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
SAP Crystal Reports 2011 Users Guide
SAP Crystal Reports 2011 Support Package 2
2011-05-16
Przeglądanie stron 0
1 2 3 4 5 6 ... 705 706

Podsumowanie treści

Strona 1 - 2011-05-16

SAP Crystal Reports 2011 Users Guide SAP Crystal Reports 2011 Support Package 22011-05-16

Strona 2

Mapping...285Chapter 13 Map

Strona 3

2.In the Name field of the Object Information dialog box, create a name for your object or image.Note:You cannot use these characters in your object&a

Strona 4 - 2011-05-164

2.Click the Add to Repository button.You'll see that your custom function has been added to the Repository Custom Functions node.Tip:• You can al

Strona 5 - 2011-05-165

Note:• To reconnect a report object that has been disconnected from its repository, re-add the object orupdate the repository copy. Objects that remai

Strona 6 - 2011-05-166

You'll see your custom function has been added to the Report Custom Functions node of the FormulaWorkshop.Note:You can also add custom functions

Strona 7 - 2011-05-167

You can modify repository objects by disconnecting them, changing them in a report, and adding themback to the repository. As well, you can rename obj

Strona 8 - 2011-05-168

5.8.1 To set the update option1.On the File menu, click Options.The Options dialog box appears.2.Click the Reporting tab.3.Select the Update Connected

Strona 9 - 2011-05-169

Tip:Another way to do this is to click the Repository Explorer option under the View menu.2.In the appropriate folder, select the object you want to r

Strona 10 - Contents

Designing Optimized Web Reports6.1 OverviewWhether you distribute your enterprise reports over a local network, a corporate Intranet, or the Web,you c

Strona 11 - 2011-05-1611

6.1.1 Key strategies for optimizing web reports• As your company grows, Crystal Reports and SAP BusinessObjects Enterprise can grow along withyou. For

Strona 12 - 2011-05-1612

• VersioningVersioning works closely with scheduling to store "instances" of a report. Versioning not only reducesthe number of database hit

Strona 13 - 2011-05-1613

Converting a static OLE object to a bitmap image object...30814.5.3Working with embedded vs. linked

Strona 14 - 2011-05-1614

• If you use date and/or time functions in a report's selection formula, the report's data is dependentupon the return values of those formu

Strona 15 - 2011-05-1615

Note:If for some reason you need to keep a report in its original file format, use the Save As command(instead of Save) and enter a new name for the v

Strona 16 - 2011-05-1616

You can schedule these reports within SAP BusinessObjects Enterprise, so they automatically refreshfrom the database on a predetermined basis. For exa

Strona 17 - 2011-05-1617

6.3.3.1 To hide details in a summary report1.Open your report in Crystal Reports.If you haven't yet created a grouped and summarized report, open

Strona 18 - 2011-05-1618

Many report objects—such as large cross-tabs, OLAP grids, advanced charts, and maps—are idealcandidates to include in on-demand subreports, so that th

Strona 19 - 2011-05-1619

6.3.5 Using other design elements effectivelyMapsMap rendering is a single-threaded operation that does not scale well. Although maps are supported,yo

Strona 20 - 2011-05-1620

• Users view a report using the same parameters.• Users view a report using the same locale settings.• Users do not modify the report.Reports viewed u

Strona 21 - 1.1 About Crystal Reports

When you add multiple database tables to your report, you link the tables on a common field so thatrecords from one table match related records from a

Strona 22 - 1.2.2 Sample Reports

ODBC connections to the following database types assume that the ODBC database driver is alsothread-safe and, therefore, operate in a multi-threaded m

Strona 23 - Quick Start

• To select a stored procedure as a data source, see "SQL stored procedures" in the online help.6.5 Using enhanced record selection formulas

Strona 24 - 2.2.2 Cross-Tab

Calculated Members...33615.6.1Embedded Summar

Strona 25 - 2.3 Quick start for new users

formula is evaluated by Crystal Reports, no further records need to be eliminated. Click Show SQLQuery on the Database menu and notice that the result

Strona 26 - 2.3.2 Creating the report

6.5.2.3 SQL Databases• You can push down record selection on indexed or non-indexed fields.• Your SQL server will respond faster if you use indexed fi

Strona 27 - 2011-05-1627

Of course DataBaseField is just a database field. SupportedOperator is any of =, <>, <, <=, >,>=, StartsWith, Like or In.ConstantOrP

Strona 28 - 2.3.2.3 Inserting a field

6.5.3.1 To add a parameter field to your record selection formula1.Open the sample report Group By Intervals.rpt.Take a moment to navigate the Group t

Strona 29 - 2.3.2.3.1 To insert a field

a numeric value representing last year's sales quota. The resulting report will display only thosecustomers whose Last Year's Sales exceeds

Strona 30 - 2.3.2.4 Understanding fields

enhance and hone your formulas in ways that are either difficult or impossible with SQL. In certaincircumstances, however, creating and using SQL Expr

Strona 31 - 2.3.2.8 Reviewing your work

Note:Server-side processing works only for sorted and grouped reports that are based on SQL data sources.6.6.1.1 To enable server-side processing1.On

Strona 32 - 2011-05-1632

Notice that 269 records are still returned for the report, even though the Detail records are hiddenfrom view.7.On the Database menu, click Perform Gr

Strona 33 - 2011-05-1633

calculation for each group in the report. By performing the calculation with an SQL Expression field ofthe following form, you use your database'

Strona 34 - 2011-05-1634

Record Selection7.1 Selecting recordsWhen a field is selected to appear on a report, field values from every record in the active table(s) areprinted

Strona 35 - 2.3.2.13 Formatting objects

Formatting data in an OLAP grid...36917.4Changing the backgrou

Strona 36 - 2011-05-1636

When you select records, you are basing your report only on those records that meet some conditionsthat you have set. You base those conditions on the

Strona 37 - 2.3.3 Record Selection

report is limited to values within the range. You can set up all of these types of record selection requestswithout any previous knowledge of the form

Strona 38 - 2011-05-1638

7.1.4 Using formulas7.1.4.1 To set up record selection using a formula1.On the Report menu, point to Selection Formulas and click Record.2.In the Reco

Strona 39 - 2.3.3.2 Deleting a field

7.1.5.1 To view the Select Expert formula1.Right-click the field on which you want to view record selection.2.Click Select Expert.3.Click the Show For

Strona 40 - 2.3.3.2.1 To delete a field

7.1.6 Saved data selection formulasSaved data selection formulas filter report data after the records have been stored in the report. Likerecord selec

Strona 41 - 2.3.4.1 Grouping the report

Selects those records in which the value in the {file.FIELD} field does not begin with the character "C"(includes values like Bob's Bik

Strona 42 - 2011-05-1642

Selects those records in which the year found in the {file.DATE} field falls between 1992 and 1996(1992 and 1996 not included).Year({file.DATE}) >=

Strona 43 - 2.3.4.3 Sorting records

These templates can be used as they are (with your own data), or they can be combined to createcomplex formulas.7.3 Pushing down record selection to t

Strona 44 - 2011-05-1644

1.Write down the record selection formula on paper. You will use this written copy to help youreconstruct the selection formula one step at a time.2.R

Strona 45 - 2.3.5 Completing the report

Does the {customer.CONTACT LAST NAME} field show only text strings beginning with the letter"C"?• If it does, then this part of the selectio

Strona 46 - 2011-05-1646

Using Formulas...417Chapter 20 Formula

Strona 47 - 2011-05-1647

Another formula which performs much the same functions is the following:"BOB" in UpperCase({customer.CONTACT FIRST NAME})7.4.2.2 Unwanted sp

Strona 48 - 2011-05-1648

Sorting, Grouping, and Totaling8.1 Sorting dataSorting means placing data in some kind of order to help you find and evaluate it.When you first insert

Strona 49 - 2011-05-1649

8.1.1.2 Sort fieldA sort field is the field that determines the order in which data appears on your report. Almost any fieldcan be used as a sort fiel

Strona 50 - 2011-05-1650

Sort OrderField Typechronological orderTime fieldsFalse values (0)True values (1)Boolean comparison fieldsnull valuesnon-null valuesNull valuesNote:If

Strona 51 - Report Design Concepts

In multiple field sorts, the Report Designer first sorts the records based on the values in the first fieldselected, putting them in ascending or desc

Strona 52 - 2011-05-1652

Tip:The order of the fields listed in the Sort fields box is the order by which data will be sorted.7.As you add each field to the Sort Fields list, s

Strona 53 - 3.2.3 Finding the data

Note:Sort fields that begin with "Group" specify that the sort was done automatically when the data wasgrouped.2.Highlight the fields that y

Strona 54 - 3.2.4 Manipulating the data

Note:Grouping hierarchy is not affected by "Sort Control".8.1.3.2 To remove a sort control1.Right-click the text object that contains the ex

Strona 55 - 2011-05-1655

2.Select the field you want the data grouped by from the top drop-down list.3.Select the sort direction from the second drop-down list.Note:If you wan

Strona 56 - 2011-05-1656

8.2.2 Creating custom groupsUsually data is sorted based on the values from a field in the report. Sometimes, however, you maynot want to group data b

Strona 57 - 2011-05-1657

Creating a parameter with a dynamic prompt...46621.5To create a parameter with a d

Strona 58 - 2011-05-1658

7.Click the <New> tab to add more selection criteria to your specified group, if necessary.8.Click OK.9.Click New to create more custom groups a

Strona 59 - Introduction to Reporting

7.Select Use a Formula as Group Sort Order, and click the Conditional Formula button next toit.Note:This option is not available if you choose "i

Strona 60 - 4.2.1.1 Data tab

Note:Sort fields that begin with "Group" specify that the sort was done automatically when the data wasgrouped.2.Highlight the field you wan

Strona 61 - 2011-05-1661

8.2.5.1 Using the Select ExpertThe Select Expert can be used to select groups of records in the same way that you select individualrecords.When you ar

Strona 62 - 4.2.2.1 Tree View

3.To base the group selection on more than one field, click the New tab and choose the next fieldfrom the Choose Field dialog box.Note:If you have not

Strona 63 - 2011-05-1663

8.2.5.3 Troubleshooting group selection formulasIn some cases, no values will print when using a group selection formula, even though there are values

Strona 64 - 4.3.1 Design tab

8.Instead of using the formula name (in this case @Percent) in the group selection formula, enter theformula itself (the formula named @Percent). Thus

Strona 65 - 4.3.1.1 Design tab areas

5.Click the New button.The Define Named Group dialog box appears.6.Type "Less than $10,000" in the Group Name field.This is the name that wi

Strona 66 - 2011-05-1666

• Specify a range of values:• Type "10000" in the top field.• Type "25000" in the bottom field.11.Click OK to return to the Specif

Strona 67 - 2011-05-1667

{customer.POSTAL CODE}{customer.COUNTRY}Note:Xtreme.mdb is located on the SAP Business Objects Support web site.2.On the View menu, click Field Explor

Strona 68 - 4.3.2.1 Standard view

Previewing subreports...49522.2.1Saving a subre

Strona 69 - 4.3.2.2 Preview Panel

Characteristics of the data needed for hierarchical groupingYou can group data in a report to show hierarchical relationships. When you group data hie

Strona 70 - 4.3.2.2.2 The Parameter Panel

Supervisor (parent)Employee (child)GillianFrancesGillianRuthMinaMargaretMargaretPaulMargaretCharlesThe Employee and Supervisor fields contain overlapp

Strona 71 - 4.3.2.2.3 Find tab

8.2.8.1 To group data hierarchically1.Create or open a report that contains the data you want to group and sort hierarchically.2.On the Insert menu, c

Strona 72 - 4.3.3 HTML Preview tab

7.On the Report menu, click Hierarchical Grouping Options.8.In the Available Groups list of the Hierarchical Options dialog box, select the group you

Strona 73 - 4.4 Creating a new report

The value that you enter in the Group Indent field affects all other objects that are in the same areaas your hierarchical group. For example, if your

Strona 74 - 4.4.2.1 To add a table

Note:The level at which a name appears in the hierarchy of this report is determined by the number ofemployees who report to him or her. Those employe

Strona 75 - 4.4.3 Linking multiple tables

3.Click Options.4.In the Change Group Options dialog box, edit the group as necessary.5.Click OK to close the Change Group Options dialog box and agai

Strona 76 - 4.4.4.1 Database fields

The Insert Summary dialog box appears.2.Select the desired field to summarize from the Choose the field to summarize list.3.Select a summary operation

Strona 77 - 4.4.4.3 SQL Expression fields

2.Click the tab for the group you want to sort.3.Select the All option from the drop-down list on the left.4.Choose the summary that you want to base

Strona 78 - 4.4.4.5 Running total fields

With top N groups, you are instructing the program to display those groups that have the highestsummary values (Top N).•• With bottom N groups, you ar

Strona 79 - 4.4.4.7 Text objects

Link processing order...53123.5.9Linking optio

Strona 80 - 4.4.4.8 Picture fields

• Order 1 = 100• Order 2 = 90• Order 3 = 80• Order 4 = 80If you set your top N to be three, but you do not select "Include ties," your repor

Strona 81 - 4.4.4.9 Hyperlink fields

5.On the Report menu, click Group Sort Expert.6.In the Group Sort Expert, select the type of group sort that you want.Choose any option except No Sort

Strona 82 - 2011-05-1682

Note:Xtreme.mdb is located on the SAP Business Objects Support web site.2.Right-click the Last Year's Sales field, point to Insert and choose Sum

Strona 83 - 4.4.6 Formatting data

The Formula Workshop appears with the Formula Editor active.5.Enter the following formula into the Formula text box:{Orders_Detail.Quantity} * {Orders

Strona 84 - 4.4.7 Record selection

8.5.1 Calculating a percentageYou can calculate the percentage of one group within a broader grouping. For example, you can showthe percentage of sale

Strona 85 - 4.4.10 Using the zoom feature

7.Click OK. The summary percentage field is added to your report.8.6 Group headers8.6.1 Creating group headersWhenever you create a group, a subtotal,

Strona 86 - 2011-05-1686

8.6.1.1 Standard headersA standard header is a block of text that is used to identify each group in a rather generic kind of way."Customer,"

Strona 87 - 2011-05-1687

Group name onlyThe easiest live header to create is one based on identifying the value of the group field.8.6.1.2.1 To create a live header by group n

Strona 88 - 4.5.1 The Report Explorer

8.6.1.2.3 Live headers for groups based on a formulaWhen you create a group and use a formula field as a sort-and-group-by field, the program automati

Strona 89 - 4.5.1.1 Toolbar

8.6.2 Suppressing group headersYou have the option to hide group headers in your report.8.6.2.1 To suppress group headers1.Right-click the group heade

Strona 90 - 4.5.2.1 Toolbar

Accessing Data Sources...633Chapter 25 Introduction.

Strona 91 - 4.5.3 The Dependency Checker

1.Right-click the gray Details section to the left of the report.2.Select Hide (Drill-Down OK).3.Click Refresh.When you place the cursor over a group

Strona 92 - 4.5.3.1 Shortcut Menu

Running Totals9.1 Understanding running totalsRunning total fields are similar to summary fields but allow more control over how the total is calculat

Strona 93 - 2011-05-1693

the Report Footer returns the desired value. The Running Total field is properly calculated in both cases,but it is displayed too soon in the first ca

Strona 94 - 4.6 Beyond basic reports

The most basic form of a running total is a running total maintained throughout a list. In this tutorial,you will create this kind of report by settin

Strona 95 - 5.1.1 Work flow

9.2.2 Creating running totals for a groupAnother common use for running totals is tallying items in a group. The running total starts with the firstit

Strona 96 - 2011-05-1696

You return to the Field Explorer dialog box.11.Place the running total field in the Details section of your report, just to the right of the Orders.Or

Strona 97 - 2011-05-1697

Tip:Another way to do this is to click the Record Sort Expert button on the Expert Tools toolbar.3.Sort the records based on the Customer.Customer Nam

Strona 98 - 2011-05-1698

9.2.4 Creating running totals in a one-to-many linking relationshipA one-to-many linking relationship occurs in linked tables when a single record in

Strona 99 - 2011-05-1699

10.In the Reset section of the dialog box, click On change of group and choose Group #1:Customer.Customer Name - A.11.Click OK to save the Running Tot

Strona 100 - 2011-05-16100

5.Enter the following into the Formula box:WhilePrintingRecords;CurrencyVar Amount;Amount := Amount + {Orders.Order Amount};6.Click the Save and close

Strona 101 - 5.5.4 Adding a command

Failed to retrieve data from the database. Details: [Database Vendor Code: <vendor codenumber>]...

Strona 102 - 2011-05-16102

On your report, each row in the running total column displays the current record value added to theprevious values. The running total starts fresh wit

Strona 103 - 2011-05-16103

Multiple Section Reports10.1 About sectionsCrystal Reports provides five design areas to use when building your report:• Report Header• Page Header• D

Strona 104 - 2011-05-16104

Many of the procedures in this section show you how to work with sections in the Section Expert.Sections can also be inserted, deleted, and so on by r

Strona 105 - 2011-05-16105

10.2.3 Moving a section1.Click Section Expert on the Expert Tools toolbar.The Section Expert appears with a list of all the sections in the report. Wh

Strona 106 - 2011-05-16106

3.Highlight the top section.4.With Section (B) highlighted, click Merge and Section (C) will be merged with Section (B) to formone section.5.Rearrange

Strona 107 - 6.1 Overview

10.3.2 Resizing a section1.Move the pointer over the bottom boundary of the section you want to resize.2.When the pointer becomes a Resizing cursor, d

Strona 108 - 2011-05-16108

10.4 Using multiple sections in reportsCertain reporting tasks are performed most efficiently by creating multiple sections within an area.Once you un

Strona 109 - 2011-05-16109

Note:Many report objects can use the Can Grow option and can, therefore, cause overprinting:• Text fields• Formula fields• Memo fields• BLOB fields• S

Strona 110 - 2011-05-16110

10.4.3 Adding blank lines conditionallyUse multiple sections to print a blank line on your report under specific conditions. For example, youmay want

Strona 111 - 6.3.2.2 Saved data

10.5.1 Working with text objectsYou will use many of the capabilities of text objects when creating form letters. A brief discussion oftext objects sh

Strona 112 - 2011-05-16112

© 2011 SAP AG. All rights reserved.SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAPBusiness ByDesign, and other SAP products and services men

Strona 113 - 2011-05-16113

2011-05-1620Contents

Strona 114 - 2011-05-16114

The insertion point moves as you type, automatically staying to the right of the last character. It alsomoves when you insert a field, automatically s

Strona 115 - 2011-05-16115

10.5.2.1 To create a form letterThe letter will consist of a date, an inside address, a salutation, a one paragraph letter body, and aclosing section.

Strona 116 - 6.4.2 Using table indexes

6.Double-click inside the text object to place it in edit mode. It is now ready for you to begin your work.The insertion point appears at the extreme

Strona 117 - 2011-05-16117

2.Drag in the Address 1 field and place it at the insertion point, and press Enter. The insertion pointmoves down to the line below.3.Drag in the City

Strona 118 - 2011-05-16118

10.5.2.5 Creating the letter body1.Now type "Your company" (do not include the quotation marks) and type a comma followed by aspace.2.Drag t

Strona 119 - 2011-05-16119

8.Click Print Preview on the Standard toolbar to preview the form letter.It should look similar to this:10.5.3 Printing conditional messages in form l

Strona 120 - 6.5.2.2 PC Databases

10.5.3.1 To create a conditional message1.Use the Section Expert to insert a second Details section in the report. See Working withsections.2.Create t

Strona 121 - 6.5.2.3 SQL Databases

Formatting11.1 Formatting conceptsThis section explains how to format a report. Formatting refers to changes you can make to the layoutand design of a

Strona 122 - 2011-05-16122

11.2.1 Applying a templateWhen you create a new report in the Standard Report Creation Wizard, you can apply a template asan optional step. You can al

Strona 123 - 2011-05-16123

Tip:Another way to do this is to click the Template Expert button on the Expert Tools toolbar.As was the case with the Template screen, you can choose

Strona 124 - 2011-05-16124

Introduction to SAP Crystal Reports 20111.1 About Crystal ReportsSAP Crystal Reports 2011 (Crystal Reports) is designed to work with your database to

Strona 125 - 2011-05-16125

11.2.3.1 To reapply the last template selected1.On the Report menu, click Template Expert.Tip:Another way to do this is to click the Template Expert b

Strona 126 - 2011-05-16126

4.Specify the formatting for your Template Field Object as you require.For information about how to apply formatting, see Working with absolute format

Strona 127 - 2011-05-16127

If an existing report is used as a template, these report objects will not be applied to the new report:• Detail charts• Subreports• OLAP grids• Cross

Strona 128 - 2011-05-16128

ResultIf the target report has...If the Template has...Overwrite/ApplyAdvanced ChartAdvanced Chart• Using group & summary inreportChart retainedAd

Strona 129 - Record Selection

11.3.1 Section characteristicsA report consists of several sections, including the Report Header, Page Header, Group Header, Details,Group Footer, Pag

Strona 130 - 7.1.3 Using the Select Expert

The Xtreme.mdb file is located on the SAP Business Objects Support web site.2.Place {customer.CUSTOMER NAME} and {customer.LAST YEAR'S SALES} sid

Strona 131 - 2011-05-16131

The picture now prints in both the first Group Header and the following few Details sections, next to(instead of above) the text in the body of the re

Strona 132 - 7.1.4 Using formulas

11.3.4.1 To create a multiple-column report1.Open the report you want to format with multiple columns.2.On the Report menu, click Section Expert.Tip:A

Strona 133 - 2011-05-16133

11.3.5.2 Suppress (No Drill-Down)The Suppress property also hides a section when you run the report. Unlike the Hide property, however,you cannot appl

Strona 134 - 7.2 Using formula templates

Note:• This option does not work for text fields that contain embedded fields.• This option compares record values, not formatted field values. The pr

Strona 135 - 2011-05-16135

as a reference for your basic reporting needs as well as an introduction to new concepts in reportcreation.1.2.1 Locate information quickly• Access on

Strona 136 - 2011-05-16136

Note:This will only work if there are no other objects in the section.11.3.6.3 Suppress (Common tab)The Suppress property hides an object when you run

Strona 137 - 2011-05-16137

When a text-based object is placed on a report, the object is represented by an object frame. The heightof the object frame is based on the height of

Strona 138 - 2011-05-16138

11.3.7.2 Preventing breaks in non-spacing text inside an objectFor text strings that do not contain spaces, such as single words, the text string is b

Strona 139 - 2011-05-16139

11.3.7.3.1 To suppress blank lines in embedded fields1.Open your report in the Design tab, and click the desired text object—that is, the text object

Strona 140 - 2011-05-16140

Unlike single-line text-based objects, expanding the object frame of a multi-line text-based object toaccommodate growth is not a viable option. When

Strona 141 - 8.1.1.1 Sorting data

The object is imported from the file into the text object on your report.11.3.10 Spacing between text-based objectsUse the grid and guidelines options

Strona 142 - 8.1.1.2 Sort field

The Design and Preview tabs have an underlying grid structure that you can activate on the Layout tabin the Options dialog box.11.3.10.2.1 To select t

Strona 143 - 8.1.1.3 Sort Direction

11.3.10.5 Inserting guidelinesAlthough you can and should insert manual guidelines whenever necessary, Crystal Reports willautomatically insert guidel

Strona 144 - 8.1.2.1 To sort your data

To snap an object to a guideline, drag the report object onto the guideline until the object's edge sitsatop the guideline. Snapping enables you

Strona 145 - 8.1.3 Sort controls

11.3.10.7 Positioning objects using guidelinesOnce you've snapped one or more objects to a guideline, you can move all the objects at once bymovi

Strona 146 - 2011-05-16146

Quick Start2.1 Learning how to use Crystal ReportsYou can teach yourself how to use Crystal Reports by choosing from the methods available in thissect

Strona 147 - 8.2.1.1 To group data

2.Snap one side of the object to that guideline.3.Create a second guideline to the right of the object.Note:The guideline should not be touching the o

Strona 148 - 2011-05-16148

Note:• Only indentation values within the range of the field or object width are accepted.• When you select the "Right to Left" reading orde

Strona 149 - 8.2.2 Creating custom groups

Note:You also have the option to click the Conditional Formatting button to enter a formula in theFormat Editor. In the Format Formula Workshop, you c

Strona 150 - 2011-05-16150

11.3.13 Vertical placementOn the Common tab of the Format Editor, you can use the text rotation options to vertically align thefields and text-based o

Strona 151 - 2011-05-16151

The value n is defined as the distance in number of points measured from the start of one characterto the start of the next. When you change the chara

Strona 152 - 8.2.5 Group selection

11.3.16 Setting page size and page orientationYou can view and print your reports using either portrait or landscape orientation, and in a variety ofp

Strona 153 - 2011-05-16153

11.3.17 Setting page marginsMargins are the write spaces on the left, right, top, and bottom of the page. Crystal Reports gives youthe option of setti

Strona 154 - 2011-05-16154

11.3.19 Printer drivers11.3.19.1 Updating printer driversIn order to maintain performance, Crystal Reports queries the printer driver for each of the

Strona 155 - 2011-05-16155

• Using a second printer driver that measures fonts narrower could result in the same block of textrequiring less than six full lines.• Using a third

Strona 156 - 2011-05-16156

You can set formatting properties using the Format Editor for objects and the Section Expert for reportsections. In most cases, you can set one of two

Strona 157 - 2011-05-16157

2.2 Report Creation WizardsThe tutorials in this section show you how to build a report from scratch. As a complement or analternative, however, you m

Strona 158 - 2011-05-16158

11.5.2 Making a report, section, area, or object read-onlyYou can make a report, section, area, or object read-only so it can't be formatted. Whe

Strona 159 - 2011-05-16159

Note:•You can also do this by clicking the Lock Format button on the Formatting toolbar.• When a report object is read-only, you can move it, copy it,

Strona 160 - 2011-05-16160

2.In the Options dialog box, click the Fields tab.3.Click the button appropriate to the type of field you want to format (String, Number, Currency, Da

Strona 161 - 2011-05-16161

11.5.4.2.2 To customize formats for Date, Time, and Date and Time fields1.On the File menu, click Options.2.In the Options dialog box, click the Field

Strona 162 - 2011-05-16162

2.Use the pencil cursor to draw the line where desired.Note:You cannot draw diagonal lines.11.5.5.2 To edit lines on a report1.Right-click the line yo

Strona 163 - 2011-05-16163

1.On the Insert Tools toolbar, click Insert Box.2.Use the pencil cursor to draw the box where desired.11.5.6.2 To edit boxes on a report1.Right-click

Strona 164 - 2011-05-16164

EndStartBetween these sectionsIn the bottom section, or if thatsection is suppressed, at the topof the next visible section.In the top section, or if

Strona 165 - 8.2.9 Editing groups

EndStartBetween these sectionsIn the first instance of the GF3section, or if that section is sup-pressed, at the top of the nextvisible GH/D/GF sectio

Strona 166 - 8.3 Summarizing grouped data

When designing report formats in Crystal Reports, you can insert a variety of shapes such as circles,ellipses, and boxes with rounded corners, as part

Strona 167 - 2011-05-16167

2.Right-click the object and select Format Graphic from the shortcut menu.3.In the Format Editor, click the Picture tab.4.To crop the object, specify

Strona 168 - 2011-05-16168

2.2.3 Mailing LabelThe Mailing Labels Report Creation Wizard lets you create a report that is formatted to print on anysize mailing label. You can use

Strona 169 - 2011-05-16169

11.5.10.2 To customize the accounting conventions for a report1.Right-click the currency field or number field you want to format to bring up the shor

Strona 170 - 2011-05-16170

11.5.11.1 To repeat objects on horizontal pages1.Right-click the report object you want to repeat.2.On the shortcut menu, click Format Field, or the a

Strona 171 - 8.4.1.1 To subtotal data

11.5.12 Using white space between rowsThe height of a section in relation to the objects within it affects the amount of white space that appearsbetwe

Strona 172 - 2011-05-16172

11.5.12.2 Deleting white space by resizingTo delete unnecessary white space within a section, move the pointer over the lower section boundaryline. Th

Strona 173 - 8.5 Percentages

4.Click OK to return to your report.The blank section will no longer be printed.11.5.12.3.2 To delete white space by clamping the Page Footer1.On the

Strona 174 - 2011-05-16174

11.6.1 Conditional on or off propertiesA conditional on or off property tests to see if a condition has been met. It is on if the condition is met,off

Strona 175 - 8.6.1 Creating group headers

Note:Always include the Else keyword in conditional formulas; otherwise, values that don't meet the If conditionmay not retain their original for

Strona 176 - 8.6.1.2 Live headers

3.Click the Font tab.4.To change any of the font options, click the appropriate Formula button, located on the right sideof the dialog box.5.In the Fo

Strona 177 - 2011-05-16177

3.In the Formula Workshop, enter your conditional margin formula text.4.Click Save and close to return to your report.5.Click OK to apply your new set

Strona 178 - 2011-05-16178

You may choose to print a page footer on all pages except the first page. You can do this by formattingthe Page Footer section conditionally, using an

Strona 179 - 2011-05-16179

2.3.1 Before you beginThis tutorial assumes you are familiar with Microsoft Windows and uses conventional terms andprocedures common to the Windows en

Strona 180 - 2011-05-16180

11.6.6 Using the Highlighting ExpertThe Highlighting Expert enables you to apply conditional formatting to all types of report fields (Number,Currency

Strona 181 - Running Totals

The dialog box is divided into two areas: the Item list area displays the formula; the Item editor areaallows you to specify the formula. The Item edi

Strona 182 - 9.2 Creating running totals

5.Complete the condition by entering the desired value in the box.Note:If the field selected in the "Value of" list is not numeric, the text

Strona 183 - 2011-05-16183

11.6.7 Undo/Redo activitiesCrystal Reports includes multiple levels of undo. With multiple levels of undo, you can undo any numberof changes to an obj

Strona 184 - 2011-05-16184

• The Format Painter does not copy formatting from text/template objects to database fields.• The Format Painter can use any object (including Reposit

Strona 185 - 2011-05-16185

1.Select a source object or field in your report and click Format Painter.Tip:You can also select Format Painter from the shortcut menu.Note:• The For

Strona 186 - 2011-05-16186

• To undo changing a field to a barcode, you must use the Undo command right after you use Changeto Barcode.If you perform any other actions after you

Strona 187 - 2011-05-16187

1.Right-click the barcode field that you would like to reformat.2.From the shortcut menu, select Format Field.The Format Editor appears.3.Set your des

Strona 188 - 2011-05-16188

2011-05-16268Formatting

Strona 189 - 2011-05-16189

Charting12.1 Charting conceptsCrystal Reports enables you to include sophisticated, colorful charts in your reports. You can use chartsany time you wa

Strona 190 - 2011-05-16190

2.3.2.1 Selecting a database to useThe next step in creating a report is to select a database. Use the Xtreme.mdb sample database forthis tutorial.The

Strona 191 - Multiple Section Reports

• OLAP data.You will typically chart on summary and subtotal information at the group level. However, dependingon the type of data you are working wit

Strona 192 - 10.2.2 Deleting a section

12.1.3 Chart typesDifferent sets of data are particularly suited to a certain chart type. The following is an overview of themain chart types and thei

Strona 193 - 10.2.3 Moving a section

3-D Surface3-D Surface charts present a topographic view of multiple sets of data. If, for example, you need a chartto show the number of sales by cus

Strona 194 - 10.3.1 Splitting a section

FunnelFunnel charts are often used to represent stages in a sales process. For example, the amount ofpotential revenue shown for each stage. This type

Strona 195 - 10.3.2 Resizing a section

12.2 Creating chartsWhen you insert a chart in a report, you may see one of the following options:• A chart object frame in the Report Header.Once you

Strona 196 - 2011-05-16196

12.2.2 Charting on summary or subtotal fields (Group layout)Many of the charts you create are based on summary or subtotals within your report. In ord

Strona 197 - 2011-05-16197

12.2.3 Charting on Cross-Tab summaries (Cross-Tab layout)Crystal Reports allows you to include a chart based on summary values in your Cross-Tab repor

Strona 198 - 10.5 Form letters

12.Accept the default title information or add new titles to your chart.13.Click OK.Note:When your chart is inserted, it may cover a portion of the re

Strona 199 - 10.5.1.2 Edit mode

9.If the Axes and Options tabs appear, you can customize some of the chart's properties, such asthe scaling of the axes, the legend, and the data

Strona 200 - 2011-05-16200

Some of the editing options available in the Chart Expert are also available directly from the ChartOptions menu. This menu, which is available when y

Strona 201 - 2011-05-16201

3.Select Customer and click the > arrow to add it to the Selected Tables list, and then click OK.The Design tab of the Report Designer appears.4.Cl

Strona 202 - 10.5.2.2 Inserting a date

2.The Custom templates dialog box appears.The options on the Custom tab represent directory locations under \Program Files\SAPBusinessObjects\Crystal

Strona 203 - 2011-05-16203

On the Preview tab, you can find commands for zooming bar charts and line charts within your report.You have the ability to zoom in and out on these c

Strona 204 - 2011-05-16204

12.3.6 Formatting charts12.3.6.1 Changing the border of a chart1.On the Design or Preview tab, right-click the chart to bring up the shortcut menu.2.O

Strona 205 - 2011-05-16205

12.3.6.3 Changing the chart's legend text1.On the Preview tab, click the text in your chart's legend to select it.Tip:Be sure to select the

Strona 206 - 2011-05-16206

2011-05-16284Charting

Strona 207 - Formatting

Mapping13.1 Mapping concepts13.1.1 Mapping overviewWith Crystal Reports, you can include geographic maps in reports. Maps help you analyze report data

Strona 208 - 11.2.1 Applying a template

Note:In order to create a map using the Group layout, you must have at least one group and at least onesummary field for that group.Cross-TabUse the C

Strona 209 - 2011-05-16209

• Equal countThis option assigns intervals in such a way that the same number of regions (or as close to the samenumber of regions as possible) appear

Strona 210 - 2011-05-16210

representation of point data (e.g. Cities) than a Ranged map does, and it uses sized symbols ratherthan colors to distinguish variations in the values

Strona 211 - 2011-05-16211

13.1.5 Drill-down with mapsNot only is mapping a means of presenting data—it is also an analysis tool. Move your cursor over asection of the map on th

Strona 212 - 2011-05-16212

2.3.2.3.1 To insert a field1.Expand the Database Fields node in the Field Explorer dialog box and expand a table.2.Highlight a field name by clicking

Strona 213 - 2011-05-16213

To map on a group, you can use the Group layout, in which you show a summary (such as Last Year'sSales) on change of a geographic field (such as

Strona 214 - 2011-05-16214

With the Cross-Tab layout, you can map on a Cross-Tab summary field. For example, with a Cross-Tabthat shows the total number of items of a product so

Strona 215 - 2011-05-16215

14.Click OK.Your map is placed in the Header or Footer section of the report, depending on your selection inStep 3.13.2.3 Mapping on an OLAP cube (OLA

Strona 216 - 11.3.4 Multiple columns

11.In the Legend area, you can click one of the following options:• Full legend to show a detailed legend on your map.• Compact legend to show a conde

Strona 217 - 11.3.5.1 Hide (Drill-Down OK)

13.3.2 Changing the map title1.On the Preview tab, right-click the map to bring up the shortcut menu.2.On the shortcut menu, choose Title.3.In the Cha

Strona 218 - 11.3.6 Hiding report objects

In Crystal Reports, maps are made up of a number of layers. You can stack these layers on top of eachother to create a more detailed map. For example,

Strona 219 - 2011-05-16219

Use this dialog box to set the default display mode and zoom range (the minimum and maximumpossible magnification) for the layer in question, then cli

Strona 220 - 2011-05-16220

13.3.6.1 To change the geographic map1.On the Preview tab, right-click the map to bring up the shortcut menu.2.On the shortcut menu, click Resolve Mis

Strona 221 - 2011-05-16221

13.3.8 Panning a map1.On the Preview tab, right-click a map to bring up the shortcut menu.2.On the shortcut menu, click Pan.3.Drag the panning cursor

Strona 222 - 2011-05-16222

You have the option of hiding or showing the Map Navigator.13.3.10.1 To hide the Map Navigator1.On the Preview tab, right-click the map to bring up th

Strona 223 - 2011-05-16223

ContentsIntroduction to SAP Crystal Reports 2011...21Chapter 1 About Crystal

Strona 224 - 2011-05-16224

2.3.2.4 Understanding fieldsBefore going any further, take a look at the field you just placed in the Details section:• First of all, the object frame

Strona 225 - 11.3.10.2 Selecting the grid

13.3.11 Formatting Maps13.3.11.1 Changing the border of a map1.On the Design or Preview tab, right-click the map to bring up the shortcut menu.2.On th

Strona 226 - 11.3.10.4 Viewing guidelines

OLE14.1 OLE overviewObject Linking and Embedding (OLE) enables you to insert objects (OLE objects) into a report fromother applications (OLE server ap

Strona 227 - 2011-05-16227

• OLE Container ApplicationAn OLE container application is one that can contain and process OLE objects created in otherapplications (such as Paint or

Strona 228 - 2011-05-16228

• When you double-click an embedded OLE object, the object is activated for editing and the ReportDesigner merges its menus and toolbars with those of

Strona 229 - 2011-05-16229

8.Double-click the spreadsheet object.The menus and toolbars change to a combination of those from the OLE server application andCrystal Reports. You

Strona 230 - 11.3.10.9 Indenting lines

14.4.2 Dynamic OLE menu commandsWhen you have an OLE object selected, there is a submenu on the Edit menu that provides commandsfor the object. The na

Strona 231 - 2011-05-16231

Static objects cannot be edited. To edit a static object, it has to be converted into an editable type ofobject using the Convert command on the Edit

Strona 232 - 2011-05-16232

14.5.2 Making a static OLE object dynamicA dynamic static OLE object is a picture or metafile that you access in Crystal Reports by use of a filepath

Strona 233 - 11.3.13 Vertical placement

6.Click Refresh to update the reference link to your static OLE object.14.5.3 Converting a static OLE object to a bitmap image object1.Right-click the

Strona 234 - 2011-05-16234

14.6.1.1 To insert an embedded OLE object1.Click the Design tab.2.On the Insert menu, click OLE Object.The Insert Object dialog box appears.3.Select C

Strona 235 - 2011-05-16235

As the cursor is moved over the report, an object frame appears along with the Arrow cursor.3.Place the fields to the right of the Customer Name field

Strona 236 - 11.3.18 TrueType fonts

When you have a linked object and you break the link using the Links dialog box, all connections to theoriginal data in the server document are broken

Strona 237 - 11.3.19 Printer drivers

When you embed the object, you can bind it to the report, but you may be able to bind to only a singlevariable. You can bind to multiple values in a c

Strona 238 - 11.4 Formatting properties

1.Select the page with the SWF object that you want to print.2.Adjust the SWF to your desired settings.3.From the "File" menu, select Print.

Strona 239 - 2011-05-16239

14.7.3 Using data binding to bind an Xcelsius SWF object to a reportData can be sent from a report to an SWF, but not from an SWF to a report. The par

Strona 240 - 2011-05-16240

14.7.3.3 To bind data to a single value1.Right-click the SWF object and select Flash Data Expert.The Flash Data Binding Expert appears.2.For each vari

Strona 241 - 2011-05-16241

Cross-Tab Objects15.1 What is a Cross-Tab object?A Cross-Tab object is a grid that returns values based on the criteria you specify. Data is presented

Strona 242 - 2011-05-16242

• At the end of each row is a total for that row. In the example above, this total represents a singleproduct sold in all countries. At the end of the

Strona 243 - 2011-05-16243

This report presents details. Each row represents an individual order. There are many orders from eachof the regions for different locks. But because

Strona 244 - 2011-05-16244

Each region group contains orders for different kinds of locks.15.2.3 Report of order data - grouped by productThis report groups the data by product.

Strona 245 - 2011-05-16245

Each product group contains orders for many regions.15.2.4 Report of order data - grouped by region and productThis report is the logical next step. I

Strona 246 - 2011-05-16246

Note:The first time you preview a report, you must click Print Preview on the Standard toolbar to activatethe Preview tab. The Preview tab appears to

Strona 247 - 2011-05-16247

Each group contains orders for one product for one region. But the data is all spread out and remainsdifficult to analyze. This information is useful,

Strona 248 - 2011-05-16248

In this Cross-Tab:• Product names make up the row headings.• Regions make up the column headings.• The value at each row/column intersection is the su

Strona 249 - 2011-05-16249

• You can use Running Total fields as your summarized field.• You can include a group sort (top or bottom N) on the rows in your Cross-Tab.Note:Group

Strona 250 - 2011-05-16250

Once you have clicked to release the field, it appears to the right of the column that you selected.7.In the Field Explorer, select Country and drag i

Strona 251 - 2011-05-16251

Tip:Use the Ctrl-click combination to pick a non-continuous range of fields and the Shift-click combinationto pick a continuous list of fields.This ex

Strona 252 - 2011-05-16252

15.3.6 Selecting recordsUse this screen to apply selection conditions. This limits the results that are returned in your report toonly those records t

Strona 253 - 2011-05-16253

4.Select the summary operation you want to perform on Order Amount from the list beneath theSummary Fields area.5.Click Next.The Chart screen appears.

Strona 254 - 2011-05-16254

Tip:Another way to do this is to click the Insert Cross-Tab button on the Insert Tools toolbar.An object frame appears with the Arrow cursor as you dr

Strona 255 - 2011-05-16255

• Click OK to close the Define Named Group dialog box.• Click OK to close the Cross-Tab Group Options dialog box.15.3.9.3 Choosing a predefined style1

Strona 256 - 2011-05-16256

15.4 Working with Cross-TabsThis section describes ways you can work with a Cross-Tab once you've added it to your report.15.4.1 Showing values a

Strona 257 - 2011-05-16257

Instead of adding the Contact First Name and Contact Last Name fields as separate objects, you caninsert both fields in a text object. This allows you

Strona 258 - 2011-05-16258

2.Right-click the summarized field you want to abbreviate and choose Format Field from the shortcutmenu.The Format Editor appears.3.On the Common tab,

Strona 259 - 2011-05-16259

For more information about how to do this, see Working with conditional formatting.4.Click Check to identify any errors in the formula.5.Fix any synta

Strona 260 - 2011-05-16260

15.4.4.2 To total across rows1.Repeat steps 1 to 3 of the previous procedure.2.Click Record Sort Expert and sort your Cross-Tab by the field you desig

Strona 261 - 2011-05-16261

15.5 Formatting Cross-TabsCrystal Reports has powerful formatting capabilities that can be applied to Cross-Tabs. The followingsections describe some

Strona 262 - 2011-05-16262

15.5.3 Formatting fields individually1.Right-click the field you want to format and choose Format Field from the shortcut menu.The Format Editor appea

Strona 263 - 11.7 Using the Format Painter

1.Right-click the blank top-left area of the Cross-Tab and select Cross-Tab Expert from the shortcutmenu.The Cross-Tab Expert appears.2.Click the Cust

Strona 264 - 2011-05-16264

15.5.6 Displaying summarized fields horizontallyIf you have two or more summarized fields in your Cross-Tab, you can display their values horizontally

Strona 265 - 11.8.1 Adding a barcode

Related Topics• Calculation Formulas• Header Formulas• Insertion Formulas• Value Formulas15.6.1.1 To add a Calculated Member to your Cross-Tab1.In you

Strona 266 - 11.8.1.1 To add a barcode

1.Right-click the top-left corner of your Cross-Tab.2.On the shortcut menu, point to Advanced Calculations, and click Calculated Member.The Cross-Tab

Strona 267 - 11.8.3 Removing a barcode

15.6.1.5.1 To edit a Header Formula1.Right-click the header of the Calculated Member you would like to edit.2.On the shortcut menu, point to Calculate

Strona 268 - 2011-05-16268

2.3.2.11 Adding summary informationThe next step is to add summary information to your report. Adding summary information allows youto specify the aut

Strona 269 - Charting

Insertion formulas determine where a Calculated Member appears in a Cross-Tab. In most cases,a Calculated Member appears only once. However, you can s

Strona 270 - 12.1.2 Chart layouts

15.6.2.2 To change the processing order of Embedded SummariesIf you have multiple Embedded Summaries in your Cross-Tab, the order in which they are ca

Strona 271 - 12.1.3 Chart types

2011-05-16342Cross-Tab Objects

Strona 272 - 2011-05-16272

Building Queries16.1 Connecting to a universeYou access the Business Objects Query Panel in Crystal Reports through the Database Expert. Onceyou have

Strona 273 - 12.1.5 Drill-down with charts

16.2 Defining the data selection for a queryYou build queries in the Query Panel by using objects in a Business Objects universe. The objects inthe un

Strona 274 - 12.2 Creating charts

Add filters to the Query Filters pane to restrict the data your query returns based on the object thatyou selected. Filtering limits the data that a u

Strona 275 - 2011-05-16275

Note:• Object properties are defined in the BusinessObjects Designer, but are not taken into account bythe Query Panel in Crystal Reports.• Objects ca

Strona 276 - 2011-05-16276

You can return to the Query Panel to change an existing query, provided you have been granted thecustom right, Create / Edit Query. You can add or rem

Strona 277 - 2011-05-16277

16.4.2 To view the SQL after you have created a query• In Crystal Reports, open a report created with a universe as a data source, go to the Databasem

Strona 278 - 12.3 Working with charts

1.Double-click the objects you want to use in your report, or drag them to the Results Objects pane.For step-by-step instructions on selecting objects

Strona 279 - 2011-05-16279

2.Enter information about your report in the text boxes provided. Be sure to enter the title "CustomerList" in the Title text box. This info

Strona 280 - 2011-05-16280

16.5.2.1 To create a prompt1.Select the object you want to apply a prompt on and drag it to the Query Filters pane.For example, if you want to allow u

Strona 281 - 12.3.5 Auto-arranging charts

For step-by-step information on how to create filters and prompts, see Creating query filters orBuilding prompts.By default, the Query Panel combines

Strona 282 - 12.3.6 Formatting charts

The following table will help you select the operator you need to define a query filter.Filter createdSelectExampleValues to retrieve<Country> E

Strona 283 - 2011-05-16283

Filter createdSelectExampleValues to retrieve<Country> Not in list'US; Japan; UK'Not in listDon't retrieve data forthe following

Strona 284 - 2011-05-16284

16.5.6 Editing and removing query filtersYou can edit and remove filters on queries.16.5.6.1 To edit a query filter1.Double-click the filter you want

Strona 285 - 13.1.2 Map layouts

16.6.1 What is a subquery?A subquery is a more flexible kind of query filter that allows you to restrict values in more sophisticatedways than with an

Strona 286 - 13.1.3 Map types

Note:For more information on query filter operators and values, see Query filters and prompts.5.Click Add a subquery to add an additional subquery to

Strona 287 - 2011-05-16287

DescriptionParameterThe operator that specifies the relationship be-tween the Filter object and the Filter By object.Because of database restrictions

Strona 288 - 13.1.4 Where to place a map

A database ranking allows you to specify a ranking at the query and database level so that the datareturned to Crystal Reports by the query is already

Strona 289 - 13.2 Creating maps

Note:You can specify a prompt instead of a constant by clicking the arrow next to the number. When youselect a prompt, the user must enter the ranking

Strona 290 - 13.2.1.1 To map on a group

3.With the report title object still selected, click Align Center on the Formatting toolbar. The titleis centered within the object.4.Right-click the

Strona 291 - 2011-05-16291

DescriptionParameterThe object that specifies additional calculationcontext for the ranking. For example, if the rankingobject is Region, the measure

Strona 292 - 2011-05-16292

Creating and Updating OLAP Reports17.1 OLAP reporting with Crystal ReportsAlthough relational databases such as SQL servers and PC databases are the m

Strona 293 - 13.3 Working with maps

OLAP grid objects provide true multi-dimensional reporting. Add dimensions to either axis to analyzethree, four, or more dimensions in a single OLAP g

Strona 294 - 13.3.4 Changing map layers

The OLAP Connection Browser appears.2.Browse your OLAP server for the cube you want to connect to.If your server isn't in the list, click Add. In

Strona 295 - 13.3.4.1 To change map layers

4.Click the Up and Down arrow buttons associated with the Rows and Columns areas to arrange theorder of the dimensions.Note:If you accidentally add a

Strona 296 - 2011-05-16296

Note:• Once you have created a parameter, access to the Member Selector dialog box is disabled forthe dimension until you delete the parameter.• If yo

Strona 297 - 2011-05-16297

17.2.4.2 To add a page1.Use the > arrow to add dimension(s) to the Page list.The Member Selector dialog box appears.2.Expand the dimension's s

Strona 298 - 13.3.9 Centering a map

Note:The color of the style you select may not appear correctly if your screen resolution is set to 256colors. Increase the resolution to correct this

Strona 299 - 2011-05-16299

Note:Be sure that the chart type selected in Step 1 supports a secondary charting field.5.Click Other Dimensions to define field values for any dimens

Strona 300 - 13.3.12 To underlay a map

4.Click Select.The OLAP Connection Browser appears.5.Browse your OLAP server for the cube you want to connect to.If your server isn't in the list

Strona 301 - 14.1.1 OLE terminology

2.3.2.15 Saving the report1.Click Save on the Standard toolbar to save your work.Since this is the first time you are saving the report, the Save As d

Strona 302 - 14.1.2 Types of OLE objects

To access the Highlighting Expert, right-click the field you want to format and, on the shortcut menu,click Highlighting Expert. For more details, see

Strona 303 - 2011-05-16303

2.In the Group Options area, select the color from the Background Color list.3.Click OK if you have finished customizing your grid.17.4.2 Creating an

Strona 304 - 14.4.1 In-place editing

1.On the Customize Style tab of the OLAP Expert, click Format Grid Lines.The Format Grid Lines dialog box appears.2.From the list, choose the descript

Strona 305 - 2011-05-16305

The dimension expands to show its members, or collapses to hide them.Tip:You can also double-click parent dimensions to drill down into the hierarchic

Strona 306 - 2011-05-16306

• Unique NameFor information about names and captions, search the online help for "Changing member captions."17.5.5 To alter the data displa

Strona 307 - 2011-05-16307

shortcut menu. You can sort data in ascending or descending order, and you can specify whether ornot you want to break grid hierarchies.In the followi

Strona 308 - 14.6.1 Embedded objects

17.6.1.1 To sort data in the OLAP grid1.Right-click the row or column member that you want to sort by.2.On the shortcut menu, point to Add First Sort.

Strona 309 - 14.6.2 Linked objects

Tip:• To locate a filtered row or column, move the mouse pointer over the OLAP grid. When you reach afiltered row or column, the pointer turns into an

Strona 310 - 2011-05-16310

2011-05-16378Creating and Updating OLAP Reports

Strona 311 - 2011-05-16311

Printing, Exporting, and Viewing Reports18.1 Distributing reportsCrystal Reports enables you to distribute your report using a variety of methods.18.1

Strona 312 - 2011-05-16312

For example, it may be useful to have a customer list that only lists customers from the USA. Thesample data contains records from the United States a

Strona 313 - 2011-05-16313

18.1.2.1 To fax a report1.On the File menu, click Print.The Print dialog box appears.2.In the Print dialog box, click Find Printer.The Find Printers d

Strona 314 - 2011-05-16314

Page-based formats tend to produce a more exact output. The emphasis of these formats is layoutrepresentation and formatting. Formatting refers to att

Strona 315 - Cross-Tab Objects

kinds of summaries in Crystal Reports as Excel functions. The summaries that are supported are SUM,AVERAGE, COUNT, MIN, and MAX.To get the best output

Strona 316 - 15.2 Cross-Tab example

Therefore, the fonts used in the report must contain all of the required glyphs. These URI types aresupported for hyperlinks: "http:", "

Strona 317 - 2011-05-16317

This format also provides an option for pagination. If you select this option, a page break is inserted inthe output after every specified number of l

Strona 318 - 2011-05-16318

Supported SAP BusinessObjects BI Platform FeaturesThe following SAP BusinessObjects BI platform features are supported with an RPTR formatted report:•

Strona 319 - 2011-05-16319

To export to HTML1.With the report you want exported active, go to the File menu, point to Export, and then click ExportReport.Tip:Another way to do t

Strona 320 - 2011-05-16320

Exporting to an ODBC data source allows you to:• Change data from a centralized database format into a format compatible with a local DBMSapplication.

Strona 321 - 2011-05-16321

The destination determines the export location of your report. Crystal Report enables you to chooseone of six destinations. They include:• Application

Strona 322 - 2011-05-16322

• Selecting "Whole Report" does not necessarily emulate the layout of your Crystal report. Rather,the Excel cell width is based on objects f

Strona 323 - 2011-05-16323

Imagine that you are completing the following sentence:Select all records where a customer's country isYou complete the sentence with the conditi

Strona 324 - 15.3.5 Adding a chart

The program exports the report and saves it in the designated directory.18.1.3.2.3 Exporting to a Microsoft Exchange folderCrystal Reports enables you

Strona 325 - 15.3.6 Selecting records

18.1.3.2.4 Exporting to MAPI (Microsoft Mail)Note:This option works only if you have a mail client installed (Microsoft Outlook, Microsoft Mail, or Ex

Strona 326 - 2011-05-16326

18.1.4.1 To open your report1.On the File menu, click Open.The Open dialog box appears.2.Click Web Folders.3.Open the folder that contains the report.

Strona 327 - 2011-05-16327

to its original location, or it lets you save a new report to an Enterprise folder, which, in essence, is thesame as publishing the report to SAP Busi

Strona 328 - 2011-05-16328

Windows NT authentication requires a user name and password that is recognized by Windows NT.6.Click OK.The Enterprise folders appear and you can sele

Strona 329 - 15.4 Working with Cross-Tabs

7.Click Save to publish your report to SAP BusinessObjects Enterprise.18.2 Viewing reportsYou can view Crystal reports using a number of report viewer

Strona 330 - 2011-05-16330

18.2.1.2 Navigating Report Parts and report objectsThe navigation functionality in Crystal Reports lets you move to other report object(s) in the same

Strona 331 - 2011-05-16331

When you select the Another Report Object option, the "Hyperlink information" area contains theseoptions:• Paste the Report Part linkUse the

Strona 332 - 15.4.5.1 To repeat row labels

• Data ContextThe program normally completes the Data Context field when you paste information for the destinationobject(s). You can also customize th

Strona 333 - 15.5 Formatting Cross-Tabs

3.On the File menu, click Report Options.4.In the Initial Report Part Settings area of the Report Options dialog box, click Paste Link.The program pas

Strona 334 - 2011-05-16334

Determining printing area characteristics...553.2.5Developing a prototype

Strona 335 - 2011-05-16335

Now that the report contains only records from the USA, displaying the Country field in the body of thereport is not necessary. You can delete this fi

Strona 336 - 15.6.1 Calculated Members

The Available Fields area shows only the sections and report objects you can select for drill down.In general, these objects include field objects, ch

Strona 337 - 2011-05-16337

6.If you want to add another object to the Fields to Display area, select it in the Available Fields listand drag it into position.Note:• The position

Strona 338 - 15.6.1.5 Header Formulas

The following procedure shows you how to do all of these steps.18.2.1.4.1 To create an Another Report Object hyperlinkNote:Before you begin this proce

Strona 339 - 15.6.1.7 Insertion Formulas

The Paste Link button includes a list of options that you can use when pasting a link to the destinationobject. Depending on the type of link you are

Strona 340 - 15.6.2 Embedded Summaries

Note:If you choose the Design View Report Part option (or if you choose the Context Report Part optionfor an object copied from a report's Design

Strona 341 - 2011-05-16341

Otherwise, the program uses the source report's Design view data context as the Context Report Partdata context in the target report.Scenario 2If

Strona 342 - 2011-05-16342

Note:You can also use a wildcard to identify all instances:/USA/*• For cross-tab objects, you can use navigation on cells, columns, or rows. To define

Strona 343 - Building Queries

Differences between how the viewers display hyperlinksReport Part ViewerPage viewersAnother Report Object:• Navigates to destination objects and shows

Strona 344 - 2011-05-16344

The "Open" dialog box appears.6.Click My Connections to add a new connection to the Enterprise.If you already have a connection, click Enter

Strona 345 - 2011-05-16345

Note:• The reports that you want to use with smart tags must exist on the web server named in the Optionsdialog box in a directory that mirrors their

Strona 346 - 2011-05-16346

The spacing between the fields is much better, but it looks as if the report title is off-center.4.Click the report title object to select it.5.Positi

Strona 347 - Crystal Reports Online Help

2011-05-16410Printing, Exporting, and Viewing Reports

Strona 348 - 16.5.1 Creating query filters

Report Alerts19.1 About Report AlertsReport Alerts are custom messages created in Crystal Reports that appear when certain conditionsare met by data i

Strona 349 - 16.5.2 Building prompts

19.2.1.1 To create a Report Alert1.On the Report menu, point to Alerts and then click Create or Modify Alerts.The Create Alerts dialog box appears.2.C

Strona 350 - 16.5.2.1 To create a prompt

Alert formulas can be based on recurring records or on summary fields, but cannot be based onprint-time fields, such as running totals or print time f

Strona 351 - 2011-05-16351

2.In the Create Alerts dialog box, select the alert you want to edit and click Edit.Tip:Double-clicking an alert also lets you edit it.3.Make the chan

Strona 352 - 2011-05-16352

2.Select the alert whose records you want to see.3.Click View Records.A new report tab is opened showing the report record(s) that triggered the alert

Strona 353 - 2011-05-16353

2011-05-16416Report Alerts

Strona 354 - 2011-05-16354

Using Formulas20.1 Formulas overviewIn many cases, the data needed for a report already exists in database table fields. For example, toprepare an ord

Strona 355 - 16.6.2.1 To build a subquery

Pulling out a portion, or portions, of a text stringTo extract the first letter of the customer name:Crystal syntax example:{Customer.Customer Name} [

Strona 356 - 16.6.2.2 Subquery parameters

NumbersExample: 1, 2, 3.1416TextExample: "Quantity", ":", "your text"OperatorsExample: + (add), / (divide), -x (negate)O

Strona 357 - 2011-05-16357

2.Select Region from the Customer table in the first drop-down list.The program takes all records with the same value in the region field and places t

Strona 358 - 2011-05-16358

20.2.2.1 Crystal and Basic syntaxWhen creating formulas, you have the option of using either Crystal or Basic syntax. Almost any formulawritten with o

Strona 359 - 16.6.4.2 Ranking parameters

Note:Java UFLs are not supported in the Report Application Server (RAS) and the Crystal Page Server, soif a report has a formula in it, and that formu

Strona 360 - 2011-05-16360

Note:If you already know Basic syntax, you need to know only a small amount of Crystal syntax to modifymost selection and search formulas.Running Tota

Strona 361 - 17.1.1 OLAP grid objects

The appropriate editor or dialog box appears.20.4.1.2 Workshop TreeThe Workshop Tree contains folders for each type of formula you can create in Cryst

Strona 362 - 17.2 Creating an OLAP report

Shows or hides the Workshop Tree.Toggles display between Custom Function Editorand Custom Function Properties dialog box.Custom functions and formulas

Strona 363 - 2011-05-16363

The buttons for the Expressions Editor Toolbar of the Formula Workshop perform the following functions:Tests the syntax of the formula or custom funct

Strona 364 - 2011-05-16364

Hides or views the Functions tree.Hides or views the Operators tree.Hides or views the result set of a global formulasearch.Allows you to select Cryst

Strona 365 - 17.2.4.1 To specify a slice

Description of contentsWindowFunctions are prebuilt procedures that return val-ues. They perform calculations such as average,sum, count, sin, trim, a

Strona 366 - 17.2.4.3 To add a parameter

The Report Fields, Functions, and Operators tree at the top of the Formula Editor contain the primaryformula components. Double-click any component fr

Strona 367 - 17.2.6 Inserting a chart

Action PerformedKeyboard CombinationComments out or removes comments from currentlineAlt+MSorts contents of trees.Alt+OOpens or closes the Shows Opera

Strona 368 - 17.3 Updating an OLAP report

6.If the group tree is not visible, select Toggle Group Tree on the Standard toolbar to see thegroups included in the report.You can view the group of

Strona 369 - 2011-05-16369

Action PerformedKeyboard CombinationChanges focus to next control box (reverse orderof Ctrl-Tab).Ctrl+Shift+TabChanges focus to next control box.Ctrl+

Strona 370 - 2011-05-16370

1.On the View menu, click Field Explorer.2.In the Field Explorer dialog box, select Formula Fields and click New.3.In the Formula Name dialog box, ent

Strona 371 - 17.4.3 Formatting grid lines

1.On the Report menu, click Formula Workshop.Tip:Another way to do this is to click the Formula Workshop button on the Expert Tools toolbar.2.Select F

Strona 372 - 17.4.4 Labeling dimensions

You can now use this formula in your report just as you would use a formula you created in the FormulaEditor.20.5.3 Editing formulas1.On the View menu

Strona 373 - 2011-05-16373

20.5.5 Copying formulas20.5.5.1 To copy an existing formulaCrystal Reports lets you copy an existing formula and then modify it to create a new formul

Strona 374 - 2011-05-16374

The Field Explorer dialog box appears.7.Select Formula Fields and click the New button.The Formula Name dialog box appears.8.Enter the name you want t

Strona 375 - 2011-05-16375

• If the formula contains conditional elements, make certain that the conditions apply to the data inthe new report. For example, if the formula in yo

Strona 376 - 17.6.2.1 To add a filter

1.Choose View from the main menu and select Field Explorer.The Field Explorer dialog box appears.2.Right-click the formula you want to delete and choo

Strona 377 - 2011-05-16377

Insert this formula into the details section of the report and preview it. You'll get a division by zero errorand the formula editor will be invo

Strona 378 - 2011-05-16378

2.Create a new formula called Formula1.3.Type the following in the Formula text box of the Formula Editor:If {customer.CUSTOMER NAME} [1 to 2 = "

Strona 379 - 18.1.2 Faxing a report

The Available Fields list box displays all fields currently on your report and all the fields in the datasource. You can choose to sort based on any o

Strona 380 - 18.1.3.1 Export format types

You should see "TRUE" next to all customer numbers that begin with 6 and "FALSE" next to all customernumbers that do not begin wit

Strona 381 - 2011-05-16381

7.Click Print Preview on the Standard toolbar to see the values in the report and compare thefields to check if the field values returned by @Formula4

Strona 382 - 2011-05-16382

20.8 Error Messages and Formula Compiler WarningsA ) is missing.Parentheses must be used in pairs; each opening parenthesis must be matched with a clo

Strona 383 - 2011-05-16383

A subscript must be between 1 and the length of the string.You have entered a subscript number that specifies a character that does not exist. If you

Strona 384 - 2011-05-16384

Cannot allocate memory.This message typically indicates that there is not enough memory available. Close any reports that arenot needed, and exit any

Strona 385 - 18.1.3.1.2 Exporting to HTML

File not found.The file name you specified cannot be found. Either the filename or the path is incorrect. Enter thecorrect filename/path and try again

Strona 386 - To export to HTML

You cannot begin to utilize the program unless you have a default printer selected. Trying to start theprogram without a default printer results in th

Strona 387 - 18.1.3.2 Destination

Report file already exists. Overwrite sample.rpt?You are attempting to save a report under the same name as an existing report. This will overwrite th

Strona 388 - To export to an application

The number of copies of the string is too large or not an integer.Using the ReplicateString function, you have requested too many copies or you are re

Strona 389 - To export to a disk file

The string is non-numeric.The argument to the ToNumber function must be a number stored as a string (for example, a customernumber, an ID number, and

Strona 390 - 2011-05-16390

2.3.5 Completing the reportYou have just one step left to complete the report. A company logo needs to be added to the first pageof the report.2.3.5.1

Strona 391 - 2011-05-16391

This array must be subscripted. For example: Array [i].You have entered an array without enclosing it in brackets. Enclose the array in brackets and r

Strona 392 - 18.1.4.2 To save your report

This function cannot be used within a custom function.You have tried to use a function or formula that will not work in a custom function, that is it

Strona 393 - 2011-05-16393

• A date is required here.• A date range is required here.• A number array is required here.• A number array or currency array is required here.• A nu

Strona 394 - 2011-05-16394

Parameter Fields and Prompts21.1 Parameter and prompt overviewParameters are Crystal Reports fields that you can use in a Crystal Reports formula. As

Strona 395 - 18.2 Viewing reports

• Currency: Requires a dollar amount.Example: Display customers with sales over XXXXX.• Date: Requires an answer in a date format.Example: Enter the s

Strona 396 - 2011-05-16396

• Creating a parameter with a static prompt.• Creating a parameter with a dynamic prompt.• Creating a parameter with a cascading list of values.• Dyna

Strona 397 - 2011-05-16397

21.1.4 Optional parametersCrystal Reports supports optional parameters. An optional parameter is a prompted value that doesnot have to be supplied by

Strona 398 - 2011-05-16398

Note:In the table, and elsewhere in this section, the term managed report is used to describe reports thatare stored in a SAP BusinessObjects Enterpri

Strona 399 - 2011-05-16399

Available when Crystal re-ports are published to SAPBusinessObjects Enterprise?Available when Crystal re-ports are stored outside ofSAP BusinessObject

Strona 400 - 2011-05-16400

Note:While the dynamic capability is not available with SAP BusinessObjects BI Interactive Analysis or withfull-client products, Crystal reports that

Strona 401 - 2011-05-16401

5.Save the report by clicking Save on the Standard toolbar.You have just completed your first report.2.4 Quick start for advanced usersIf you are an e

Strona 402 - 2011-05-16402

• Unmanaged lists of values are stored within each report file.If you do not have SAP BusinessObjects Enterprise, or if you never publish your reports

Strona 403 - 2011-05-16403

Managed list of val-uesUnmanaged list of valuesFeatureBusiness ViewsCommand objectsReport fieldsYesBecause managedlists of values arebased on Business

Strona 404 - 2011-05-16404

Managed list of val-uesUnmanaged list of valuesDescriptionBusiness ViewsCommand objectsReport fieldsWell suited.You can define filteringwithin the sou

Strona 405 - 18.2.1.6 Data context formats

Lists of values are the data part of a prompt; the values from your data that your users will see andselect from.Prompt groups, on the other hand, are

Strona 406 - 2011-05-16406

This example uses String.Note:When creating a parameter whose Type is either Date or DateTime, you can change the date formatto suit your needs. For d

Strona 407 - 2011-05-16407

Note:If you don't want to see the parameter field you dropped in your report, place it in a section you cansuppress, such as a report header or f

Strona 408 - 18.3 Using smart tags

5.Click OK.The report appears with the information for Brazil.With parameter fields, you can create a single report that can be customized quickly to

Strona 409 - 2011-05-16409

dynamic prompts. When Crystal Reports is used with Crystal Reports Server or SAP BusinessObjectsEnterprise, additional features are available. For mor

Strona 410 - 2011-05-16410

9.Click OK.10.Return to the Field Explorer dialog box, and drag the Region parameter into your report.Note:If you don't want to see the parameter

Strona 411 - Report Alerts

and region that city comes from, you could create a dynamic and cascading prompt. In this case, youfirst prompt for a country, and when that value has

Strona 412 - 2011-05-16412

5.After you have added all the tables you want to work with, click OK on the Database Expert.Note:If you select more than one table in the Database Ex

Strona 413 - 19.2.2 Editing Report Alerts

The program automatically expands the Value list. You use this area to define the fields that makeup your cascading list of values. This example uses

Strona 414 - 19.2.4 Viewing Report Alerts

21.7 The Parameter PanelThe Parameter Panel lets users interactively format and filter report data by changing parameter values.It is located within t

Strona 415 - 2011-05-16415

You can add lists of values to SAP BusinessObjects Enterprise or Crystal Reports Server in severalways:• You can create a list of values when you desi

Strona 416 - 2011-05-16416

7.Click the blank field under Country and select Region, and then click the blank field under Regionand select City.8.In the Parameter Binding area, e

Strona 417 - Using Formulas

2.In the Field Explorer, select Parameter Fields and click New.The Create New Parameter dialog box appears.3.Enter a name for the parameter in the Nam

Strona 418 - 20.2.1 Formula components

Null values in the data returned by the list of values are displayed as "null" in the drop-down list for thatprompt. Your users can select t

Strona 419 - 20.2.2 Formula syntax

21.9 Best practices for prompting21.9.1 Unmanaged reportsUnmanaged reports are reports that you store outside of SAP BusinessObjects Enterprise. These

Strona 420 - 20.2.2.2 For more information

• Build a separate Business View to provide lists of values for all of your reports. The only fields thatyou need in this Business View are those that

Strona 421 - 20.4 Specifying formulas

21.9.4 Deploying managed reports with dynamic promptsRepository-based lists of values and prompt groups are repository objects like any other. When ma

Strona 422 - 2011-05-16422

Tip:Another way to do this is to click the Select Expert button on the Expert Tools toolbar.The Select Expert dialog box appears.2.Choose the tab whos

Strona 423 - 20.4.1.2 Workshop Tree

When you place multiple fields, they appear in the same order that they appear in the Field Explorerdialog box. The program marks the position of each

Strona 424 - 2011-05-16424

• If you did not specify a default value, the program will not refresh the data until you supply a newvalue.Note:If the parameter is a string value ty

Strona 425 - 2011-05-16425

Note:The drop-down arrow to access the calendar for dates and the up and down arrows to scroll fortimes will only be available if you have the correct

Strona 426 - 2011-05-16426

8.Click OK.21.12.2 Applying conditional formatting using parameter fieldsParameter fields can be used to create conditional formatting formulas. You c

Strona 427 - 20.4.2.2 Choosing the syntax

21.12.3 Creating a report title using parameter fieldsCrystal Reports allows you to use parameter fields to create a report title that can be changed

Strona 428 - 2011-05-16428

21.12.4.1 To specify single or range values1.Select the Allow discrete values option or the Allow range values option to specify whether theparameter

Strona 429 - 2011-05-16429

6.Create a formula using the parameter field as you would any constant value. For example, ratherthan creating a formula that hard-codes the country n

Strona 430 - 2011-05-16430

This formula prompts for a value for the parameter field {?SortField}. If you enter "C", the formulawill sort by the City field. If you ente

Strona 431 - 2011-05-16431

• "&" (allows any character or space, and requires the entry of a character in the parameter value).• "C" (allows any characte

Strona 432 - 2011-05-16432

• To prevent report refreshing to the database, only non-data parameters should be added to theParameter Panel.• Exported reports retain all recently

Strona 433 - 20.5.3 Editing formulas

7.Select Editable from the Show on (Viewer) Panel list.This example will enable the user to edit the parameter value on the Parameter Panel. If you wa

Strona 434 - 20.5.5 Copying formulas

To change the placement of the field(s), use the mouse to drag the field placement frame to itsnew position.•• To change the width of the field, use t

Strona 435 - 2011-05-16435

21.12.11.1 To add dynamic grouping using parameter fields1.Create a report using the sample data, Xtreme.mdb, and place the following fields from left

Strona 436 - 20.6 Deleting formulas

Subreports22.1 What are subreports?A subreport is a report within a report. The process for creating a subreport is similar to the process ofcreating

Strona 437 - 20.7 Debugging formulas

22.1.1.1 UnlinkedUnlinked subreports are free-standing; their data is not in any way coordinated with the data of theprimary report.In unlinked subrep

Strona 438 - 20.7.2.2 Formula1

22.1.2 How subreport linking worksWhen you link a subreport to a primary report, the program creates the link by using a parameter field.When a subrep

Strona 439 - 20.7.2.3 Formula2

22.2 Inserting subreports1.On the Insert menu, click Subreport.Tip:Another way to do this is to click the Insert Subreport button on the Insert Tools

Strona 440 - 20.7.2.5 Formula4

6.Click the Preview tab to see your report.7.If you chose On-demand subreport (similar to a hyperlink), click the subreport preview tab to seeyour sub

Strona 441 - 20.7.2.7 FinalFormula

22.2.2 Saving a subreport as a primary reportYou may find it advantageous to save a subreport as a primary report for the sake of distributing theinfo

Strona 442 - 2011-05-16442

22.2.3.1 To manually update the subreport dataYou can update your subreport data at any time.1.On the Design tab, right-click the subreport.2.Click Re

Strona 443 - 2011-05-16443

To do this, you need to specify a field that is common to both the subreport and the primary report. Withthe Subreport Links dialog box, you create a

Strona 444 - 2011-05-16444

22.4 Linking a subreport to the main report without modifying the selection formulaCrystal Reports uses a parameter field mechanism for linking subrep

Strona 445 - 2011-05-16445

To add a new subfolder or subcategory...995.4.1Adding items to the repo

Strona 446 - 2011-05-16446

Parameter fields can be used in reports (as title or label prompts), in selection formulas (as selectioncriteria prompts), and in formulas (for a vari

Strona 447 - 2011-05-16447

While both reports deal with sales data, there is no real linear relationship between the reports.Subreports can be used to combine unrelated reports

Strona 448 - 2011-05-16448

Tables can be linked in a report as long as the following criteria are met:• The link fields are both database fields.• The link fields contain simila

Strona 449 - 2011-05-16449

4.Link the subreport to the primary report by linking the Social Security Number field in the primaryreport ({file.SSN}) to the formula that extracts

Strona 450 - 2011-05-16450

22.7.1 To create an on-demand subreport1.Place an ordinary subreport in your primary report.2.Click the Format button on the Expert Tools toolbar.The

Strona 451 - 2011-05-16451

Basic syntax formula example:formula = "More Information About" + {Customer.Customer Name}Using the Xtreme.mdb sample database, these formul

Strona 452 - 2011-05-16452

Understanding Databases23.1 Databases overviewThough there are hundreds of Database Management Systems (DBMS) available, Crystal Reportseliminates man

Strona 453 - Parameter Fields and Prompts

Often, data in two different tables can be related by a common field. For example, a Customers tablewill have a Customer ID for each customer, and an

Strona 454 - 21.1.2 Prompt considerations

Creating indexes for database tables can increase the speed of data access and reduce the time ittakes for the program to evaluate data. Some DBMS app

Strona 455 - 2011-05-16455

request. If not, it goes to the second order number, and checks that customer name. When an ordernumber is reached that contains the correct customer

Strona 456 - 21.1.4 Optional parameters

the database engine does not need to continue searching through the index or the table as soon as itfinds an index entry that does not match the reque

Strona 457 - 2011-05-16457

Report Design Concepts3.1 Basic report designThe purpose of this section is to suggest a structured approach to preparing a Crystal report. Thisapproa

Strona 458 - 2011-05-16458

An SQL query is an SQL statement designed specifically to request data from one or more SQLdatabases. Some SQL applications require that you type in a

Strona 459 - 21.3.1 List-of-values types

the finished results are sent back to the client. This provides more efficient time management for usersbecause the local workstation has less process

Strona 460 - 2011-05-16460

the statement, performs the requested operation, and returns any data requested to the client software.If the server returns any data, the client soft

Strona 461 - 2011-05-16461

This SQL query is a representation of the SQL statement that Crystal Reports sends to the SQL server.By interpreting as much as possible from the repo

Strona 462 - 2011-05-16462

The FROM clause indicates the sources of the database fields specified in the SELECT clause. FROMlists actual database tables that include the fields

Strona 463 - 2011-05-16463

clause, the program sorts the records according to the values in the first field specified, then, withinthat sort, the program sorts the records by th

Strona 464 - 2011-05-16464

When you use a virtual table that was created as a Command, or when you use a Command from theSAP BusinessObjects Enterprise Repository, Crystal Repor

Strona 465 - 2011-05-16465

Note:The use of double or single quotes (and other SQL syntax) is determined by the database driverused by your report. You must, however, manually ad

Strona 466 - 2011-05-16466

Enter the text you want to appear when the program prompts you.• Value TypeSelect the data type of the parameter field.• Default ValueEnter the value

Strona 467 - 2011-05-16467

The Verify Database command on the Database menu checks the alias pointers stored in a report fileto verify that the database files expected are locat

Strona 468 - 2011-05-16468

in a haphazard manner, the report may slow the decision-making process or may even encourageincorrect decisions.A good starting place in the developme

Strona 469 - 2011-05-16469

This button is available only when like items are selected (that is, if you select a table in the upperlist, you must select a table in the lower list

Strona 470 - 2011-05-16470

the file name extension. For example, if you are using the dBASE database file Company.dbf, theprogram will assign a default alias name of Company to

Strona 471 - 21.7 The Parameter Panel

In a one-to-one relationship between records in two linked tables, for every record in the primary tablethere is only one matching record in the looku

Strona 472 - Administrator's Guide

In a worst case scenario the program would have to read about 67,600 records to accomplish thesame task.Note:The performance considerations for data f

Strona 473 - 2011-05-16473

PC DataTotalRecordsReadFor each Areads in BReads AIndex BIndex ASelectionFormulaLinking/Subreport2600100(26*100)26YesYes or NoNoLinking2600100(26*100)

Strona 474 - 21.8.4 Null handling

Total RecordsReadFor each Areads in BReads ASelection Formu-laLinking/Subreport2600100 (26*100)26NoSubreport200100 (2*100)2YesSubreport23.5.4 Data fil

Strona 475 - 21.8.5 Long lists of values

• The program passes this merged record (A+B) back to the Report Designer, which tests therecord against the entire selection formula.• The program th

Strona 476 - 21.9.2 Managed reports

• The number of records read for each subreport is determined by the index situation on Table B:• If you have an index on Table B, the program will re

Strona 477 - Business Views

• If there is no selection formula, or if the selection formula does not pass down range limits onTable A, the program runs a subreport for every reco

Strona 478 - 2011-05-16478

Note:If all of the conditions in an AND situation can be satisfied on the server or in the database DLL, theprogram passes them all down.• OR situatio

Strona 479 - 2011-05-16479

What identifying information is needed in the header and footer?You may wish to include the print date, information on who prepared the report, a bloc

Strona 480 - 2011-05-16480

23.5.7 The Database Expert Links tabThe Database Expert Links tab lets you easily link two or more tables. Choose the Database Expertfrom the Database

Strona 481 - 2011-05-16481

When using the Smart Linking feature to link tables using a field that is a component of multiple indexes(two or more), Crystal Reports selects one of

Strona 482 - 2011-05-16482

23.5.10 Linking optionsCrystal Reports enables you to specify the type of join and type of link you want to use when linkingtables. You can also enfor

Strona 483 - 2011-05-16483

Orders TableCustomer TableCustomer TableOrder AmountCustomer NameCustomer ID25141.50Allez Distribution5219164.30BG Mountain Inc.531683.60BG Mountain I

Strona 484 - 2011-05-16484

Orders TableCustomer TableCustomer TableOrder AmountCustomer NameCustomer ID25141.50Allez Distribution5219164.30BG Mountain Inc.531683.60BG Mountain I

Strona 485 - 2011-05-16485

23.5.10.3 Right Outer joinThe result set from a Right Outer join includes all the records in which the linked field value in bothtables is an exact ma

Strona 486 - 2011-05-16486

Note:Left Outer and Right Outer joins are handled differently in the SQL language from other join types. Ifthe database is accessed through ODBC, Crys

Strona 487 - 2011-05-16487

Orders TableOrders TableCustomer TableOrder AmountOrder IDCustomer ID12763.9532638233.501464656610320.872523.5.10.5 Not EnforcedWhen you select this o

Strona 488 - 2011-05-16488

23.5.10.7 Enforced ToWhen you select this option, if the from table for the link is used, the link is enforced. For example, ifyou create a link from

Strona 489 - 2011-05-16489

Orders TableCustomer TableCustomer TableOrder AmountCustomer NameCustomer ID19164.30BG Mountain Inc.531683.60BG Mountain Inc.5315716.40Hansen MTB Inc.

Strona 490 - 2011-05-16490

Does the data exist or does it need to be calculated?Some report information can be drawn directly from data fields (sales information, for example);

Strona 491 - Subreports

'Manager' ManagerWHERE SalesRep.'Salary' >Manager.'Salary'This SQL statement might produce data similar to this:Manag

Strona 492 - 22.1.1.2 Linked

The result set from a Greater Than Or Equal link includes all records in which the linked field value inthe primary table is greater than or equal to

Strona 493 - 2011-05-16493

23.5.10.12 Less Than [<] linkThe result set from a Less Than link includes all records in which the linked field value in the primarytable is less

Strona 494 - 22.2 Inserting subreports

23.5.10.13 Less Than Or Equal [<=] linkThe result set from a Less Than Or Equal link includes all records in which the linked field value in thepri

Strona 495 - 22.2.1 Previewing subreports

SalesRep TableSalesRep TableManager TableManager TableSalaryLast NameSalaryLast Name$48,300.00Dodsworth$45,000.00Hellstern23.5.10.14 Not Equal [!=] li

Strona 496 - 22.2.3 Updating subreports

Product2Product1Product NameProduct NameInFlux Lycra GloveXtreme Mtn LockRoadster Micro Mtn SaddleXtreme Mtn LockXtreme Adult HelmetInFlux Lycra Glove

Strona 497 - 2011-05-16497

the data retrieval and sorting work onto the server system, thus freeing up local memory and resourcesfor more important tasks. That is why server-sid

Strona 498 - 2011-05-16498

23.6.1 How server-side grouping affects the SQL queryWhen a report pushes most of its processing to the server, this by necessity alters the SQL query

Strona 499 - 2011-05-16499

Note:You can also enable or disable this option quickly by selecting or deselecting Perform Grouping onServer on the Database menu as needed. If Use I

Strona 500 - 2011-05-16500

On some occasions, you might want to unmap or unlink report and database fields that you have alreadymapped. For example, you might mistakenly map the

Strona 501 - 2011-05-16501

want to flag each item that has shown no activity during the last month, during the last three months,or during some other defined period. To flag inf

Strona 502 - 2011-05-16502

• The name of a field that is used in the report has changed.• The database or universe has been upsized from a PC data source to an SQL data source.F

Strona 503 - 22.8.1 To add a caption

23.7.3 Remapping altered database fieldsUse the Map Fields dialog box to remap existing report fields in the active database or universe if theyhave b

Strona 504 - 2011-05-16504

23.8 Saved Data IndexesYou can increase the performance of a Crystal report by indexing its saved data. When you create aSaved Data Index on a particu

Strona 505 - Understanding Databases

23.8.2 Considerations for using Saved Data IndexesThere are some things that you should consider before deciding to use Saved Data Indexes:• Indexes w

Strona 506 - 23.1.2 Indexed tables

1.Open your report in the Crystal Reports.2.On the Report menu, click Report Bursting Indexes.3.In the Saved Data Indexes dialog box, select the field

Strona 507 - 2011-05-16507

Integrating Business Applications with Crystal ReportsCrystal Reports is the program that you use to create and format Crystal reports, and SAPBusines

Strona 508 - 2011-05-16508

This section's focus is to provide a high level overview of the key new features and enhancements thatare specific to SAP BusinessObjects Enterpr

Strona 509 - 23.2.1 What is SQL?

Note:Crystal Reports includes several integrated tools that allow you to report off your data.Using the Log On Server command1.Start Crystal Reports.2

Strona 510 - 2011-05-16510

2.Click the Database tab.3.In the Data Explorer area, select the check boxes for the types of data that you want to make availablefor the report.4.Use

Strona 511 - 23.2.2 SQL DBMS

24.1.2 Add-OnsThe Add-Ons distribution contains the setup program and additional documentation for the componentsthat integrate with your SAP system.

Strona 512 - 23.2.2.1 Stored procedures

• Formulas placed in this area are evaluated once, at the beginning of the report.Page HeaderObjects placed in the Page Header area print at the begin

Strona 513 - 23.2.4.3 FROM

• The InfoSet driver provides Crystal Reports with another means of accessing SAP data sources:this driver can access R/3 InfoSets (previously known a

Strona 514 - 23.2.4.5 ORDER BY

Formatted reporting overviewWith the BW MDX Query driver, you can design formatted Crystal reports that are based on the datathat is stored in SAP Bus

Strona 515 - 23.2.4.6 GROUP BY

6.Click Query Properties.7.Click the Extended tab and ensure that Allow External Access to this Query is selected.This option allows other programs, l

Strona 516 - 2011-05-16516

The next" SAP logon" dialog box prompts you for user credentials4.Type your usual SAP user credentials in the Client, Username, and Password

Strona 517 - 2011-05-16517

To adjust the field name and description settings1.On the File menu, click Options.The "Options" dialog box appears, with the Layout tab act

Strona 518 - 23.3 Changing data sources

Selecting cubes for reportsIf you or someone else in your organization has defined one or more cubes for reporting purposeswithin BW, you can select t

Strona 519 - 2011-05-16519

"Crystal Reports" generates a blank report that uses your cube as its data source. You can now addobjects to the report.Multiple Structures

Strona 520 - 23.4 Working with aliases

If you select this option now, you can modify your default settings later by clicking Settings onthe SAP menu.5.Click OK.Building a report off a BW qu

Strona 521 - 23.5.2 Link relationships

• Invoiced quantity• Sales Volume7.Click Query Properties.8.Click the Extended tab and ensure that Allow External Access to this Query is selected.Thi

Strona 522 - 2011-05-16522

3.Click the Refresh button to view the result set.Only one value is returned on the report. This value represents the aggregated value of this KeyFigu

Strona 523 - 2011-05-16523

3.3 Developing a prototype on paperWhile a paper prototype is useful regardless of your level of expertise with Crystal Reports, it is particularlyval

Strona 524 - 2011-05-16524

2.The Insert Summary dialog box appears.3.In the Choose the field to summarize list, select Invoiced Quantity.4.In the Calculate this summary list, se

Strona 525 - 23.5.4.1 Linking data files

To create a BW query with a hierarchy1.Go to Start > Programs > Business Explorer > Query Designer.2.Click Open Query.3.Select the query you

Strona 526 - 2011-05-16526

To build a hierarchy report off the BW hierarchy• On the View menu, click Field Explorer.The "Field Explorer" appears. Expand Database Field

Strona 527 - 23.5.5.1 Linked SQL tables

How to summarize dataThis section guides you through the process of summarizing data based on the query you created inthe last section, How to build a

Strona 528 - 23.5.6.1 Consideration 1

6.In the Formula Workshop, enter the formula:HierarchyLevel (GroupingLevel({[Hierarchy Name] Node ID})) * 250Note:• The field {[Hierarchy Name] Node I

Strona 529 - 23.5.6.3 Consideration 3

5.Ensure that the Selection field is set to Single Values, and that the Hierarchy field is set to thehierarchy you created for this dimension.In this

Strona 530 - 23.5.8 Linking indexed tables

You now have a query with a simple hierarchy on Material class and a hierarchy node variable basedon the Material class hierarchy.How to build a repor

Strona 531 - 23.5.9 Link processing order

should be based on the same hierarchy as the query. Therefore, you will change the hierarchy nodevariable to reflect the new hierarchy variable in thi

Strona 532 - 23.5.10.1 Inner join

Now that the display hierarchy is set to a variable rather than the Material class hierarchy, you mustreset the hierarchy node variable to the new hie

Strona 533 - 23.5.10.2 Left Outer join

Note:You do not need to do this when viewing the report in SAP BusinessObjects Enterprise. In SAPBusinessObjects Enterprise the pick list is dynamic.C

Strona 534 - 2011-05-16534

2011-05-1658Report Design Concepts

Strona 535 - 23.5.10.3 Right Outer join

When a query contains a hierarchy variable, the MDX Query driver creates an extra field calledHierarchies in Crystal Reports that allows you to create

Strona 536 - 23.5.10.4 Full Outer join

2.Connect to SAP as outlined in Using the Log On Server command.Select SAP Operational Data Store in the Data Explorer.3.Click Options.2011-05-16581In

Strona 537 - 23.5.10.6 Enforced From

The "Options" dialog box appears with only the Database tab displayed.Tip:If you chose to use the report wizard, right-click SAP Operational

Strona 538 - 23.5.10.9 Equal [=] link

Note:The % and _ wildcards correspond respectively to the asterisk (*) and question mark (?) wildcardsused in Windows. The % and _ wildcards correspon

Strona 539 - 2011-05-16539

10.In the Available Data Sources area, double-click the ODS that you want to use as a data source forthe report.The ODS moves to the Selected Tables a

Strona 540 - 2011-05-16540

Reports that are based on SAP queries and InfoSets behave similarly to reports that are based onstored procedures in mainstream databases. You can ins

Strona 541 - 2011-05-16541

4.In the Data Explorer area, select the check boxes for the types of data that you want to make availablefor the report.5.Use the Table name LIKE fiel

Strona 542 - 2011-05-16542

The Data Explorer displays the selected queries or InfoSets, along with the descriptions defined bythe SAP administrator.8.Click Close.9.Open a new, b

Strona 543 - 2011-05-16543

Tip:For additional information about parameters and general report design topics, see theCrystal ReportsOnline Help.24.1.3.2 Reporting off other SAP d

Strona 544 - 2011-05-16544

Objects supported by the Open SQL driverThe Open SQL driver provides access to several low-level objects within SAP: transparent tables, pooland clust

Strona 545 - 23.6 Server-side processing

Introduction to Reporting4.1 Report creation optionsEach time you create a new report, you have three options:• Use a Report Creation Wizard.• Use ano

Strona 546 - 2011-05-16546

4.In the Create New Connection folder, expand SAP Table, Cluster, or Function.The "SAP System Logon" dialog box appears.5.Log on to an SAP s

Strona 547 - 2011-05-16547

Linking tables and viewsReports that are based on SAP tables (transparent, pool, and cluster tables, as well as views) behavesimilarly to reports that

Strona 548 - 23.7 Mapping database fields

SQL driver provides the ability to call ABAP functions that have defined return types and to display theirresults. ABAP functions are also useful in s

Strona 549 - 23.7.2 Remapping processes

TypeFieldStringNameStringDepartmentIntegerYears_of_serviceIntegerAgeDateDateField_InDateDateField_OutWhen working with the Name, Department, and DateF

Strona 550 - 2011-05-16550

TypeFieldStringContactInfo.PhoneStringContactInfo.emailAs before, you must either link the street and zip code fields to or from another table, or def

Strona 551 - 2011-05-16551

Positions.StartDatePositions.TitleGenderName7/12/98VP, MailMTomFunctions with multiple tables as their outputFunction FIMPORTINGVALUE(NAME) TYPE CEXPO

Strona 552 - 23.8 Saved Data Indexes

Options.NumberOptions.GrantDatePositions.StartDatePositions.TitleGenderName153005/6/977/12/98VP, MailMTomReporting off ABAP data clustersReporting off

Strona 553 - 23.8.3.1 To index saved data

In order to overcome these issues, the individual components of data clusters must be mapped astables. You can do this by creating a dictionary of the

Strona 554 - 2011-05-16554

Locating the cluster area's key fieldsThis section guides you through the process of locating the cluster area's key fields based on the new

Strona 555 - 24.1.1 Introduction

You now need to add the key fields to your new dictionary entry in the Cluster Definition tool. To addthese key fields to the dictionary entry, go to

Strona 556 - 2011-05-16556

Incorporating parameter fields into record selection formulas...1246.5.4Using SQL expressions where approp

Strona 557 - Logging on to the SAP server

4.2 Choosing data sources and database fieldsCrystal Reports makes it simple to select data sources and database fields by providing easy-to-usefuncti

Strona 558 - 2011-05-16558

field's data type. In this example, the key field is defined by reference, so you can ignore the ABAPtype and Length fields.9.Click Save; then cl

Strona 559 - 24.1.3 Reporting with SAP

5.In the ABAP code, look for the heading that denotes the beginning of the table, and note the structurethat is included in the following line.For thi

Strona 560 - MDX Query driver overview

Note:In this example, you need not complete the remaining fields (Reference Field, ABAP Type, andLength). Use these fields to add specific information

Strona 561 - Formatted reporting overview

Migrating your existing security modelTo continue to use the data access restrictions that you defined using a previous version of SAPBusinessObjects

Strona 562 - 2011-05-16562

2.You now have two options:• If you want to enable the Global Lock, select the Allow access only to the tables specifiedabove option.• If you want to

Strona 563 - 2011-05-16563

Customizing authorizations for specific tablesWhether you have enabled or disabled the Global Lock feature, you may need to customize the dataaccess a

Strona 564 - 2011-05-16564

You will now associate your new authorization object with an SAP table.3.In the Table name field, type the name of the table whose security definition

Strona 565 - Selecting cubes for reports

5.Click Create.The "Authorization Object entry" dialog box appears.6.Click Reference to an authorization object.The "Authorization Obje

Strona 566 - To save a report to BW

7.In the Authorization object name field, type the name of the authorization object that you createdin step 1.For this example, type ZTABCHK.8.Click C

Strona 567 - To create a simple BW query

9.In the Field value list, type the name of the table whose security definition you want to customize.For this example, type VBAK.10.Click Save.You ha

Strona 568 - To create a new report

• Database Files• ODBC (RDO)• OLAP• OLE DB (ADO)Note:The data source options available in the Create New Connection folder depend on the data accessco

Strona 569 - To summarize the data

Note:Regardless of the method you use, ensure that your new authorization holds the name of the correctdatabase table in its TABLE field value. In thi

Strona 570 - To save your report

Essentially, by associating an authorization object with a field within an SAP table, you define that tableas an exception to the Global Lock settings

Strona 571 - 2011-05-16571

The "Authorization field values" screen appears.10.In the Field value list, type the equals sign (=) and the name of the field that you want

Strona 572

Note:You can now use wildcards to specify the table name. This is an efficient way to apply an authorizationto multiple tables with similar names simu

Strona 573 - How to summarize data

24.1.3.3 Reporting with SAP BW24.1.3.3.1 Designing and Translating ReportsThis section introduces you to the Report Wizards in Crystal Reports and pro

Strona 574 - 2011-05-16574

3.Ensure that Prepare reports for translation on server is selected.This option changes your default settings, so reports are always prepared for tran

Strona 575 - 2011-05-16575

The "Format Editor" dialog box appears.4.Click the Font tab.5.Click the Formula button that corresponds to the Size field.The Formula Worksh

Strona 576 - 2011-05-16576

Before importing your content, consider the following:• BW treats Crystal reports (.rpt files) as native objects. If the Crystal reports are stored in

Strona 577 - 2011-05-16577

4.Provide the information in the following table.ActionFieldType the name of the server that hosts your Oracle EBS system.HostType the port number tha

Strona 578 - 2011-05-16578

24.3.1.1 Creating a connection in SAP Crystal ReportsOnce you've installed the Integration product on a machine running the SAP Crystal Reports d

Strona 579 - 2011-05-16579

Use this option to rename an existing SQL command in the SAP BusinessObjects EnterpriseRepository.• OptionsUse this option to set the global options t

Strona 580 - Selecting an ODS object

Tip:Once you have configured the Siebel connection, you can store the connection in the Favorites folder.24.3.1.1.2 Using the Log On Server commandIf

Strona 581 - Click Options

• Local• Local (Active Dedicated Session)24.3.2.1 Connection namesWhen you open a connection to a data source, Crystal Reports automatically assigns a

Strona 582 - 2011-05-16582

24.3.2.3 LocalThe Local connection type connects to the Siebel Mobile/Dedicated Web Client and accesses datafrom any of the available data sources, su

Strona 583 - 2011-05-16583

2.From the shortcut menu, click Properties.The Siebel Properties dialog box appears. On the Shortcut tab, the Target field contains the filenameand pa

Strona 584 - InfoSet Query driver overview

24.3.2.4.1 Apply Current QuerySiebel allows a user to filter information displayed in any view by applying a query. If Apply CurrentQuery is selected

Strona 585 - 2011-05-16585

24.3.3 Selecting business componentsOnce a connection is completed, Crystal Reports displays the list of business objects and businesscomponents avail

Strona 586 - 2011-05-16586

24.3.6 SecurityCrystal Reports supports Siebel's security to ensure that sensitive information can be managed. Everytime users run reports agains

Strona 587 - 2011-05-16587

Siebel provides a mechanism that formats information for the user based on preferences defined withinthe Siebel system. For example, currency fields a

Strona 588 - Open SQL driver overview

24.3.10 Multi-value columnsThere are certain columns within the tables that are displayed through the Siebel driver that representmultiple values. Cry

Strona 589 - 2011-05-16589

Crystal Reports TypeSiebel TypeDate-timeDTYPE_DATETIMEStringDTYPE_IDStringDTYPE_PHONEStringDTYPE_TEXTMemoDTYPE_NOTEDate-timeDTYPE_UTCDATETIMENote:DTYP

Strona 590 - 2011-05-16590

4.2.2.2 Toolbar and Shortcut MenuThe Field Explorer's toolbar provides buttons with tool tips and hot-key combinations. You can right-clickany it

Strona 591 - Reporting off ABAP functions

24.4.2 To access data in SAP Crystal Reports1.Start SAP Crystal Reports.2.On the Start Page, click Blank Report.3.In the Database Expert, expand Creat

Strona 592 - Examples

ActionFieldType your password.Password• If you installed the integration on a PeopleTools 8.50 environment, click PeopleSoft Query, andprovide the fol

Strona 593 - 2011-05-16593

24.5.1 OverviewIf you installed the Data Connectivity feature of the SAP BusinessObjects Enterpise XI, you can workwith JD Edwards EnterpriseOne data

Strona 594 - 2011-05-16594

Accessing Data Sources25.1 IntroductionCrystal Reports can access data stored in almost any common database format, as well as manyuncommon formats. T

Strona 595 - 2011-05-16595

• Direct access database files• ODBC data sources• OLE DB• Business Views• Crystal SQL Designer files• Crystal Dictionary filesEach type of data must

Strona 596 - What is a data cluster?

When you access a database directly through Crystal Reports, only that database type can be usedby the report. You cannot switch to a different type o

Strona 597 - Mapping ABAP data clusters

25.2.3.3 DatabaseThe database file consists of one or more tables. Different DBMS applications store database informationdifferently. For example, dBA

Strona 598 - 2011-05-16598

25.2.4.2 dBASE, FoxPro, ClipperCrystal Reports has been designed to open dBASE data simply and directly through the xBase engine(inside crdb_p2bxbse.d

Strona 599 - 2011-05-16599

DAO uses Microsoft's Object Linking and Embedding (OLE) technology to provide access to Accessdata through an object-oriented approach.In additio

Strona 600 - 2011-05-16600

• When you open a Pervasive database, Crystal Reports opens the entire database and loadsinformation about all the tables in the database. To do this,

Strona 601 - 2011-05-16601

Use this option to open the Set Prompt Order dialog box, in which you can change the prompt orderof your parameter fields.• Show Field TypeUse this op

Strona 602 - 2011-05-16602

• Exchange Folder Contents• Mail messages• Exchange Form applications• Properties of OLE documents• Exchange Administrator• Properties of Exchange mai

Strona 603 - 2011-05-16603

How Crystal Reports treats Exchange dataCrystal Reports treats Exchange Administrator data (Public Folder Admin, Public Folder ACL, PublicFolder Repli

Strona 604 - 2011-05-16604

25.2.4.9 OracleCrystal Reports supports direct access to Oracle SQL databases. This accessibility is provided by thecrdb_oracle.dll translation file.

Strona 605 - 2011-05-16605

Note:The Lotus Domino executable and data directories are added to the PATH.25.2.4.12 Informix Online ServerThe Informix Online Server provides client

Strona 606 - 2011-05-16606

DescriptionFileFor Microsoft ActiveX Data Objectscrdb_fielddef.dllFor Microsoft ActiveX Data Objectscrdb_ado.dllFor Crystal Data ObjectCrystal Data Ob

Strona 607 - 2011-05-16607

Crystal Reports provides the translation files crdb_p2sevta.dll (archived log) and crdb_p2sevtc (currentlog) for working with NT Event Log data. These

Strona 608 - 2011-05-16608

There are hundreds of Database Management Systems (DBMS) available for personal computers, andthousands of applications that access DBMS data. Normall

Strona 609 - 2011-05-16609

translation (ODBC data source) layer. The data source must analyze the request and translate it againinto a format that can be understood by the DBMS.

Strona 610 - Applying row-level security

25.3.3.2 ODBC translation layerCrystal Reports uses the Dynamic Link Library crdb_odbc.dll to communicate with ODBC. This file isunique to Crystal Rep

Strona 611 - 2011-05-16611

Once an ODBC driver is registered, you need to establish an ODBC data source using that driver. TheODBC data source is the object that you connect to

Strona 612 - 2011-05-16612

The Design tab is the place you do most of the initial work when creating a report. It designates andlabels the various sections of the report. You ca

Strona 613 - 2011-05-16613

1.On the Start menu, select Settings, select Control Panel, then double-click Add or RemovePrograms.2.Select Crystal Reports and click Change.3.In the

Strona 614 - 2011-05-16614

25.3.6.2 ExcelYou can convert Microsoft Excel spreadsheets into databases that can be read by Crystal Reportsthrough ODBC. In Excel 4.0 and earlier, u

Strona 615 - Reports Online Help

• Oracle• Sybase• Microsoft SQL Server• DB2Crystal Reports still communicates with ODBC through the crdb_odbc.dll translation file, but theDataDirect

Strona 616 - 24.1.3.3.2 Publishing Reports

A Lotus Domino database can be read by Crystal Reports through ODBC. For Windows, the LotusDomino DBMS translation layer consists of three files:• Nsq

Strona 617 - 24.2.1 Overview

25.4.1 JNDIThe Java Naming and Directory Interface (JNDI) provides an interface that you can use to seamlesslyconnect to diverse naming and directory

Strona 618 - 24.3.1 Connecting to Siebel

Crystal Reports uses the Dynamic Link Library crdb_jdbc.dll to communicate with JDBC. This fileis unique to Crystal Reports environment and provides y

Strona 619 - 2011-05-16619

crdb_jdbc.dll translation file, which has been designed to work with any fully JDBC-compliant driver.Crystal Reports officially supports third-party J

Strona 620 - 2011-05-16620

You can create a Crystal report from a Business Objects universe. Crystal Reports lets you select auniverse and design a query from it using a tool ca

Strona 621 - 24.3.2.2 Server

For detailed information about Business Views and how to create them, see theBusiness ViewsAdministrator's Guide.Note:• When you save a report th

Strona 622 - 24.3.2.3 Local

Note:The file crdb_query.dll must be installed before you can use query files in your reports.25.8 Crystal Dictionary filesA dictionary (.dc5) file is

Strona 623 - 2011-05-16623

This section is used for the body of the report, and is printed once per record. The bulk of the reportdata generally appears in this section.• Report

Strona 624 - 2011-05-16624

2011-05-16660Accessing Data Sources

Strona 625 - 2011-05-16625

Report Processing Model26.1 OverviewCrystal Reports uses a three-pass reporting method to generate reports. The sections below describewhat happens du

Strona 626 - 24.3.7.1 The View Mode field

• Record retrieval. Where possible record selection and sorting are pushed down to the database inthis step.• Evaluation of recurring formulas. These

Strona 627 - 2011-05-16627

These are formulas that contain references to subtotals or summary information, also known as"PrintTime" formulas. This evaluation time is k

Strona 628 - 24.3.11 Data Types

2011-05-16664Report Processing Model

Strona 629 - 24.4.1 Overview

Crystal Reports Error MessagesA.1 Drive:\filename.extensionThis document could not be opened. It does not appear to be a Crystal Reports document.Cont

Strona 630 - 2011-05-16630

A.3 Failed to load database connectorReasonThe database connector is not available on the machine that is processing the report.The database client so

Strona 631 - Crystal Reports User's

A.5 Failed to retrieve data from the database. Details: [Database Vendor Code: <vendorcode number>]ContextOccurs when refreshing or previewing a

Strona 632 - 24.5.1 Overview

2011-05-16668Crystal Reports Error Messages

Strona 633 - Accessing Data Sources

Creating Accessible Reports27.1 About accessibilityWhen you create Crystal reports for a large audience across the organization—and around theworld—yo

Strona 634 - 25.2.2 Disadvantages

Like the original areas, each of these newly added areas can contain one or more sections. By default,they each contain a single section.4.3.1.2 Ident

Strona 635 - 25.2.3.2 Data translation

Many accessibility guidelines result in improved usability. An accessible report must provide logicaland consistent navigation. Its content must be cl

Strona 636 - 25.2.4.1 Microsoft Access

step further, the United States government introduced legislation in the form of Section 508 of theRehabilitation Act, which ensures the right to acce

Strona 637 - 25.2.4.4 DAO

To begin improving the accessibility of your Crystal reports, start with accessibility guidelines that arequick and easy to implement. A small change

Strona 638 - 25.2.4.5 Pervasive

left to right and top to bottom, screen readers and other assistive devices may follow the order specifiedin the HTML. To make a report accessible, yo

Strona 639 - 25.2.4.6 Exchange

People who use assistive technologies are accustomed to text-only substitutes and, therefore, willrespond well to the text-only alternatives you provi

Strona 640 - 2011-05-16640

Note:If you cannot produce a complete text-only version of the report, you can still improve accessibility byproviding a descriptive summary of key in

Strona 641 - 25.2.4.8 ACT!

27.2.2.4 Formatting textAfter you create text equivalents or alternatives for non-text objects, ensure that the text is clearly writtenand easy to rea

Strona 642 - 25.2.4.11 Lotus Domino

groups, provide a combination of audio and text. Multimedia presentations may provide audio informationfor people with visual impairments, as well as

Strona 643 - 25.2.4.14 Active Data

For example, a text object may instruct users to "click the green button" to open a subreport. Users withlimited vision cannot tell which bu

Strona 644 - 25.2.4.16 NT Event Log

• Use navigation consistently.• Provide the opportunity to skip repetitive navigation links.27.2.5 Parameter fieldsWhen you include parameter fields i

Strona 645 - 25.3 ODBC data sources

4.3.1.3 Other Design tab capabilitiesThere are several other capabilities built into the Design tab. With the Design tab, you can:• Resize a section b

Strona 646 - 25.3.2 Disadvantages

27.3.1 Accessibility and conditional formattingUsing the accessibility parameter field in simple formulas, you can provide multiple formats for anyobj

Strona 647 - 25.3.3 Five layers

27.3.2 Accessibility and suppressing sectionsInstead of formatting individual objects conditionally, you can create separate sections for accessibleve

Strona 648 - 25.3.3.3 ODBC layer

Accessible report design may become too cumbersome using conditionally formatted objects andsuppressed sections. Two situations in particular may be p

Strona 649 - 25.3.3.5 Database layer

You can make a large table easier to understand and navigate by adding text objects that provideinformation about each value in the table.Include what

Strona 650 - 25.3.6.1 Access

Providing extra information for each value can make a data table appear cluttered for people withoutvision impairments, so you may want to hide the ex

Strona 651 - 25.3.6.3 Informix

You can use the parameter field to suppress the text objects conditionally. While it has the same effectas changing the font color to the background c

Strona 652 - 25.3.6.6 Lotus Domino

The following report uses formulas placed in the Details section that combine the database fields andthe extra text. When the user chooses Yes for the

Strona 653 - 25.4 JDBC data sources

27.4.2 Other data table design considerationsIn addition to labeling data values with text objects, other report design techniques can help you create

Strona 654 - 25.4.2 Five layers

To display the table summary conditionally, the report designer divided the Page Header into twosections. The first page header is suppressed when the

Strona 655 - 25.4.2.5 Database layer

menus for report commands. Depending on your users' needs, you may also want to reduce the numberof reports displayed on each page.For viewing re

Strona 656

In standard view, the report is displayed a page at a time. Using the navigation buttons in the Previewtab, you can move to the beginning or end of th

Strona 657 - 25.6 Business Views

Electronic forms can present difficulties for screen readers, and must be set up carefully. When youlabel a component in a form, ensure the label is c

Strona 658 - Crystal Reports Online

More InformationLocationInformation Resourcehttp://www.sap.comSAP BusinessObjects product infor-mationNavigate to http://help.sap.com/businessobjects

Strona 659 - 25.8 Crystal Dictionary files

LocationInformation Resourcehttps://www.sdn.sap.com/irj/boc/businessobjects-articlesThese articles were formerly known as technical papers.SAP Busines

Strona 660 - 2011-05-16660

Index3-D Riser chart 2713-D Surface chart 271AABAP data clustersand the Cluster Definition tool 596and the Open SQL driver 588described 589, 596mappin

Strona 661 - Report Processing Model

charts(continued)creating 274on an OLAP cube 277on Cross-Tab summaries 276on subtotal fields 275on summary fields 275drilling down 273modifying 282leg

Strona 662 - 26.1.5 Pass 2

data(continued)grouping 41, 147hierarchically 159in intervals 156on first letter of name 158linking 75live 111minimizing transfer 107placing on report

Strona 663 - 26.1.6 Pass 3

designing reports(continued)multiple columns 216organizing data 84placing 273charts 273data 76database fields on 76formula fields 77maps 288parameter

Strona 664 - 2011-05-16664

Flash objects(continued)inserting in reports 312fontssetting fractional sizes 234footers, creating after the page 258form lettersinserting a date 202i

Strona 665 - A.2 Drive:\test.rpt

groups(continued)selecting with Select Expert 153sortingconditionally 150records within 151subtotaling 171guidelines 226designing with 226inserting 22

Strona 666 - 2011-05-16666

lists of values(continued)command objects as data source474long lists 475null handling 475overview 459separate values and descriptions473sharing commo

Strona 667 - 2011-05-16667

To summarize grouped data...1668.3.1Ordering groups by s

Strona 668 - 2011-05-16668

The Group Tree can be shown or hidden using the Toggle Preview Panel button on the Standardtoolbar.The Group Tree presents a split screen:• The right

Strona 669 - Creating Accessible Reports

OLAP(continued)creating OLAP report 362reporting 361updating database location 368OLAP cube 277charting on 277mapping on 292OLAP data 376filtering 376

Strona 670 - 2011-05-16670

publishing to SAP BusinessObjectsEnterprise. See Enterprise Folders392Publishing Wizard 616Qqueries 344apply current 624building 344creating a combine

Strona 671 - 2011-05-16671

reports(continued)formatting(continued)with a template 207formatting for web viewing 238formula fields on 77Group Tree, to display 69grouping 147data

Strona 672 - 2011-05-16672

sections(continued)identifying 67inserting 192making read-only 240merging two related 193moving 193multiple in report 196Page Header 65Report Header 6

Strona 673 - 27.2.2 Text

TTab Separated Text (TTX), exportingto 380table indexes, for performance 116table-level security 603tables 74, 591, 605, 682adding 74alias 520customiz

Strona 674 - 2011-05-16674

ZZCDD, Cluster Definition tool 597 zooming features 2812011-05-16705Index

Strona 676 - 27.2.2.4 Formatting text

• Dynamic parameters that use cascading prompts.On the panel, data parameters are differentiated from non-data parameters with a database icon. Whena

Strona 677 - 27.2.3.1 Contrasting colors

In the Preview tab, however, you are working with the actual data. Instead of a field frame representingmany field values, the values themselves appea

Strona 678 - 27.2.4 Navigation

For information about how to configure the HTML Preview Options, search the Crystal Reports onlinehelp for “Smart Tag & HTML Preview tab (Options

Strona 679 - 27.2.5 Parameter fields

• Database FilesThis option shows a list of standard PC databases that reside locally. You can use Find DatabaseFile to browse for a PC database using

Strona 680

4.4.3 Linking multiple tablesIf the report contains data from two or more database tables, they need to be linked at this point whencreating reports.N

Strona 681 - 2011-05-16681

4.To create links manually, drag a field from one table to a field in another table. If successful, a linkline is created. If unsuccessful, a message

Strona 682 - 2011-05-16682

4.4.4.1.1 To insert a database field1.On the Standard toolbar, click Field Explorer.The Field Explorer dialog box appears. To speed the report buildin

Strona 683 - 2011-05-16683

4.Type the expression in the SQL Expression Editor.Note:For an overview of the formula language, see Formula components and syntax.5.Click Save.4.4.4.

Strona 684 - 2011-05-16684

sum of 2 + 4), and then 12 (the sum of 2 + 4 + 6). See Running Totals, for an introduction to runningtotals.4.4.4.6 Special fieldsTo display informati

Strona 685 - 2011-05-16685

Working with text objects...19910.5.1Creating a form

Strona 686 - 2011-05-16686

Text objects are used in reports for a multitude of purposes. They are a powerful way of inserting titles;labeling summaries and other data on your re

Strona 687 - 2011-05-16687

3.Position the picture object where you want it to appear in the report and left-click once.4.4.4.9 Hyperlink fieldsYou can select a report object on

Strona 688 - 2011-05-16688

Note:You can also use this option to connect to SAP Business Objects, Web Intelligence, and OLAPIntelligence documents (this is also known as report l

Strona 689 - 2011-05-16689

4.4.5 BLOB (Binary Large Object) fieldsA BLOB field is a database field whose data consists of Binary Large Objects—such as bitmap graphics,images, OL

Strona 690 - 27.7 Resources

4.4.7 Record selectionRecord selection, the task of paring down the data to include only the data required for your report, isa crucial step in report

Strona 691 - More Information

You can drill down on your data, to show the data behind individual groups, using the Drill-down cursor.See Sorting, Grouping, and Totaling.4.4.9.1 Dr

Strona 692 - LocationInformation Resource

• Information to appear only on the first page of the report goes in the Report Header (RH).• Information to appear only on the last page of the repor

Strona 693 - (continued)

4.Move the object frame to the Report Header section and click once to place the frame.5.With the report title selected, click Section Expert on the E

Strona 694

Enter the desired information and click OK when finished to return to your report.4.5 Exploring reports and working with multiple reportsCrystal Repor

Strona 695

and so on. Likewise, if you right-click a section node, the menu will contain the options to hide, suppress,format and so on.Note:You cannot add addit

Strona 696

Adding shapes to a report...24711.5.8Scaling, croppin

Strona 697

4.5.2 The WorkbenchIn the Workbench, you can create projects that contain one or more reports. Use the options on thetoolbar to add, remove, or rename

Strona 698

4.5.2.2 Shortcut MenusYou can right-click any item in the projects area of the Workbench to see a shortcut menu. Many of theoptions that are available

Strona 699

Errors listed in the Dependency Checker show the following information:• Error type.MeaningIconSuccess. The Dependency Checker has verifiedthat there

Strona 700

• CopyUse this option to copy the message to the clipboard so that you can paste it into another application.• OptionsUse this option to open the Depe

Strona 701

Click the tabs in the amalgamated explorer to change focus from one explorer type to another; thename in the title bar changes accordingly to show you

Strona 702

SAP BusinessObjects Enterprise Repository5.1 What is the SAP BusinessObjects Enterprise Repository?The SAP BusinessObjects Enterprise Repository is a

Strona 703

The "Repository Explorer "displays the contents of your SAP BusinessObjects Enterprise Repositoryas a tree with folders, subfolders, categor

Strona 704

5.2.1 To open the SAP BusinessObjects Enterprise Repository1.Start Crystal Reports and open a report.2.Click the Repository Explorer button on the Sta

Strona 705 - 2011-05-16705

The Repository Explorer's toolbar provides buttons with tool tips. These buttons let you add new foldersor categories, search for items, and so o

Strona 706 - 2011-05-16706

• Corporate categories are created by the administrator, or other users who have been granted accessto these categories. If you have the appropriate r

Komentarze do niniejszej Instrukcji

Vikixwk 04 Jan 2024 | 13:20:14

urenrjrjkvnm

Viktorihon 14 Jan 2024 | 00:44:53

Cinema