SAP Knowledge Base Article - Public

1258696 - Java Custom Functions for Crystal Report 2008

Symptom

After following the CR XI Java UFL document that describes how to put Java UFL to work in Crystal Reports XI, under Additional Functions area in Formula Editor in the Crystal Report 2008 Designer the custom functions are not visible.

Reproducing the Issue

1. Follow the steps outlined in the CR XI Java UFL document.

2.Run Crystal Report Designer 2008 and create a new report.

3.Create a formula and open formula editor.

4.See under Additional Functions if custom UFL functions are available.

Environment

Crystal Report 2008

Cause

According to Crystal Report 2008 release notes 4, additional jars are needed in the classpath for Java UFL to work in Crystal Report 2008.

Resolution

1. Include The following Jars in business objects\common\4.0\java\lib\external to your CLASSPATH in addition to other jar files suggested by the document.

commons-collections-3.1.jar
commons-configuration-1.2.jar
commons-lang-2.1.jar
commons-logging.jar

2. Confirm that in business objects\common\4.0\java\CRConfig.xml under External Functions Tag you are including the fully qualified class name (contains complete package name) instead of just simple class name.


 

Keywords

Java UFL CR 2008 , KBA , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , Problem

Product

Crystal Reports 2008 V0