28 apr

Formula Workshop


E-invoicing in Germany: How to implement the obligation with SAP Business One

Of the Formula Workshop is the central formula editor in SAP Crystal Reports. It is used to write formula fields, conditional formatting, selection formulas, running totals, and group-specific calculations — everything that goes beyond the mere placement of database fields. The workshop accompanies the entire lifecycle of report logic within a Crystal Reports layout.

Context

The Formula Workshop can be opened, for example, via View → Formula Workshop or from format dialogs (click on the x+2– Button next to a property). It offers two syntax variants: Crystal Syntax (Standard, Pascal-like) and Basic Syntax (Visual Basic-like). Typical use cases: conditionally adjusting font size, e.g.

if {@LanguageCode%} = "D" then 10 else 12

for a German document a more compact font than for other localisations. In addition, Formula Fields (visible result fields), Selection Formulas (Database-level record filter) and Running Totals (running totals over groups) are maintained. The workshop provides function categories: strings, date/time, mathematical functions (ABS, CEILING, FLOOR, MAX, MIN, ROUND), logical functions, summation functions, and special fields such as Page number or Record Number. Arithmetic operators, parentheses, and function calls can be typed or inserted via a menu. A test console checks the syntax before the formula is applied to the layout.

Demarcation

The Formula Workshop is not an SQL editor: it works on the data that the report has already imported, not directly on the Database. For SQL-like logic, Views, Stored Procedures or Command Objects within Crystal are better suited. It is also not identical to Formatted Searches in the SAP Business One client (determining UDF values via database queries), and not with the formula language of Pervasive analytics- KPIs that offer similar arithmetic and numerical functions (ABS, CEILING, FLOOR, MAX, MIN, ROUND), but operate on HANA views instead of Crystal datasets.


ReAct and RLEF

ReAct and RLEF: How Artificial Intelligence Learns from Real Mistakes — and What Automated Bank Reconciliation in SAP Business One Has to Do with It

This is the fourth instalment in a series on this blog dealing with AI fundamentals in conjunction with SAP Business One...
Service Layer AI as a transactional layer

SAP B1 10.0 FP2608: Service Layer AI as a transactional layer

The SAP Business One Service Layer has previously served predominantly as a passive data provider: applications requested data via OData, each ...
Process Reward Model

Process Reward Models: Why a correct result does not yet prove a correct method

This series continuously examines individual AI basic terms and methods such as the Process Reward Model. The previous episode has ...
Test-Time-Compute-Scaling

Test-Time Compute Scaling: Why a Smaller AI Model Can End Up Winning — and What Supplier Comparison in SAP Business One Has to Do With It

This is a continuation of the series on this blog, which deals with Artificial Intelligence in combination with SAP Business One...
RLHF

RLHF and reward models: AI hype or what the approval process in SAP Business One has to do with it

Key takeaways: The article covers the application of artificial intelligence in the context of SAP Business One and fundamental AI topics. Thanks to ...
AI Webinar

AI – Answers from SAP Business One – without SQL, without IT ticket

Live webinar on 30 July 2026, 14:00–14:30 | Live demo via Microsoft Teams | Duration: 30 minutes „How were the sales...".
Wird geladen …