Redwood Documentation

Product Documentation

 

›Processes & Subprocesses

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
← Utility Process DefinitionsFCc specific Process Definitions →

finance-related topic FPA specific Process Definitions

The described process definitions are used implicitly to configure the Redwood Finance Automation system.

FCA_FPA_Configuration

The process is used to configure the application by performing several activities. Usually the configuration is done right after installation. It can be used to reset the system to default values.

The process runs the following processes:

  1. Fill application customizing table FCA_ApplicationCustomizing. Existing entries are not overwritten. If you want to reset the system, delete the table or the respective table entries first.
  2. Filter handling. Filters are used in the process monitors, dashboards, navigation bars and process lists. The initial settings are configured in this step.
  3. Configuration of Auditing rules. Delivered Audit rules are created and activated.

FCA_FPA_DefaultParametersSynchronize

This process is used in FCA_FPA_Tasklist_Initialize to synchronize default parameters from SAP parameter table /JCS/FPA_DEFPARM to Redwood Finance Automation.

The table entries are imported into table FCA_DefaultParameters using the process FCA_DefaultParameters_Synchronize.

Parameters

  • SAP_SYSTEMS - Refer to FCA_FPA_TaskDefinition_Event_Template.
  • CLIENT - Refer to FCA_FPA_TaskDefinition_Event_Template.
  • FORCE - Flag to delete existing content in parameter table before inserting values.
  • DELETE_KEYS - List with single parameters to be deleted.
  • TASK_TITLE - Refer to FCA_FPA_TaskDefinition_Event_Template.

FCA_FPA_Notification

It provides a generic process that allows for formatted HTML mails and can be used for simple workflows.

For the Workflow it creates an Operator Message. The link to this Operator Message is provided in the mail and the process waits for it to complete. The FCA_FPA Notification also allows to enter a process which is provided as a link in the notification mail.

The email Body and Text can use the replacements of the application. Additionally the message parameters can use replacements as well.

Parameters

  • Mx_To - Target email addresses (To:). Duplicates will be removed automatically.
  • MX_Cc - Carbon Copy email addresses (Cc:). Duplicates will be removed automatically.
  • MX_BCc - List with BCc addresses. Duplicates will be removed automatically.
  • MX_ReplyTo - Reply To email addresses. Only the first address will be chosen.
  • Mx_Subject - Subject of the email.
  • MX_Urgent - Defines urgency of the email.
  • Mail_Attachments - List with Attachments. The attachments are to be defined as follows:. <attachment_name>=Step x, job y:<file>, for example: SAP_Log.log=Step 1, job 1:joblog.log <attachment_name>=job <jobid>:<file>, for example: Sap_Log.log=job 12345:joblog.log
  • MX_Body - Document containing the Body of the email.
  • MX_Text - Document reference containing the Text of the email. This can either contain a reference to a document in FCA (beginning with doc: ) or a text for the note box which will inserted if the content of this parameter does not match doc: in the beginning.
  • MergeRecord - A merge record (for example from a RULE_RESULT parameter) inserted in this parameter creates a table with the columns specified in RecordColumnList.

The table generated from this merge record can be inserted into the MX_Text parameter or document using the ${RecordTable} tag.

  • RecordColumnList - This parameter needs a comma separated list of column names. The amount of columns needs to match the number of fields per record set of the record specified in MergeRecord.
  • Message1 - Variable that can be referenced in email text.
  • Message2 - Variable that can be referenced in email text.
  • Message3 - Variable that can be referenced in email text.
  • Message4 - Variable that can be referenced in email text.
  • Message5 - Variable that can be referenced in email text.
  • OperatorMessage - Message to be used for the Operator Message.
  • OperatorReply - Reply options for Operator Message. Syntax: ^<Option1>|<Option2>(|<option x>)$ Example: ^Confirm|Abort$ The result of the option selected will be stored in the parameter O_OMREPLY. This parameter can control other steps in the process with a precondition. The option Abort will result in the workflow process to fail (status Error). All other options will result in the workflow process to go to Completed.
  • MX_MailJob - Mail process to use for sending the email.
  • TRAN - This parameter can contain the transaction code of a transaction that is to be executed. Filling this field will automatically generate the execute button at the bottom of the mail.
  • TRAN_PARM - This parameter can contain the parameters which should be filled in the transaction. This can be a semi-colon-separated list.

