Redwood Documentation

Product Documentation

 

›Process Chains

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
← Monitoring Process ChainsSAP Communication Channels with PI/XI →

Restarting Process Chains

Process chains can be restarted from within Redwood Server at chain-level as well as on process level. This allows you to only restart the processes that require a restart without starting the whole chain again. When a job of a process chain reaches an error state, the parent job of the process chain is put to console and an operator message is generated allowing you to restart the chain at a desired point. You can choose to make a process chain restartable when you submit the process chain. There are three options:

  • the entire chain is restartable
  • only failed processes are restartable
  • the chain is not restartable

This is governed by the CHAIN_RESTARTABLE parameter on the SAP_BW_ProcessChainRun process definition. Once you have selected a restart option in the operator message, SAP_BW_RestartProcess or SAP_BW_RestartProcessChain are submitted for you, depending on your reply to the operator message. To restart process chains, you should first import and run a process chain, this is outlined in the Running Process Chains section.

Failed processes of monitored process chains can also be restarted, by default; this setting can be customized with Redwood Server registry entries, see the section below.

Restarting process chains requires the ProcessServerService.SAP.ProcessChainRestart license key.

note

Please refer to SAP Note 1007419 and SAP Note 1059049 for further information on required Support Packages.

Process chains can also be restarted automatically, without human intervention. Although it is always best to have human intervention when something goes wrong, your process chain might only fail in a predictable manner, for example, when dependent data has not yet been processed. If this is the case, you can have one or more processes of your process chain restart a number of times after a certain delay, waiting for the data to be processed, for example. Each process can have different settings, delays and maximal restart counts.

note

It is not possible to use Redwood Server to balance the load of process chains across SAP application servers. As far as scheduling is concerned, you can only influence the parent job. You can, however, restart certain child jobs.

Restarting Monitored Chains

By default, monitored BW chains have the restart option set to (F)ailed, this can be overridden using the following registry entries, the first applicable value will be used:

  • /configuration/sap/<Partition.SAPSystem>/bw/restart/RestartMode
  • /configuration/sap/bw/restart/RestartMode

Allowed values:

  • N - monitored BW chains are not restartable
  • F - monitored BW chains are restartable, only failed processes are shown (default)
  • A - monitored BW chains are restartable, all processes are shown
note

This applies only to monitored BW chains, so those that were started in BW. BW chains started in Redwood Server have a parameter that defines the restart behavior.

Prerequisites

  • SAP System with all required Support Packages installed
  • Process chains have already been imported into Redwood Server
  • The SAP transport files must be loaded, see the Enhanced SAP Interfaces with Redwood Transports section for more information on loading the transport files.

Procedure

Restarting a process chain from the console

  1. Expand the top-most parent process of the process chain, which has the status console.
  2. Locate the operator message Restart process chain? and choose reply from the context-menu.
  3. Choose a level at which you want to restart the process chain and choose Save & Close.

Automatically restarting a process chain

  1. Navigate to "Environment > SAP".
  2. Choose Maintain Objects from the context-menu of your SAP System.
  3. Expand Process Chains and choose the process you would like to restart automatically.
  4. Fill in Max Number Of Restarts as well as Restart Delay, change the Restart Delay Units if appropriate.
  5. Choose Save & Close.

Result

In the first procedure, a copy of the process chain is created in the processes monitor, only the selected processes have been restarted; you can locate them under the failed processes.

In the second procedure, the process(es) you configured to restart automatically will be the next time you submit a process chain against that SAP System.

See Also

  • Monitoring Process Chains
  • Running Process Chains
  • Importing Process Chains
  • Importing Process Chain Definitions
  • Handling Process Chains
  • The Registry
  • Configuration Entries
← Monitoring Process ChainsSAP Communication Channels with PI/XI →
  • Restarting Monitored Chains
  • Prerequisites
  • Procedure
  • Result
  • 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 |