You can only create validation rules in the customer namespace (rule IDs not starting with the prefix S).
Three Components of a Basic Validation Rule
- General Information
- Rule Expression
- Reference Links
General Information
The settings in the General Information tab are as follows:
- Group By: Determine how data is organized on the validation result screen of the Manage Data Validation Tasks app. For example, if you choose profit center as the Group By dimension, then values by profit center (and consolidation unit) will be displayed in the validation log.
- Tolerance: The amount within which the difference between the calculated values of left and right formulas can be ignored.
- Tolerance Currency: Specify a tolerance currency if needed. For example, you need to view to the validation results in an alternative currency.
- Comments Required: Select this checkbox if comments are needed in the Manage Data Validation Tasks app.
- Control Level: Specify whether a failed validation result leads to an error status of the respective validation task in the monitors. There are three control levels:
- Error: If the validation rule fails, the task can't be blocked in the data monitor.
- Warning: If the validation rule fails, the task can be blocked in the data monitor.
- Information: If the validation rule fails, the task can be blocked in the data monitor.
- Process No Data As: Specify whether a validation result with no data leads to an error status of the respective validation task in the monitors.

Validation rules can only be configured in SAP Fiori with the Define Validation Rules app. With this app, you define validation rules that contain the logical conditions that the relevant financial data should fulfill. The defined validation rules can be used to verify reported data, standardized data, and consolidated data along the consolidation process.
Rule Expression
In the following Validation Rule Formula Concept image, annual net income is being checked to see if it equals current-year retained earnings.
- Left Formula:
- Alias: NI-BS
- FS Item: 317000 Current year retained earnings
- Subitem: 915
- Right Formula:
- Alias: NI-PL
- FS Item: 799000 Annual net income
- Operand: -1

The Rule expression is composed of a left formula comparison operator, and a right formula.
Each formula is a set of data that you filter using certain criteria. For example, the sum of year-to-date amounts posted with a range of FS items. You can also use fixed amounts, constant numbers, quantities, and mathematical operators when composing each formula.
To build a validation formula, follow these steps (also displayed in the following Steps to Build a Validation Formula image):
- Alias: Enter Assets
- Operand: Select Sum
- Select YTD: Year-To-Date
- Select Amount
- Where: FS hierarchy node
- Choose Incl. Equal To
- Member ID: Asset hierarchy node

Expression Definitions
- Left and right formula function: f(x): This function controls the output from the left or right formula. For example, Sign displays a value of 1 if the calculated value is positive, 0 if the value is zero, and -1 if the value is negative.
- Alias: Alias is a user-defined name that displays on formulas, The alias also displays as mouse-over text in the Manage Data Validation Tasks app, providing hints about how the left value and right values are calculated.
- Formula function: f(x): The f(x) function (to the right of Alias) controls the values used by the validation rule. For example, use the f(x) default to compare the values are they're in the database. Use an f(x) value of ABS to compare the absolute values.
- Operand: There are four types of operands:
- Amount: Check for a specific value.
- Quantity: Check for a specific quantity.
- Sum: Calculate the values based on the formulas.
- Number: A constant that is used in multiplication or division, or compared with a ratio.
NoteEach operand can be used to select data for time periods such as: the period, period of previous period, period of previous year, year-to-date, year-to-date of previous period, year-to-date of previous year, and opening balance. Also, each operand is used with either amounts, amounts in transaction currency, or quantity. For example, when running reported data validation, the amounts (in local currency) are used in the validation for each consolidation unit.
- Use Selection: Use selection objects instead of the Where selections.
- Where: Where the values are coming from, the operand, and the object id. For example:
- FS Item | Value | Equal to | 317000.
- FS Item | Selection attribute | Elimination attribute | Equal to | S-IUE-PL-GP.
- FS Item | Target attribute | NCI target | Equal to | NCI item 321500.
- FS Item | Hierarchy node | Equal to | Hierarchy node.
NoteAlso to FS item, any other dimension in group reporting can be used in the Where clause.
- Add Operand: Adds an operand to the end of the selected formula.
- Reset: Clears the inputs for the operand being edited.
You can watch the on line help video to see how to build a validation rule:
Create Validation Rule
Rule Expression Example
In the following example, assets are compared to liabilities and owners equity.
The Assets are selected in the Where definition as follows:
- Financial Statement Item
- Incl. Like
- 1*: Select all FS items that begin with the number 1.
The Liabilities are selected in the Where definition as follows:
- Financial Statement Item
- Incl. Like
- 2*: Select all FS items that begin with the number 2.
The Owners Equity is selected in the Where definition as follows:
- Financial Statement Item
- Incl. Like
- 3*: Select all FS items that begin with the number 3.
Validation Rule Example

Reference Links
In the Reference Links area, you can add static URL links or dynamic links that contain variables. The links provide more contextual information on the rule. You can drill through for more details, especially when validation fails for a specific rule.
- App-specific parameters: For example, if you want to have a reference link that points to an SAP Fiori app, it has the form #<semanticObject>-semantic action, for example #ConsolidationJournalEntryList-listDisplay
- Request-specific parameters: Use the listed "properties" in the form of propertyname=<propertyname> or <propertyname>, for example, ScenId=FINCS&Tasktype=<Tasktype>&Unit=<Unit>&<Drruuid>, without specifying the exact values in most cases.
- The exact link form depends on the target webpage. You aren’t expected to formulate the dynamic link from scratch. You can copy an example target webpage, and modify the URL.

Display Rule Detail
After you create your validation rule, you can use the Display Rule Detail to display a condensed preview of the rule expression in detail. The preview contains a left formula, comparison operator, and right formula.

Simulation
You can use the Simulate option to test the validation while you build it.
