Crystal Reports can be used to develop richly formatted layouts that can be included in and accessed from IFS Applications as Quick Reports. See the overview for more details.
In order to develop Crystal Reports a Crystal Reports license and client installation is required for each developer work station. The current version of Crystal Reports is 2011, even if this is the recommended version at the time of writing this may change in the future as new versions are released. Usually reports developed using older version of Crystal Reports work fine using a newer runtime. To run a report developed using a newer version than the runtime is generally not supported, though. So before acquiring a copy of Crystal Reports, make sure this version works with IFS Applications (i.e. the bundled runtime is updated). Examples used in this section all use Crystal Report 2011.
To develop Crystal Reports you need a client installation of Crystal Reports
and a license. IFS support the integration to be able to run Crystal Reports
within IFS Applications, we do not provide any support when it comes to report
development. Refer to the included documentation in Crystal Reports and/or make
sure to acquire other types of support from 3rd party vendors/suppliers if
needed. This applies to both customers and for IFS internally (i.e. country
organizations developing reports for customers of for internal use). Also make
sure to review the
considerations and design lines section below.
For help on using Crystal Reports refer to your Crystal Reports User's Guide and
the Special Foundation1 Considerations section as well as the Security
Considerations section.
In order to preview Quick Reports of type Crystal, the reports to be previewed should be deployed in to a folder in the machine where the IFS Crystal Web Service is running. Create a folder in the machine where the IFS Crystal Web Service is running and copy the Crystal Report files (*.rpt file) that are going to be previewed from Web Client or IFS EE. This folder is referred to as the OpenReportPath. In the installation process this folder is configured in the Web.Config file found in the IIS virtual directory for the IFS Crystal Web Service.
If a Crystal Report is designed according to a couple of set principles, Foundation1 provides enhanced support that makes life easier for the end user. The benefits are.
In order for a report to take full advantage of the Foundation1 support, the following guidelines need to be followed.
This alias-naming convention is important because it is used by Foundation1
to identify which report databases can be automatically logged on.
Example alias names: "Fnd_User\", "Sales_Statistics\\"
Note: Due to changes from Crystal Report version 7.0.x to version 8.0 the alias character has been changed. The alias character '*' and '**' which was used in Foundation1 versions prior to 2.2.3.B is still supported for old layouts, but are not recommended to use. In newer versions of the Crystal tool "*" can not be entered as a part of the alias name
In order to guaranty security for reports executed on web or through IFS EE some considerations have to be made.
Note: This only applies when running reports from the web or through IFS EE. If a customer is not using the web interface or IFS EE, or does not wish to run the reports from the web or through IFS EE, the following is not necessary.
When a Crystal Reports is executed from the IFS Web Client or through IFS EE, the Crystal Reports runtime creates it's own connection to Oracle. In order for this connection to use the same kind of security mechanisms as used when the IFS Web Client or IFS EE accesses the database, the report needs to be created in a certain way. Creating the report this way will ensure that the end user does not get access to data he or she is not allowed to access. One typical example would be that different users running the same query against a view in IFS Applications gets different result sets based on their privileges (i.e the view has some row based security).
Constructing a report according to these guidelines involve adding a stored procedure to the report, manually at design time, and also linking this procedure to the main entry point in the report. For a detailed information on how to develop a report according to these guidelines, please refer to this step by step instruction.
In order to ensure that only reports that comply with these guidelines are executed in the environment, the administrator can enable a setting in the web client configuration (webclientconfig.xml) called SECURED_REPORTS_REQUIRED. If this settings is used, reports without the above mentioned stored procedure will not be possible to execute. Instead one would get an error message. For more information on how to configure this, please refer to the Web Client Administration & Configuration guide. For IFS EE you need to set these information in the system parameter section, please refer to the IFS EE configuration guide for more details.
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Business Objects\Suite 11.0\Crystal Reports\Database] "InvalidAliasCharList"="!(){}"
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Business Objects\Suite 11.5\Crystal Reports\Database] "InvalidAliasCharList"="!(){}"
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\Database] "InvalidAliasCharList"="!(){}"
By adding this registry key Crystal Report Developer
XI, Crystal Report Developer XI R2 or Crystal Report Developer will only recognize
characters entered in the key as invalid alias characters.
Also read the information about the "Alternative alias naming mechanism
(characters) due to bug in Crystal Reports" further down in the list of
limitations.
In Oracle there's a limit of 30 characters for an identifier, such as a view name. Since our approach for doing automatic logon to IFS Applications data sources in the Crystal Report is based on setting an alias by appending one or two characters to the view name in the Crystal Report, this means that we're only able to perform automatic logon for data sources (i.e. views) with a name shorter or equal to 28 (or 29 depending on the approach and schema owned) characters.
A Report with a paper size set at the design time should preview according to the design time paper size
regardless of the runtime client time machine's default printer's paper size. But the reports designed using
Crystal Reports XI R1 versions, always use the client machines default printers paper size to preview the report.
The solution is to upgrade the Crystal Reports Designer to Crystal Reports XI R2
Service
Pack 3.There’s a common misunderstanding that Crystal XI and XI Release 2 are two separate versions/tracks.
IFS has concluded this is not the case. It could be considered the same version from an IFS integration
perspective and the Release 2 is only a re-branding of a service release.
The Crystal Report Vendor owns statement
regarding release 2.
· None of the above cases apply to the IFS integration towards Crystal Reports. The report format is identical for both versions. What we also concluded is that since the Crystal Report Vendor have stopped releasing corrections on XI Release 1, the only way to move forward when issues are discovered in the designer is to upgrade to Release 2 and apply a service pack that includes the fix for the specific issue. In this vase the problem is solved in SP3 for CR XI Release 2. We experienced problems when applying the patches on top of an old installation. Therefore we recommend you to start by removing any previous installation. The patched can be found from the Crystal Report Vendor patch/Service pack download page.
In order to upgrade the Crystal Reports Designer,
o First download Crystal Reports XI Release 2 Service Pack 2 - Full build and install it.
o Then download Service Pack 3 - Incremental Patch only and apply it on top of SP2.
The support on Crystal Reports provided by IFS R&D / F1 is limited to the actual integration. This means that issues/problems that are diagnosed to be a problem in the Crystal Reports Designer are not supported by IFS. That type of support is preferably obtained by the Crystal Report Vendor directly or one of their support partners. IFS R&D / F1 will not keep track of fixes in the Crystal Reports designer and certify or require upgrades to specific service packs or service releases. Once we’re made aware of a problem/limitation of this nature, the information about this will be added to LCS solutions and as a note in this known limitations sections. What we won’t do though, in such cases is to perform certification type activities and state in the documentation that a certain service pack level of the Crystal Report viewer is mandatory when using the Crystal Reports integration with IFS Apps. We IFS R&D / F1 consider this type of support / certification to be something that needs to be handled in customer projects or by regions possibly together with the Crystal Report Vendor.
In Web Client and IFS EE, when you preview a crystal report with on-demand sub report, it gives the error “Error finding JNDI name <JNDI Name>". This is a limitation in the Crystal Web Service approach and the issue was fixed from the patch 84744. It converts the On-demand sub report to an embedded sub report at the runtime. However, you can’t see the hyperlink to the sub report. So for that follow the instructions given below to add the label that as a link to the sub report.
Add a label to the Sub-Report header with the Sub-Report name.
The label should place on the top most left corner of the sub report header. RMB on label and select "Size and Position..." menu option. Give the (X,Y) co-ordinates as (0,0)
Then RMB on label and select the menu "Format Text". Select font "Arial" Size 12 and the font color as Blue. And also underline the label to view it as a link to your on-demand sub report.
Once you order the report, you can see the sub report link in main report. Double click on this to open your sub report.
See this example of creating a basic Crystal Quick Report to learn how to develop a simple Crystal Report that can be used from with IFS Applications.