Redwood Documentation

Product Documentation

 

›Action Rules

Finance AutomationFinance Automation Reference

Introduction

  • Introduction

Template And Parameter Maintenance

  • Close Template
  • Process Lists in Orchestrator
  • Workflow Templates
  • Templates
  • FCc Templates

Balance Sheets

  • Balance Sheet Certification
  • BSC Installation
  • BSC Process Definitions
  • BSC Rules

Enhancements

  • Enhancements
  • Journal Extensions
  • Journal Definitions

Processes & Subprocesses

  • Process Definitions
  • Generic Loop
  • General SAP Process Definitions (Abap Run)
  • General SAP Process Definitions (Mail)
  • General SAP Process Definitions (Batch Input)
  • General SAP Definitions
  • Generic and Infrastructure Definitions
  • Utility Process Definitions
  • FPA specific Process Definitions
  • FCc specific Process Definitions
  • EBS specific process definitions
  • SAP Functional Process Definitions
  • Generic SAP Synchronization Process Definitions
  • Bulk Data Processing

Customizing

  • Customizing Redwood Finance Automation
  • Redwood Finance Automation Application Customizing FPA flavor
  • Redwood Finance Automation Application Customizing FCc Flavor
  • Redwood Finance Automation Application Customizing SAP
  • Redwood Finance Automation Application Customizing Base
  • Redwood Finance Automation Application Customizing Mail HTML Styles

Action Rules

  • Action Rules
  • Action rules Syntax
  • Files via Output Selection in Action Rules
  • Base Rules
  • SAP Rules
  • ABAP Rules
  • Transaction Rules

Replacements

  • Replacements
  • Base Replacements
  • Generic SAP Replacements
  • FPA Specific Replacements
  • FCc Specific Replacements
  • SAP FCc Replacements

RedwoodExpressionLanguage

  • REL Expressions
  • Base REL Functions
  • SAP Contraint REL Functions
  • SAP REL Functions
  • SAP ALM REL Functions
  • SAP FCc REL Functions
  • SAP FPA REL Functions
  • Reconciliation REL Functions
  • SAP REL functions, Miscellaneous

Default Roles

  • Built-in Roles

Appendix: Reference

  • SAP Add-Ons Contents
  • Chain Definition Templates
  • Process Definition Templates
← Action RulesFiles via Output Selection in Action Rules →

finance-related topic Action rules Syntax

General Syntax

<rule_name>(<List of comma-separated parameters>)

Optional and mandatory parameters

Parameters may be mandatory or optional. They are separated by commas.

Optional parameters are described in square brackets [<parameter name>].

You leave the parameter empty when you wish to omit an optional parameter in an action rule.

Parameter specification

Each parameter of an action rule can be specified in a rule-specific way.

In some cases, the value of a parameter contains characters that are also used as separators (like comma, semicolon). In these cases, the value can be specified as [<value>].

note

If files can be specified as input, then this can also be files relative to a process definition, a document, or even file on the server.

  • Syntax for addressing files.

Rule input

Input to the rule can be specified by either a parameter which contains the location of an input file, or implicitly by a rule result of a rule which was executed before the actual rule (see multiple rules using concatenation).

Usually an input file refers to a result of a process run in SAP. The result of a process is an application log or spool output.

Some of the rules allow to select these output files from the current but also other processes. Therefore this selection of the input is called Output Selection.

In the Rules, the parameter name <Output Selection> will be used globally.

A list of several input files are separated by semicolon.

Syntax

<Criteria>[[;<Criteria>]
  • <Criteria> - [<Target Filename>=]<Source Filename>.
  • [<Target Filename>] - Specifies the target file name like "stdout.log". In case the source file is defined generically, the target name is used as a prefix separated by _.
  • <Source FileName> - The syntax to address source files is described in the section above. Default for Source FileName is step1_spool1.txt.

Rule output

There are usually two possible rule outputs: return code and merge record.

A return code is basically an error code. In general a return code of 0 means no error occurred. A return code not equal to zero leads to a process to reach status Error, unless the return code is handled with action handlers which can set process status individually.

A merge record is comparable to a comma separated value list. It represents a table like list where lines are separated by a line separator and values within a line are separated by comma.

Results in form of a merge record are available either in the parameter RULE_RESULT of a process or as input to the next rule (see multiple rules using concatenation).

  • RULE_RESULT - Merge record containing result list.

Multiple rules using concatenation

You separate multiple rules using semi-colons.

The output of a rule is a merge record (see above). This is used in memory as input to the next rule.

The output of a sequence of rules is the output of the last rule. The return code and merge record of the last rule can be evaluated.

If a rule requires parameters that also contains a semicolon, then a rule can be enclosed by square brackets to indicate where the rule starts and ends as a processing unit.

financeTopic

← Action RulesFiles via Output Selection in Action Rules →
  • General Syntax
  • Optional and mandatory parameters
  • Parameter specification
  • Rule input
  • Syntax
  • Rule output
  • Multiple rules using concatenation
Docs
Getting StartedInstallationFinance InstallationConcepts
TroubleshootingArchiving
Learn and Connect
Support Portal
BlogEventsResources
ISO/ IEC 27001 Information Security Management
Automate to be human

2023 All Rights Reserved |

Terms of Service | Policies | Cookies | Glossary | Third-party Software | Contact | Copyright | Impressum |