Show TOC

Procedure documentationRestarting Process Chains Locate this document in the navigation structure

 

Process chains can be restarted from within SAP CPS 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 job 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 must first import and run a process chain, this is outlined in the Importing and Running Process Chains section.

Note Note

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

End of the note.

Note Note

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

End of the note.

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.

Prerequisites

  • SAP System with all required Support Packages installed

  • Process chains have already been imported into SAP CPS

  • The SAP transort 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 job 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 Systems  .

  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 job 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.