Business rules are parameter-driven functions within Planning and Consolidation applications for calculating and posting monetary amounts in support of common accounting activities, such as intercompany booking and currency translation.
Adding Business Rules to Applications
When you create or modify an application, you can add business rules to it. You can add the following business rules:
Account transformation (see Account Transformation Business Rule)
Currency conversion (see Currency Conversion Setup)
Intercompany booking to match intercompany transactions (see Intercompany Booking Setup)
Carry-forward processing to initialize beginning balances when a new fiscal cycle starts (see Carry-Forward Business Rule)
US eliminations (see US Elimination Business Rule)
Automatic adjustments when generating consolidation entries for a group of entities, such as eliminations, adjustments, reclassifications, and minority calculations (see Automatic Adjustments for Legal Consolidation)
After adding a business rule to an application, you must customize it to meet your needs by specifying parameter values. For example, you can indicate which balances to read before calculating an amount or under which account and data source to post the calculated amount. In addition to customizing default business rules, you can define new rules for various types of business processes and add them to an application. For more information, see Application Management.
Editing Business Rules
You can edit the content of a business rule by choosing the business rule within an application, then selecting a header record. You can use standard Microsoft Excel functionality to perform the following actions:
Select multiple detail record rows
Copy, paste, and delete detail records by row
Copy and paste within a cell by right-clicking and selecting a context menu option or using CTRL + C and CTRL + V
Copy rows from one header record to another
You can look up members within the cells of a detail record by choosing the Lookup button that appears when you place the cursor within that cell.
Validating Business Rules
You can verify the detail records of a business rule after modifying it by choosing Validate and Confirm <rule_name> ruletable in the action pane. This displays a successful status or any errors encountered.
You can run a business rule as follows:
Perform a data send.
When you send data through Interface for Office or Interface for the Web, the system runs the default logic indicated in default.lgf, for example, currency translation business rules. While you can add other logic to the default script, we do not recommend it, as performance may decrease when sending data.
Run a Data Manager package that contains a reference to a logic file (*.LGF).
Logic can be applied to a specified region of data that is stored in the database using any type of logic. You can create new logic files or modify existing ones. For example, an Import package runs against the default logic unless the Import package is modified to include other logic files. Each logic file contains one or more ABAP programs that run a specific set of logic commands.
Post a journal entry.
Upon posting a journal, the system runs logic that is specific to journal processes. To overwrite the default journal logic, you can create a new script logic file called Journal.lgf.