Redwood Documentation

Product Documentation

 

You are currently viewing the legacy RunMyJobs documentation site. This site will be taken down later this month.
All current and future RunMyJobs documentation, including versions 2023.3 and later, can be found here.
Please update your bookmarks. Use the version dropdown menu to select the documentation you need.

›Components

Finance AutomationGuides and Components

User Guides

  • Home User Guide
  • BSC User Guide
  • Data Extractor User Guide
  • Data Transformer User Guide
  • Document Editor User Guide
  • Inbox User Guide
  • Orchestrator User Guide
  • Runner User Guide
  • SAP Process Definition Generation User Guide
  • Table Editor User Guide
  • Workbench User Guide

Components

  • RFA Components
  • SE16
  • Utils_Amounts_Compare
  • Utils_Child_Run
  • Utils_Excel_Get_Cell_Value
  • Utils_Excel_Set_Cell_Value
  • Utils_File_Transfer
  • SE16
  • File_Write
  • Generic_Loop
  • Read_Layout

Asset-related

  • AS01
  • AS02
  • AR01
  • AR02
  • AR05
  • AR06
  • AR07
  • AR08
  • AR18
  • AR19
  • IM12
  • IM22
  • IM42

Line Item-related

  • KOB1
  • FBL1N
  • FBL3N
  • FAGLL03
  • FBL5N
  • RFEPOJ00
  • CJI3

Document-related

  • FB03
  • FBIC025
  • FBICA3
  • FBICS3
  • S_ALR_87012287
  • ME2N

Other Components

  • KO01
  • KO8G
  • KOK4
  • OKP1
  • AFAB
  • F.08
  • F.13
  • F.23
  • F110_Actions
  • F110
  • SAPFPAYM_SCHEDULE
  • FC10
  • GCAC
  • OB52
  • MMRV
  • CJ8G

Helper Programs

  • RKOSEL00
  • RKPSEL00
  • RF110SMS
  • RFKSLD00
  • RM07MMFI
← RFA ComponentsUtils_Amounts_Compare →

finance-related topic SE16 - Output SAP Table Content

Component Name and System Landscape

  • Name: FCA_SAP_Tablecontent_List
  • Description: SAP - BC: Tran SE16 - output SAP Table content
  • Application: FCA_SAP_Transactions
  • Type: RedwoodScript
  • Other Info: SAP Manual - Transaction SE16

Brief Description

This component allows for data retrieval from SAP tables. Same concept as the SE16 SAP Program.

Parameter Mapping - Generic Tabs

There are several tabs under this section. Some will be generic, and others are specific to the component. The generic tabs usually are:

  • Target: Requires SAP and Client information. You can also hard code the SAP username.
  • Infrastructure: Used for Action rules. See the Redwood Finance Automation Reference.
  • Recipient parameters: Generally left to default values.
  • Job output parameters: Defines the format of the required output. Defaults to RTX and Text. See Porgam Handling for more information.
note

Most of the time these tabs will be shown, but there are components where these differ and either do not appear at all, or they are specific tabs.

Parameter Mapping - Specific Tabs

This guide shows the minimum parameter values required for the component to run. Please refer to the Redwood Automation Engineering Training course for submission and monitoring activities.

Tab Technical Name Description Format Mandatory Field Example
Parameters Delimiter Delimiter

Yes | or, or;
Parameters Table Table <TableName> Yes SKB1
Parameters Fields Fields <ColumName>

BUKRS, SAKNR
Parameters Selection Selection Criteria See Defining the Where Clause section

SAKNR IN ('11000')
Parameters OrderBy Sorting Criteria Comma sep list + ASC or DESC

Parameters Limit Limit of records to read

500
Parameters Rowskips Number of records to skip

100
Parameters Error Raise error on

Empty or Found
Operation - IN OP_IN_1_LOGIC Operation IN - Logic - 1 See Defining the Where Clause section Yes AND, OR
Operation - IN OP_IN_1_FIELD Operation IN - Field - 1 <ColumnName>

BUKRS
Operation - IN OP_IN_1_VALUE Operation IN - Value - 1 <value>

1000

Defining the Where Clause

When configuring the component, it is important to define a Where clause to ensure we only query the necessary data from SAP. This can be achieved by either populating the Selection Criteria parameter or by using the parameters in the Operation IN tab.

See examples when using the Selection Criteria parameter.

  • BUKRS IN ('1000, 2000) - This condition is true if the column Company Code does contain one of the values 1000 or 2000.
  • BUKRS NOT IN ('1000', '2000') - This condition is true if the column Company Code does not contain the values 1000 or 2000.
  • BUKRS '1000' - This condition is true if the column Company Code has the contents 1000.
  • BUKRS NE '1000' - This condition is true if the column Company Code does not contain the string 1000.
  • BUKRS NOT BETWEEN '1000' AND '2000' - This condition is true if the column Company Code is one character long and its contents are not between 1000 and 2000.
  • BUKRS LIKE '%1000%' - This condition is true if the column Company Code contains a string containing the pattern '1000'.
  • BUKRS NOT LIKE '1000%' - This condition is true if the column Company Code does not contain a string containing the pattern '1000'.

The Operation IN tab allows you create a simple WHERE clause with the condition IN. All you need to do is populate the <FieldName> with the Column Name and the value(s). The tab contains 5 different options (parameter combinations) so you can add lookups on multiple columns.

The Operation Logic parameter allows you to add some AND/OR logic to the Where clause.

See example below using table VBAP and columns VBELN (Sales doc).

  • Operation IN – Logic – 1 → AND
  • Operation IN – Field – 1 → VBELN
  • Operation IN – Value – 1 → 0000004969

See example below using table VBAP and POSNR (Item).

  • Operation IN – Logic – 2 → AND
  • Operation IN – Field – 2 → POSNR
  • Operation IN – Value – 2 → 000010

Troubleshooting

  • Ensure the RFC user or the component user running the component have the required SAP authorization.
  • It often happens that the component is configured ‘correctly’ but the output is empty because of SAP field formatting issues for example VBLEN(0000004969). In this case, it is best to test the component first with only a few records. Execute the component, specify a table name and set the Limit parameter to 100 records. The output will then show the necessary formatting and how much padding is needed in certain fields. You can then build your where clause appropriately.
  • The where clause is limited to 72 characters. However, it is possible to have a where clause with more than 72 characters. In order to achieve this, split up the clause in chunks of no more than 72 characters, separated by a semicolon.

See Also

Redwood Finance Automation Reference

financeTopic

← RFA ComponentsUtils_Amounts_Compare →
  • Component Name and System Landscape
  • Brief Description
  • Parameter Mapping - Generic Tabs
  • Parameter Mapping - Specific Tabs
  • Defining the Where Clause
  • Troubleshooting
  • 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 |