Example: BUKRS=1000,KOKRS=1000

  • SAP_SYSTEMS - This parameter can be set to override the SAP System that was selected for the process. If it is not set, the SAP System of the process will be selected. The transaction link for the TRAN parameter will be created based on the value of this parameter.
  • CLIENT - This parameter can be set to override the SAP Client that was selected for the process. If it is not set, the SAP Client of the process will be selected. The transaction link for the TRAN parameter will be created based on the value of this parameter.

Email Template

Each mail is delivered with 2 mail templates:

FCA_FPA_Mail_Body

FCA_FPA_Mail_Body_Webmail

The standard mail body uses CSS for mail layout and has been optimized for standard mail clients like Outlook.

The webmail body uses inline CSS and is optimized for webmail clients like gmail.

The structure of a FCA_FPA Mail looks like this:

The notification box is defined in the Mail Body parameter and contains generic information like the task number, the SAP system and the failed process.

The document box can contain the content of a document in Redwood Finance Automation or a freely chosen text. It will also include a second box if process document retrieval was selected and a process document name was defined.

The transaction button (Execute xxxx) allows to execute the SAP transaction started.

note

Even though the FCA_FPA Notification can be used for workflow control, the workflow process definitions should be used. By default, the operator message parameters will be not visible to prevent this kind of usage.

FCA_FPA_TaskList_Create

The process is used to initiate the creation of a process list for a financial close. It interprets a close template, triggers the initialization of context parameters and generates configured processes for the financial close.

Parameters

  • TEMPLATE - Close template, specified as document reference.
  • CHECK - Flag to only check consistency of the close template. No processes are generated.
  • WAIT - Flag to indicate, the process list create process waits for the triggered processes.
  • HOLD - Flag to put all generated processes on hold immediately. Manual release is necessary.
  • TASKLIST_CLOSE_TYPE - Close type, either (M)onth, (Q)uarter or (Y)ear.
  • TASKLIST_END_DATE - Close date. If not specified, the value is retrieved from the FiscalPeriod table.
  • TASKLIST_PERIOD - Close period. If not specified the current value from FiscalPeriod table is retrieved.
  • TASKLIST_YEAR - Close Fiscal Year. If not specified the current value is used from FiscalPeriod table.

FCA_FPA_TaskList_Initialize

The initialization process is trigged in the process list creation process. It takes care of several synchronization processes from SAP to Redwood Finance Automation tables. It runs as first process within a close process.

Parameters

  • DL_Parameters - List with default parameters containing distribution lists.
  • RetrievalType - Method to retrieve global user IDs. Valid values are:.
    • A=Alias,N=No Global Users,P=Personalisation.
  • I_TYPE - Personalization type. Valid values are:.
    • U=Personalisation.
  • I_KEY - Personalization Key.
  • I_FIELD - Personalization field.
  • FP_SYNC_RANGE - Synchronization range (in years) for fiscal periods.
  • USERS - Users (Responsible, Processor, Owner) found in Close template.
  • CALENDARS - Used factory calendars in close template.
  • ROLE - Roles for which process list specific filters are visible in Redwood Finance Automation.
  • DASHBOARD - Flag, if dashboards should be activated for the process list.
  • NAVBAR - Flag, if navigation bars should be activated for the process list.
  • SAP_SYSTEMS - SAP System to retrieve default parameter values from.
  • CLIENT - SAP Client.
  • TASK_ITEM - Node of process item.
  • TASK_SUPERVISOR - Executor of process list.
  • TASK_CALENDAR - Factory calendar.
  • TASKLIST_ID - Name of process list instance.
  • TASKLIST_DESCR - Description of process list.
  • TASK_DESCR - Task name.
  • FPA$STARTED_ACTION - Notification for task started (not used).
  • FPA$RUNLIMIT_ACTION - Notification for task running too long (not used).
  • FPA$FINISHED_ACTION - Notification for task completed (not used).
  • FPA$ERROR_ACTION - Notification for task in error (not used).
  • SID - Refer to FCA_FPA_TaskDefinition_Event_Template.
  • SAP_USER_NAME - Refer to FCA_FPA_TaskDefinition_Event_Template.
  • LANGUAGE - Refer to FCA_FPA_TaskDefinition_Event_Template.
  • SID_CLIENT - Refer to FCA_FPA_TaskDefinition_Event_Template.
  • SID_USER - Refer to FCA_FPA_TaskDefinition_Event_Template.
  • TASK_NO - Refer to FCA_FPA_TaskDefinition_Event_Template.
  • KOKRS - Refer to FCA_FPA_TaskDefinition_Event_Template.
  • BUKRS - Refer to FCA_FPA_TaskDefinition_Event_Template.
  • TASKLIST_END_DATE - Refer to FCA_FPA_TaskDefinition_Event_Template.
  • TASKLIST_YEAR - Refer to FCA_FPA_TaskDefinition_Event_Template.
  • TASKLIST_PERIOD - Refer to FCA_FPA_TaskDefinition_Event_Template.
  • TASK_TITLE - Refer to FCA_FPA_TaskDefinition_Event_Template.
  • RULE - Action rule to apply (as post running action).

