SAP Reports 2011, WIN, INTL, NUL 7090310 User Manual

Product codes
7090310
Page of 706
Note:
Java UFLs are not supported in the Report Application Server (RAS) and the Crystal Page Server, so
if a report has a formula in it, and that formula uses a Java UFL, the report may not run in SAP
BusinessObjects Enterprise because the formula will fail to compile.
For details about developing Java UFLs and configuring Crystal Reports to use a UFL, see the
Java
Reporting Component Developer's Guide.
Note:
After you have completed the configuration outlined in the Developer's Guide, you must return to Crystal
Reports, point to the File menu, and select Options. On the Formula Editor tab, go to UFL Support and
select Java UFLs Only.
20.4 Specifying formulas
There are several different kinds of formulas in Crystal Reports: report, formatting, selection, search,
running total condition, and alert formulas. The majority of formulas in a report are report formulas and
conditional formatting formulas.
Report formulas
Report formulas are formulas that you create to stand alone in a report. For example, a formula that
calculates the days between the order date and the shipping date is a report formula.
Conditional formatting formulas
Formatting formulas change the layout and design of a report, as well as the appearance of text,
database fields, objects, or entire report sections. You format text through the Format Editor. If you
need to create a formatting formula, you access the Formula Workshop from the Format Editor. See
Note:
If you open the Formula Workshop from the Format Editor, you cannot create a different type of formula,
nor can you modify or delete existing formulas. You can, however, view any formula for reference.
Selection formulas
Selection formulas specify and limit the records and groups that appear in a report. You can either enter
these formulas directly or specify the selection using the Select Expert. Crystal Reports then generates
the record selection and group selection formula. You have the option to manually edit these formulas,
but you must use Crystal syntax. See
Search formulas
Search formulas help you locate data in your report. Like selection formulas, you normally do not enter
these formulas directly, but instead specify the search criteria using the Search Expert. Crystal Reports
generates the formula. You have the option to manually edit these formulas, but you must use Crystal
syntax.
2011-05-16
421
Using Formulas