Introduction to RulesA rule is a Boolean expression that you can use in a prerequisite statement, in a check, or in another rule. Rules enable you to refer to frequently used Boolean statements simply by specifying the rule name.
Example
RULE1 AND COBL-BLART <> 'SB'
In this example, the rule is named RULE1. When the system processes this statement, it first processes RULE1 and then checks whether the document type is SB.
To create a rule:
Enter a rule name.
The rule name can be a maximum of 11 characters long.
Create a statement in accordance with the rules described in Creating Boolean Statements for the FI-SL System .
Starting with Release 4.0A you can enter a rule statement either directly or using the Formula Builder.
If you enter the statement with the Formula Builder, the system uses the new syntax rules for Release 4.0A. For more information, see Syntax Rules for Boolean Statements and Formula Builder .
If you enter the statement directly, you must use the old syntax rules valid in Release 3.0 or 3.1. For more information, see Old Syntax Rules for Boolean Statements .
Enter the name of the rule in another statement.
Example
RULE1 OR GLT1-RACCT IN ACCOUNTS
You can use rules in:
Validations
Substitutions
Ledger selection
For more information on using rules in ledger selection, see FI-SL Master Data: Special Purpose Ledgers .
Rollups
For more information on using rules with rollups, see Creating a Rollup .
Report Writer
For more information on using rules with the Report Writer, see Defining Selection Criteria .
When you use rules in validations and substitutions, the rule must belong to the same Boolean class as the validation or substitution you are creating. For more information on Boolean classes, see Boolean Classes .
Note
If you still store your rules in table T890 (interpreted rules), SAP recommends that you use report RGUGBR10 to convert interpreted rules into generated rules. For more information, see Using the Rule Manager Reports .
If you use the rules in table T890 as ledger selection criteria, you must ensure that the rules use the correct Boolean class.