Redwood Documentation

Product Documentation

 

›RedwoodExpressionLanguage

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
← SAP ALM REL FunctionsSAP FPA REL Functions →

finance-related topic Finance Automation SAP FCc REL Functions

SAP FCc REL functions. The following SAP FCc REL functions are used in the SAP FCc flavor. The functions reside in the Redwood_FCA library. You call these functions by specifying =<partition>.Redwood_FCA.<function>. The examples on this page assume the definition which calls these functions resides in the same partition as the library, specified as $. The default partition of the library is FCA. The REL functions can be accessed via RedwoodScript from the com.redwood.scheduler.custom.fca.fcc.rel.FlSapFccRel class.

defaultFCcParameters

Returns the default value of the specified FCc parameter using the KOKRS, BUKRS, WERKS as specified on the process. If the value is not found by the organizational structure search, additional algorithms are used (which also do organizational searches):

  1. Find subentries and concatenate. Example PARM is not found, then search PARM_1. If found, concatenate with PARM_2
  2. Find Parent. Example PARM_TEST is not found, then search PARM
note

Parameter must be Runtime!

Syntax

Redwood_FCA.defaultFCcParameters(Long jobId, String inParameter, String inKOKRS, String inBUKRS, String inWERKS)

Returns String

Example

=$.Redwood_FCA.defaultFCcParameters(jobId, 'BATCH_USER', '1001', '1002', '1003')

Result

Returns jdoe on this system.

defaultFCcParametersJob

Returns the default value of the specified FCc parameter using the KOKRS, BUKRS, WERKS as specified on the process. If the value is not found by the organizational structure search, additional algorithms are used (which also do organizational searches):

  1. Find subentries and concatenate. Example PARM is not found, then search PARM_1. If found, concatenate with PARM_2
  2. Find Parent. Example PARM_TEST is not found, then search PARM
note

Parameter must be Runtime!

Syntax

Redwood_FCA.defaultFCcParametersJob(Long jobId, String inParameter)

Returns String

Example

=$.Redwood_FCA.defaultFCcParametersJob(jobId, 'BATCH_USER')

Result

Returns jdoe on this system.

getReferenceTaskParameterValue

Returns the String value of a parameter.

note

Parameter must be Runtime!

Syntax

Redwood_FCA.getReferenceTaskParameterValue(Long jobId, String taskName, String jobParameterName, boolean isInput)

Returns String

Example

=$.Redwood_FCA.getReferenceTaskParameterValue(jobId,'TEST Task','CHAIN_PARM',true)

Result

getSapFccAgentUsers

Returns a list of users belonging to the specified responsible agent.

Syntax

Redwood_FCA.getSapFccAgentUsers(Long jobId, String agent)

Returns String

Example

Result

Returns jdoe,jsmith,emustermann on this system.

getSapFccFirstAgentUser

Returns the first user belonging to the specified responsible agent.

Syntax

Redwood_FCA.getSapFccFirstAgentUser(Long jobId, String agent)

Returns String

Example

=$.Redwood_FCA.getSapFccFirstAgentUser(jobId, 'US:C5061314')

Result

Returns jdoe on this system.

getSapFccReplacement

Converts the input string using SAP FCc Replacement (table /JCS/FCC_DEFPARM).

Syntax

Redwood_FCA.getSapFccReplacement(Long jobId, String repl)

Returns String

Example

=$.Redwood_FCA.getSapFccReplacement(jobId, '${F:BATCH_USER}')

Result

Returns jdoe on this system.

taskListTaskUrl

Returns the task list URL for the task.

Syntax

Redwood_FCA.taskListTaskUrl(Long jobId)

Returns String

Example

=$.Redwood_FCA.taskListTaskUrl(jobId)

financeTopic

← SAP ALM REL FunctionsSAP FPA REL Functions →
  • defaultFCcParameters
    • Syntax
    • Example
    • Result
  • defaultFCcParametersJob
    • Syntax
    • Example
    • Result
  • getReferenceTaskParameterValue
    • Syntax
    • Example
    • Result
  • getSapFccAgentUsers
    • Syntax
    • Example
    • Result
  • getSapFccFirstAgentUser
    • Syntax
    • Example
    • Result
  • getSapFccReplacement
    • Syntax
    • Example
    • Result
  • taskListTaskUrl
    • Syntax
    • Example
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 |