Redwood Documentation

Product Documentation

 

›Advanced Configuration

RunMyJobsSAP Connector

Introduction

  • The SAP Connector
  • HANA Platforms

Configuration

  • Configuring the Central and Satellite Systems
  • Installing SAP JCo
  • Configuring an SAP System for Process Automation
  • SAP RFC User Privileges
  • Assigning SAP Authorizations to the RFC User
  • Connecting to SAP Systems
  • Connecting to SAP Systems with the Wizard
  • Connection Details for the ABAP Stack
  • Intercepting SAP Jobs
  • SAP Job Interception Configuration
  • Interacting with SAP Events
  • Configuration Details on Interacting with SAP Events
  • Parsing Log Files to set Status of SAP Jobs
  • Understanding the Different XBP Interface Releases

Importing SAP Objects

  • Importing Objects from SAP Systems
  • Importing ABAP Programs
  • Importing ABAP Program Parameter Definitions
  • Importing Archive Objects
  • Importing Batch Events
  • Importing SAP BusinessObjects Processes
  • Importing SAP Calendars
  • Importing SAP CCMS Jobs
  • Importing Communication Channels via PI/XI
  • Importing External Commands
  • Importing and Running Mass Activities
  • Importing Output Devices
  • Importing Process Chains
  • Importing Process Chain Definitions
  • Importing Recipients
  • Importing Variants
  • Importing Variant Definitions

SAP ABAP

  • Handling ABAP Programs
  • Controlling Batch Input Sessions
  • Handling Variants
  • Creating and Modifying Variants in Redwood Server
  • Maintaining Variants Manually
  • Maintaining Variants Automatically
  • Maintaining Variants Automatically (Advanced)
  • Using Temporary Variants
  • Default SAP Process Definitions

Business Objects

  • Main
  • Interface Configuration
  • Crystal Reports
  • Web Intelligence
  • Data Services
  • Triggering Events
  • Crystal Reports REST
  • Web Intelligence REST

Process Chains

  • Handling Process Chains
  • Running Process Chains
  • Monitoring Process Chains
  • Restarting Process Chains

SAP PI/XI

  • SAP Communication Channels with PI/XI
  • Controlling Communication Channels with Redwood Server via PI/XI

Adaptive Computing

  • SAP Adaptive Computing
  • Controlling SAP Adaptive Computing

SAP Monitoring

  • Integrating SAP Monitors
  • Configuration Details for Integrating SAP Monitors
  • Sending Monitoring Data to SAP Systems
  • Configuration Details for Sending Monitoring Data to SAP Systems
  • Monitoring Redwood Server Availability in CEN
  • Active XMB Monitoring
  • Active IDoc Monitoring

Advanced Configuration

  • Connect to an ABAP System via SAProuter
  • SNC connection to an SAP System
  • The SAP Cryptographic Library
  • Tuning Redwood Server

Legacy Systems Support

  • Enable XBP 2.0 or 3.0 Functionality
  • Enhanced SAP Interfaces with Redwood Transports
← The SAP Cryptographic LibraryEnable XBP 2.0 or 3.0 Functionality →

Tuning Redwood Server

Tuning allows you to customize the behavior of Redwood Server as well as lower the pressure on SAP Systems.

Tuning Redwood Server

Redwood Server Can be customized by modifying the three submit frames of the following built in process definitions:

  • System_DeleteJobFiles - delete process logs and output files of deleted processes.
  • System_ProcessKeepClauses - delete old processes according to keep clauses.
  • System_UpdateJobStatistics - update runtime statistics of processes.

By default, these processes are submitted every 15 minutes, you may increase or decrease this by changing the interval of the submit frame.

More information about submit frames can be found in the user guide.

Tuning SAP connections

SAP RFC connections can be tuned, although the default behavior should be ideal for most, if not all implementations. The RFC library in SAP NetWeaver is limited to 404 concurrent RFC connections by default, this can be changed by setting the jco.cpic_maxconv Java property, please see the SAP documentation for more information and SAP Note 2124330.

By default, Redwood Server will open as many RFC connections as required to process the load of jobs. Ideally, Redwood Server would use two or less. However, heavy load and multiple concurrent jobs can require more RFC connections, in which case these will be opened; they are closed again after a predefined idle time. If your SAP System is running slow, and the bottleneck has been identified as a high number of open RFC connections, then you can limit the maximum amount of open RFC connections for XBP, XAL and XMW. Note that this can influence the schedule of jobs controlled by Redwood Server.

There is always one reserved RFC connection that the service uses to connect to the SAP System, additionally, there can be one or more RFC connections for every interface. When you tune the RFC connections, bear this extra RFC connection in mind.

RFC connections are mostly used to create and start jobs, like an SAP_AbapRun process, and are closed after an idle time. Import jobs, however, like SAP_ImportCcmsJobs, will use an RFC connection until the process finishes and the idle time has been reached. There is also a pool of RFC connections that is used to monitor jobs and retrieve job output as well as log files; by default, the maximum pool size is set to 10 and RFC connections will be opened as required until the maximum value has been reached.

When Redwood Server is not monitoring, starting jobs or retrieving output, there should only be one RFC connection open after the idle time of the other RFC connections.

Procedure

To edit the submit frame of the process System_UpdateJobStatistics

  1. Choose "Environment > Submit Frames".
  2. Choose Refresh to update the list.
  3. From the context-menu of the System_UpdateJobStatisticsSubmitFrame submit frame, choose Edit.
  4. Choose The Elements tab and edit the value after Every Number of as well as the unit, if required.
  5. Choose Save & Close.

To edit the maximum numbers of RFC connections of an SAP System connection

  1. Choose "Environment > SAP".
  2. Choose the Refresh button to update the list.
  3. Choose Edit from the context-menu of the SAP System to edit.
  4. Choose The XBP tab and edit the value after Max. number of RFC connections.
  5. Choose Save & Close.

Example

  1. Choose "Environment > Submit Frames".
  2. Choose Refresh to update the list.
  3. From the context-menu of the System_UpdateJobStatisticsSubmitFrame submit frame, choose Edit.
  4. Choose The Elements tab and enter the following value in the Every Number of field 1, for the Unit field choose Days.
  5. Choose Save & Close.

To edit the maximum numbers of RFC connections of an SAP System connection

  1. Choose "Environment > SAP".
  2. Choose Refresh to update the list.
  3. From the context-menu, choose Edit.
  4. Choose The XBP tab and enter the following value after Max. number of RFC connections, 10.
  5. Choose the Save & Close button to save changes and leave the editor.

Result of the Example

System_UpdateJobStatistics

The process definition System_UpdateJobStatistics is run once a day and no longer every 15 minutes. This has an advantage if you do not need up-to-date process definition statistics. Shortly after the initial deployment it is very handy to monitor process definition statistics to get an idea of the real load on the system as well as other information.

RFC connections

The maximum number of RFC connections has been set to 10 for XBP only. If you are using XAL and/or XMW the RFC connections can still increase, you may limit those connections in similar way, on the XAL or XMW tab of the SAP System.

← The SAP Cryptographic LibraryEnable XBP 2.0 or 3.0 Functionality →
  • Tuning Redwood Server
  • Tuning SAP connections
  • Procedure
  • Example
  • Result of the 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 |