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
← Generic SAP Synchronization Process DefinitionsCustomizing Redwood Finance Automation →

finance-related topic Bulk Data Processing

A number of SAP transactions support bulk data input such as Journals, GB11, and MEB1, for example, to create transactions and transaction items from bulk input. This bulk input can be either a merge record (as string or a fully qualified document containing the merge record) and/or an RTX. These process definitions have the following Bulk tab:

FieldDescriptionExample
Bulk Input Data (MergeRecord)A merge record containing multiple fields to be processed40;1000,5;50;90;50;10,5;40;425;X50;970;
Bulk Input Data (RTX)Reference to an RTX fileJobFile:1234:InputData.rtx
note

Although you can specify inline RTX data, this should be discouraged as it will consume more memory and increase the size of the database tables.

Merge Record Syntax

The default merge record syntax is as follows:

row-separator := |<p />
field-separator := ;
field := any data
[...]*:= zero or more of whatever is enclosed in []
[<field>[<field-separator><field>]*<row-searator>]*

Bulk Input Data (RTX) Parameter Syntax

Table parameters such as Bulk Input Data (RTX) accept the following syntaxes:

SyntaxDecriptionExample
Inline:<xml>The keyword Inline: followed by RTX data.Inline:<?xml version="1.0" encoding="UTF-8"?>\n <table xmlns="http://schema.redwood.com/report/rtx.xsd"> <metadata> <columns> <column> <name>Posting Key</name> <string></string> </column> <column> <name>Amount</name> <string></string> </column> <column> <name>New Transaction</name> <string></string> </column> </columns> </metadata> <data> <r><k></k><v>40</v><v>100,5</v><v></v></r> <r><k></k><v>50</v><v>900</v><v></v></r> <r><k></k><v>50</v><v>10,5</v><v></v></r> <r><k></k><v>40</v><v>425</v><v>X</v></r> <r><k></k><v>50</v><v>970</v><v></v></r> </data> </table>
JobFile:<Process_id>:<file_name>The JobFile: keyword followed by the process ID, a colon:, and the filename.JobFile:1234:stdout.rtx
RelativeFile:<step_name>, Job <>Process_number_in_step>:<file_name>The RelativeFile: keyword followed by a relative process expression, a colon:, and the filename.RelativeFile:Initialization, Job 3:stdout.rtx
Table:<partition>.<table_name>The Table: keyword followed by the Redwood Finance Automation table partition, a period (``.), and table name.Table:GLOBAL.MySpecialTable

FCA_SAP_Tran_Journal_Post

Specific processes can perform bulk transactions, such as FCA_SAP_Tran_Journal_Post.

The Bulk tab works just like other process definitions.

On the Header tab, you must specify Document Type, Company, Posting Date, and Currency, other parameters are optional. Start new Transaction can be set to {New Transaction}, this will read the marker in the merge record/table (last field).

On the Item - 1, Item - 2, and Item - 3 tabs, you specify {Posting Key} in the Posting Key parameter, it will be resolved as the posting key in the merge record/table (first field), the Amount will be the second field.

Following the example above, the following merge record is equivalent with the RTX below it:

40;1000,5;|50;900;|50;10,5;|40;425;X|50;970;

The following RTX was generated from process with id 1234, equivalent to the above merge record:

<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://schema.redwood.com/report/rtx.xsd">
  <metadata>
    <columns>
      <column>
        <name>Posting Key</name>
        <string></string>
      </column>
      <column>
        <name>Amount</name>
        <string></string>
      </column>
      <column>
        <name>New Transaction</name>
        <string></string>
      </column>
    </columns>
  </metadata>
  <data>
    <r><k></k><v>40</v><v>100,5</v><v></v></r>
    <r><k></k><v>50</v><v>900</v><v></v></r>
    <r><k></k><v>50</v><v>10,5</v><v></v></r>
    <r><k></k><v>40</v><v>425</v><v>X</v></r>
    <r><k></k><v>50</v><v>970</v><v></v></r>
  </data>
</table>

To specify the above RTX as parameter value inline, you would set the parameter to the following:

Inline:<?xml version="1.0" encoding="UTF-8"?><table xmlns="http://schema.redwood.com/report/rtx.xsd"><table xmlns="http:/[...]

This is much longer than a merge record. If you have to specify data as parameter value without specifying an process file, prefer a merge record.

Note that JobFile:1234:InputData.rtx is shorter than a usual merge record; even in a process definition, where you would use ='JobFile:' + JobChainParameters.getJobId('<step_name>, job <process_number_in_step>') + ':<output_file>.rtx' such as, for example, ='JobFile:' + JobChainParameters.getJobId('Step 3, job 1') + ':journal_postings.rtx'.

Merge Record Example Parameter Values for FCA_SAP_Tran_Journal_Post

You want to use the above merge record to specify a number journal postings.

TabField DescriptionField NameValue
Bulk

Bulk Input Data (MergeRecord)IN_DATA
HeaderStart new TransactionIN_DATA_NEW_HDR{3}
HeaderDocument TypeBLARTDZ
HeaderPosting DateBUDAT20190329
HeaderCurrencyWAERSEUR
Item - 1Posting KeyNEWBS_1{1}
Item - 1AmountWRBTR_1{2}

RTX Example Parameter Values for FCA_SAP_Tran_Journal_Post

You want to use the above RTX file to specify a number journal postings.

TabField DescriptionField NameValue
Bulk

Bulk Input Data (RTX)IN_DATA_RTX
HeaderStart new TransactionIN_DATA_NEW_HDR{New Transaction}
HeaderDocument TypeBLARTDZ
HeaderPosting DateBUDAT20190329
HeaderCurrencyWAERSEUR
Item - 1Posting KeyNEWBS_1

Item - 1AmountWRBTR_1{Amount}

See Also

Process Definitions And Subprocesses

financeTopic

← Generic SAP Synchronization Process DefinitionsCustomizing Redwood Finance Automation →
  • Merge Record Syntax
  • Bulk Input Data (RTX) Parameter Syntax
  • FCA_SAP_Tran_Journal_Post
  • Merge Record Example Parameter Values for FCA_SAP_Tran_Journal_Post
  • RTX Example Parameter Values for FCA_SAP_Tran_Journal_Post
  • See Also
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 |