How To Work With Crystal Converter in SAP Business One 8.8 PL08 and Above
How To Work With Crystal Converter in SAP Business One 8.8 PL08 and Above
How-To Guide
PUBLIC
Applicable Release:
All Countries
English
May 2010
Table of Contents
Introduction..................................................................................................................................... 3
© SAP AG 2010 2
How to Work with Crystal Converter in SAP Business One
Introduction
The Crystal Converter tool in SAP Business One lets you convert Print Layout Designer (PLD) layouts
to Crystal Reports layouts.
This document provides information on the following topics:
• Starting and Stopping B1 Crystal Converter (page 4)
• Converting PLD Layouts to Crystal Reports Layouts (page 5)
• Editing Converted Crystal Reports Layouts (page 9)
• Functions of B1 Crystal Converter (page 15)
Note
For more information about Print Layout Designer (PLD) and Crystal Reports software,
version for the SAP Business One application, see the how-to guides How to Customize
Printing Layouts with PLD in Release 8.8 and How to Work with Crystal Reports in
Release 8.8 in the documentation area of SAP Business One Customer Portal at
http://service.sap.com/smb/sbocustomer/documentation.
© SAP AG 2010 3
How to Work with Crystal Converter in SAP Business One
CAUTION
If you open the B1CrystalConverter.exe file before you log on to SAP Business
One, you will get an error message asking you to log on to SAP Business One first.
In the Report and Layout Manager window (Administration → Setup → General → Report and
Layout Manager), the Convert button appears when you select PLD layouts.
Note
When you change company databases, B1 Crystal Converter is still running.
3. Log off from SAP Business One, and B1 Crystal Converter stops automatically.
© SAP AG 2010 4
How to Work with Crystal Converter in SAP Business One
1. From the SAP Business One Main Menu, choose Administration → Setup → General → Report
and Layout Manager.
The Report and Layout Manager window appears.
2. In the navigation pane on the left, drill down to the document type, and on the Layouts tab on
the right, select the PLD layout that you want to convert.
The Convert button appears.
© SAP AG 2010 5
How to Work with Crystal Converter in SAP Business One
Note
Changing between the two modes does not affect the layouts converted before, only
those still to be converted.
Compatible Mode
Note
This mode is the default mode.
In this mode, all the sections of the PLD layout are converted to the Details section in the Crystal
Reports layout.
Major Advantage
Converted Crystal Reports layouts provide exactly the same paging as that of the PLD layouts.
Disadvantage
When you customize converted Crystal Reports layouts, there may be some small issues.
© SAP AG 2010 6
How to Work with Crystal Converter in SAP Business One
Standard Mode
Procedure
To work in this mode, follow the steps below:
...
© SAP AG 2010 7
How to Work with Crystal Converter in SAP Business One
In this mode, the structure of the PLD layout is converted following the mapping below:
Section in Print Layout Designer Section in Crystal Reports
© SAP AG 2010 8
How to Work with Crystal Converter in SAP Business One
Note
Crystal Reports layouts in this example are converted in the compatible mode, which is
the default mode for B1 Crystal Converter.
You can edit converted Crystal Reports layouts the following ways:
• From the Report and Layout Manager window
• From Crystal Reports software, version for the SAP Business One application
Prerequisites
• You have installed the following:
{ SAP Business One 8.8 PL08 or above
{ Crystal Reports software, version for the SAP Business One application
• You have converted PLD layouts to Crystal Reports layouts using B1 Crystal Converter.
Example
The PLD field F_1 is converted to F_1, F_1i, F_1f, F_1_Format, and F_1_Symbol in
Crystal Reports layouts.
Therefore, when editing, be sure to use correct fields according to your needs.
© SAP AG 2010 9
How to Work with Crystal Converter in SAP Business One
Adding Fields
In the example, you add two fields to a converted Crystal Reports layout in two ways.
...
Solution 1
In this solution, you add fields to the PLD layout first, and then convert it to a Crystal Reports layout.
Procedure
...
1. From the SAP Business One Main Menu, choose Administration → Setup → General → Report
and Layout Manager.
The Report and Layout Manager window appears.
2. In the navigation pane on the left, choose Inventory → Inventory Reports → Inventory Status →
Inventory Status, and on the Layouts tab on the right, select the PLD layout Inventory Status
(EhP) (System). Then choose the Edit button.
3. In Repetitive Area Header0 and Repetitive Area0 of the Inventory Status (EhP) (System)
window, modify the size of the fields with your mouse so that there is room for the new fields, as
follows:
4. In Repetitive Area Header0, add a text field by drawing a rectangle with your mouse, and on the
Content tab of its properties window, in the text pane on the left, enter Default Warehouse.
5. In Repetitive Area0, add a database field by drawing a rectangle with your mouse, and on the
Content tab of its properties window, do the following:
a. In the Table dropdown list, select OITM – Items.
b. In the Column dropdown list, select DfltWH – Default Warehouse.
6. In the menu bar, choose Print Layout Designer → Save As… In the Save As… window, enter
demo, and then choose the OK button.
7. Close demo, and in the Report and Layout Manager window, select PLD layout demo, and
choose the Convert button.
Result
...
1. From the SAP Business One Main Menu, choose Inventory → Inventory Reports → Inventory
Status.
The Inventory Status – Selection Criteria window appears.
2. Choose the OK button.
© SAP AG 2010 10
How to Work with Crystal Converter in SAP Business One
Solution 2
In this solution, you add fields directly to the converted Crystal Reports layout.
Procedure
...
1. From the SAP Business One Main Menu, choose Administration → Setup → General → Report
and Layout Manager.
The Report and Layout Manager window appears.
2. In the navigation pane on the left, choose Inventory → Inventory Reports → Inventory Status →
Inventory Status, and on the Layouts tab on the right, double-click the converted Crystal
Reports layout Inventory Status (EhP) (System)(PLD2CR).
3. In Details c and Details d, modify the size of the fields with your mouse so that there is room for
the new fields, as follows:
© SAP AG 2010 11
How to Work with Crystal Converter in SAP Business One
7. On the Links tab of the Database Expert window, link F_16 of the PLD_ITEMS database to
ItemCode of the OITM database.
8. Right-click the link, choose Link Options…, and in the Link Options window, select Left Outer
Join for a join type.
9. In Field Explorer, choose Database Fields → OITM, and drag DfltWH to the room reserved in
Details d. Then save the Crystal Reports layout.
Result
...
1. From the SAP Business One Main Menu, choose Inventory → Inventory Reports → Inventory
Status.
The Inventory Status – Selection Criteria window appears.
2. Choose the OK button.
The Inventory Status window appears.
3. In the menu bar, choose File → Preview Layouts…, and in the Choose Layout window, choose
Inventory Status (EhP) (System)(PLD2CR).
The added fields are as follows:
© SAP AG 2010 12
How to Work with Crystal Converter in SAP Business One
Sorting a Field
In the example, you sort the Available field in the converted Crystal Reports layout Inventory Status
(EhP) (System)(PLD2CR).
Procedure
...
1. From the SAP Business One Main Menu, choose Administration → Setup → General → Report
and Layout Manager.
The Report and Layout Manager window appears.
2. In the navigation pane on the left, choose Inventory → Inventory Reports → Inventory Status →
Inventory Status, and on the Layouts tab on the right, double-click the converted Crystal
Reports layout Inventory Status (EhP) (System)(PLD2CR).
In Details c and Details d, the variable field for Available is F_20.
1. From the SAP Business One Main Menu, choose Inventory → Inventory Reports → Inventory
Status.
The Inventory Status – Selection Criteria window appears.
2. Choose the OK button.
The Inventory Status window appears.
3. In the menu bar, choose File → Preview Layouts…, and in the Choose Layout window, choose
Inventory Status (EhP) (System)(PLD2CR).
The sorted field is as follows:
© SAP AG 2010 13
How to Work with Crystal Converter in SAP Business One
Adding a Chart
In the example, you add a chart in the converted Crystal Reports layout Inventory Status (EhP)
(System)(PLD2CR).
Procedure
...
1. From the SAP Business One Main Menu, choose Administration → Setup → General → Report
and Layout Manager.
The Report and Layout Manager window appears.
2. In the navigation pane on the left, choose Inventory → Inventory Reports → Inventory Status →
Inventory Status, and on the Layouts tab on the right, double-click the converted Crystal
Reports layout Inventory Status (EhP) (System)(PLD2CR).
3. In the menu bar, choose Insert → Chart, and add the chart to Group Header #1.
The Chart Expert appears.
4. On the Type tab, in the chart type pane, select Bar, and in the right pane, select Side by side
bar chart.
5. On the Data tab, add OITM.DfltWH to the upper-right On change of pane, and add F_20i to the
bottom-right Show value(s) pane.
6. Choose the OK button to close the window, and then save the Crystal Reports layout.
Result
...
1. From the SAP Business One Main Menu, choose Inventory → Inventory Reports → Inventory
Status.
The Inventory Status – Selection Criteria window appears.
2. Choose the OK button.
The Inventory Status window appears.
3. In the menu bar, choose File → Preview Layouts…, and in the Choose Layout window, choose
Inventory Status (EhP) (System)(PLD2CR).
The added chart is as follows:
© SAP AG 2010 14
How to Work with Crystal Converter in SAP Business One
Fields
B1 Crystal Converter can convert all fields in a PLD layout to fields in a Crystal Reports layout. When
you run both layouts in SAP Business One, fields in PLD layouts have the same value as their
corresponding ones in Crystal Reports layouts.
Structure of Layouts
In compatible mode, B1 Crystal Converter can convert the structure following the mapping below:
Section in Print Layout Designer Section in Crystal Reports
Document Properties
To open the Document Properties window, in the Print Layout Designer menu bar, choose Print
Layout Designer → Display Document Properties. Alternatively, right-click anywhere in Print Layout
Designer, and choose Display Document Properties.
© SAP AG 2010 15
How to Work with Crystal Converter in SAP Business One
B1 Crystal Converter can convert all general document properties and save them on the Layouts tab
of the Report and Layout Manager window.
© SAP AG 2010 16
How to Work with Crystal Converter in SAP Business One
© SAP AG 2010 17
How to Work with Crystal Converter in SAP Business One
© SAP AG 2010 18
How to Work with Crystal Converter in SAP Business One
Area Properties
© SAP AG 2010 19
How to Work with Crystal Converter in SAP Business One
© SAP AG 2010 20
How to Work with Crystal Converter in SAP Business One
Field Properties
© SAP AG 2010 21
How to Work with Crystal Converter in SAP Business One
© SAP AG 2010 22
How to Work with Crystal Converter in SAP Business One
B1 Crystal Converter can convert a system variable calculation result with data type.
© SAP AG 2010 23
How to Work with Crystal Converter in SAP Business One
© SAP AG 2010 24
How to Work with Crystal Converter in SAP Business One
{ Line Break
Adjust to Cell
{ Length
{ Filler
{ Sum in Words
{ Suppress Zeros
Picture/Logo Type
B1 Crystal Converter can convert the Original Size option of the Picture Size setting.
Bar Code Type
• For the Free Text source type, after conversion, the barcode cannot be displayed.
• For the Database, Formula, or System Variable source type, after conversion, the number part
of the barcode can be displayed, but the letter part cannot be displayed.
© SAP AG 2010 25
How to Work with Crystal Converter in SAP Business One
© SAP AG 2010 26
How to Work with Crystal Converter in SAP Business One
© SAP AG 2010 27
How to Work with Crystal Converter in SAP Business One
Print Preferences
To open the Print Preferences window, from the SAP Business One Main Menu, choose
Administration → System Initialization → Print Preferences.
© SAP AG 2010 28
How to Work with Crystal Converter in SAP Business One
Paging
B1 Crystal Converter can convert PLD paging, but some hard-coded paging logic cannot be converted
to Crystal Reports layouts.
© SAP AG 2010 29
How to Work with Crystal Converter in SAP Business One
Limitations
B1 Crystal Converter does not support the following features (you need to do the modifications
manually in the converted Crystal Reports layouts):
• The Document Properties window → Paper Format tab → Paper Format
• The Document Properties window → Format tab → Preview Printing Layout and E-Mail Layout
(these settings are the same as regular Crystal Reports layouts)
• The Document Properties window → Picture tab
• The Document Properties window → Extension tab
• The Properties – Area: xxx window → Format tab → Area Height Adjustment
• The Properties – Field: xxx window for the Text type → Format tab → Block Overall Font
Change and Field Height Adjustment
• The Properties – Field: xxx window for the Picture/Logo type → Format tab → Alignment (the
alignment setting is related to other options)
• The Properties – Field: xxx window → Border tab → Margins
• The Properties – Field: xxx window → Color tab → Highlight
• The Print Preferences window → General tab → Print Text as Picture
© SAP AG 2010 30
How to Work with Crystal Converter in SAP Business One
© SAP AG 2010 31