FCA_FPA_Workflows

For processing workflows in tasks, the following definitions are available:

  • FCA_FPA_Workflow_Confirm.
  • FCA_FPA_Workflow_AcceptReject.
  • FCA_FPA_Workflow_RestartContinueAbort.

The definitions are based on a Redwood UserMessage and will create a business user message for workflow processing. They require the process System_UserMessage_Notification in the Redwood Finance Automation partition. This process will send an enriched HTML mail to the selected recipients.

The email Body and Text can use the replacements of the solution. Additionally the message parameters can use replacements as well.

Parameters

TabNameDescriptionDocumentationDefault ExpressionValues
MailMX_ToList with TO: Userids or email addresses

MailMX_CcList with CC: userid's or email addresses

MailMX_BCcList with BCC: userid's or email addresses

MailMX_ReplyToReply-To: userid or email address

MailOVERRIDE_MX_TO_MAIL_ADRESSESOverride To email adressesOverride To email adresses to supress sending mail to Users that are assigned to the Usermessage

MailMX_SubjectMail Subject

==Action Required==

MailMX_Urgent`Raise/Lower importance of mail

,high,low
MailMail_AttachmentsMail Attachments

MailIN_NOTE_TARGETNote target

WB=Both,T=Task,W=Workflow,N=Notes forbidden
MailIN_UPLOAD_TARGETAttachments target

TB=Both,T=Task,W=Workflow,N=Upload forbidden
MailIN_UPLOAD_NAMEName for uploaded filesIf this parameter is set, files uploaded by the user in the inbox will be fixed to the following pattern:
Upload_<Process Object Name>_<IN_UPLOAD_NAME><incrementing number starting with 1)>.<extension of the originally uploaded file>

.

MailMX_BodyMail Body reference (Document ID)

${A:FPA_Mail_Body}

MailMX_TextMail Text (Document ID or plain text)

${A:FPA_Mail_Workflow}

MailIN_TEXT_HEADERText HeaderDisplays the set text in a bar above the mail text. Leave empty to hide the bar.NOTE

MailINLINE_TABLEInline table for mailIf this parameter is not empty, placing the tag ${INLINE_TABLE} anywhere in the mail body / text will result in an inline table representing the provided RTX table.

MailMergeRecordResult list for table displayConverts a result list into a table display. The table can be used in the mail text using a text replacement with the content RecordTable.

MailRecordColumnListList with columns for result list tableComma separated list. The amount of columns must match the number of the result list elements.

MailUSER_MESSAGE_BUTTON_CAPTIONUser message button captionUsed to as caption in for the user message button within the mail body, does not appear in the inbox view of the user messageProcess Requested Action

MailMessage11st Message

MailMessage22nd Message

MailMessage33rd Message

MailMessage44th Message

MailMessage55th Message

MailUserMessage_HistoryWorkflow history

WorkflowUserMessage_SelectedActionnull

WorkflowUserMessage_InitialAssigneeInitial Assignee

WorkflowUserMessage_ParticipantsParticipant UsersA comma separated list of the users allowed to reply to the user message.

WorkflowUserMessage_Commentnull

WorkflowUserMessage_RolesParticipant RolesA comma separated list of the roles allowed to reply to the user message.

WorkflowMX_DelegateToDelegate ToA type of user the user message can be delegated to.

P=Participant users
U=Delegating user
WorkflowUserMessage_AttachAttach notification?Attach the notification Task to this user message?YY,N
WorkflowUserMessage_FileListUser message file list

WorkflowUserMessage_ActionResponderResponder of the user message action

WorkflowOUT_UPLOADED_FILEUploaded files

WorkflowUserMessage_NotifyMethodNotify Method

None
IndividualEmails</br />OneEmail
InfrastructureNotificationJobNotification definition to be startedThe value of this parameter is expected to be in business key format ( like JobDefinition:PartitionName.My_System_UserMessage_Notification )

Infrastructure_SYSTEMIDSystem ID of FCA

<current_system_id>

User message optionsIN_UM_TEXTUser message short text

Please [Accept] to continue or [Reject] to abort the process

TargetTRANSAP Transaction

TargetTRAN_PARMSAP Transaction ParametersSeparated by semicolon

TargetSAP_SYSTEMSSAP System

TargetCLIENTSAP Client

RuntimerMail_SubjectMail Subject

RuntimerMail_CcMail CC addresses

RuntimerMail_BCcMail BCc addresses

RuntimerMail_ReplyToReply To address

RuntimerMail_HTMLHTML result mail

Mail reactorReactMailSet to X when react e-mail should be generated

X
Mail reactorMailConnectorMailConnector for react mail generation

Mail reactorReply_SubjectSubject in reply mail-to links

  • Mx_To - Comma separated list of participants. Only users that have either previously logged in or been imported can be participants (recipients) for a user message workflow, all other e-Mail addresses will be removed from the participant list. If no participant is left, a notification will be sent to the Redwood automation platform support team defined in the application customizing parameter Base_Mail_Support. The e-Mail address stored in the redwood platform user will be used by System_UserMessage_Notification as To address. Also, only the users defined as To participants will be able to respond to the workflow.
  • MX_Cc - Carbon Copy email addresses (cc:). Duplicates will be removed automatically.
  • MX_BCc - List with blind carbon copy addresses (bcc). Duplicates will be removed automatically.
  • MX_ReplyTo - Reply To email addresses. Only the first address will be used.
  • OVERRIDE_MX_TO_MAIL_ADRESSES - Suppresses sending emails to the assignee of the user message.
  • Mx_Subject - Subject of the email.
  • MX_Urgent - Defines urgency of the email.
  • Mail_Attachments - List with Attachments. The attachments are to be defined as follows:.
    • <attachment_name>=Step x, job y:<file>, for example: SAP_Log.log=Step 1, job 1:joblog.log.
    • <attachment_name>=job <jobid>:<file>, for example: Sap_Log.log=job 12345:joblog.log.
  • MX_Body - Document containing the Body of the email, defaults to ${A:FPA_Mail_Body}.
  • MX_Text - Document reference containing the Text of the email. This can either contain a reference to a document in FCA (beginning with doc: ) or a text for the note box which will inserted if the content of this parameter does not match doc: in the beginning, defaults to ${A:FPA_Mail_Workflow}.
  • MergeRecord - A merge record (for example from a RULE_RESULT parameter) inserted in this parameter creates a table with the columns specified in RecordColumnList. The table generated from this merge record can be inserted into the MX_Text parameter or document using the ${RecordTable} tag.
  • RecordColumnList - This parameter needs a comma separated list of column names. The amount of columns needs to match the number of fields per record set of the record specified in MergeRecord.
  • Message1 - Variable that can be referenced in email text.
  • Message2 - Variable that can be referenced in email text.
  • Message3 - Variable that can be referenced in email text.
  • Message4 - Variable that can be referenced in email text.
  • Message5 - Variable that can be referenced in email text.
  • IN_UM_TEXT - Specify the text for the user message.
  • OperatorMessage - Message to be used for the Operator Message.
  • OperatorReply - Reply options for Operator Message (Example: ^Confirm|Abort$).
    • The syntax is: ^<Option1>|<Option2>...|<Optionx>$.
    • The result of the option selected will be stored in the parameter O_OMREPLY. This parameter can control other steps in the process with a precondition. The option Abort will result in the workflow task to fail (status error). All other options will result in the workflow task to go to Completed.
  • TRAN - This parameter can contain the transaction code of a transaction that is to be executed. Filling this field will automatically generate the execute button at the bottom of the mail.
  • TRAN_PARM - This parameter can contain the parameters which should be filled in the transaction. This can be a semi-colon-separated list.
    Example: BUKRS=1000;KOKRS=1000.
  • SAP_SYSTEMS - This parameter can be set to override the SAP System that was selected for the process. If it is not set, the SAP System of the process will be selected. The transaction link for the TRAN parameter will be created based on the value of this parameter.
  • CLIENT - This parameter can be set to override the SAP Client that was selected for the process. If it is not set, the SAP Client of the process will be selected. The transaction link for the TRAN parameter will be created based on the value of this parameter.

Mail Template

Each mail is delivered with 2 mail templates:

  • FCA_FPA_Mail_Body
  • FCA_FPA_Mail_Body_Webmail

The standard mail body uses CSS for mail layout and has been optimized for standard mail clients like Outlook.

The webmail body uses inline CSS and is optimized for webmail clients like gmail.

The structure of an FCA_FPA Mail is as follows:

The notification box is defined in the Mail Body parameter and contains generic information like the task number, the SAP system and the failed task. For Redwood Finance Automation , it also includes the org structure and process list information in the left section, overall settings in the right section.

The document box can contain the content of a document in Redwood Finance Automation or a freely chosen text. It will also include a second box if task document retrieval was selected and a task document name was defined.

The transaction button (Execute xxxx) allows to execute the SAP transaction started.

Mail Text parameters

In the mail bodies internal parameters can be used within the mail text. They work in the context of the given task and provide possibilities to use them without using replacements.

The following key words are supported:

Key wordMeaningExample
${Executor}Executor user in Redwood Finance Automation TaskFCc: Task Processor (FCC_TSK_PROC)
${FYearPeriod}Fiscal Period

${Job_Description}Description of the task

${Job_Elaps}Elapsed time of the task

${Job_StartTime}Start time of process28.10.2015 14:54:09
${Message1}Message variable 1

${Message2}Message variable 2

${Message3}Message variable 3

${Message4}Message variable 4

${Org_Title}Organisational contextCA=1000 / CC=0005
${Period_FromTo}Fiscal period context01.10.2015 => 31.10.2015
${RAP_SYSID}System IDRedwoodPlatform:sysid.fca.internal:10180
${RecordTable}Contents of merge record in table formatTable display of a list of records
${Responsible}Responsible user in FPA TaskHugo Wolf (WOLFHUGO)
${rMail_Subject}Mail subject

${SapUser}Executing SAP userHugo Wolf (WOLFHUGO)
${Owner}Owner user in Redwood Finance Automation TaskHugo Wolf (WOLFHUGO)
${SapFpaSystem}SAP target systemFCA.SID_FCA
${SapFpaClient}SAP target client110
${Title_Color}Color of title in mail textcolor:#FFFFFF
${toMailName}To Mail recipientHugo Wolf (WOLFHUGO)

Workflow control

Based on the workflow process, additional parameters are available and a different workflow handling can be done. For proper workflow behavior, the step including the workflow process must only contain the workflow process. Adding additional processes to the same step will cause the workflow being handled incorrectly.

FCA_FPA_Workflow_Confirm

This workflow will create a usermessage allowing a confirm only. The default status handler for the step including this workflow will be standard for completed and error.

FCA_FPA_Workflow_AcceptReject

This workflow will create a usermessage with the response options Accept and Reject. The workflow process will fail on Reject and will complete on Accept.

The status handlers for the step including this workflow can be adjusted to reflect the desired behavior of the task.

FCA_FPA_Workflow_RestartContinueAbort

This workflow will create a usermessage with the response options Restart, Continue and Abort.

The responses Restart and Continue will cause the workflow process to complete, the response Abort will cause the workflow process to finish with error.

The status handler for the step containing this workflow should be Goto <Step> (preferably the step containing the workflow) for Completed and Raise Error for Error.

In addition, this workflow offers three additional parameters:

  • IN_RESTART_STEP - Step name of the step that should be processed if the Restart option is selected. The status handler for Completed must contain a goto option in order for this to work.
  • IN_CONTINUE_STEP - Step name of the step that should be processed if the Continue option is selected. The status handler for Completed must contain a goto option in order for this to work.
  • IN_ABORT_STEP - Step name of the step that should be processed if the Restart option is selected. The status handler for Error must contain a goto option in order for this to work.

SAP Credentials

SAP credentials are specified in CREDENTIAL_USER parameters by specifying the SAP user name; the credential must exist and have the following properties:

FieldDescriptionValue
Credential ProtocolThe credential protocol for SAP connectionsGLOBAL.SAP_RFC
EndpointThe target SAP system<partition>.<name>
Real UserThe SAP user namejdoe

financeTopic

← Utility Process DefinitionsFCc specific Process Definitions →
  • FCA_FPA_Configuration
  • FCA_FPA_DefaultParametersSynchronize
  • Parameters
  • FCA_FPA_Notification
  • Parameters
  • Email Template
    • FCA_FPA_Mail_Body
    • FCA_FPA_Mail_Body_Webmail
  • FCA_FPA_TaskList_Create
  • Parameters
  • FCA_FPA_TaskList_Initialize
  • Parameters
  • FCA_FPA_Workflows
  • Parameters
  • Mail Template
  • Mail Text parameters
  • Workflow control
    • FCA_FPA_Workflow_Confirm
    • FCA_FPA_Workflow_AcceptReject
    • FCA_FPA_Workflow_RestartContinueAbort
  • SAP Credentials
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 |