Show TOC

Procedure documentationImporting and Running Process Chains Locate this document in the navigation structure

 

A process chain defines a sequence of processes that are scheduled to wait in the background for an event. These processes can trigger a separate event that can, in turn, start other processes. When you monitor a process chain in SAP CPS, the process chain is displayed like a job chain.

When a process of a process chain reaches the status Error, you have the possibility to start just the erroneous process, its parent or the parents' parent, see the Restarting Process Chains section for more information.

Monitoring Process Chains

Note Note

Monitoring Process Chains requires the ProcessServerService.SAP.XBPVariant license key.

End of the note.

You can configure SAP CPS to monitor pocess chains started from within SAP, they are displayed like job chains and allow you to restart them if you meet the prerequisites for restarting process chains.

See Monitoring Process Chains for more information.

Restarting Process Chains

Note Note

Restarting Process Chains requires the ProcessServerService.SAP.ProcessChainRestart license key.

End of the note.

The following job definitions allows you to start, represent and restart process chains in your BI or BW system.

Job Definition

Use

SAP_BW_ImportProcessChains

Used to import process chains

SAP_BW_Process

Represents a process chain

SAP_BW_ProcessChainRun

Used to start a process chain

SAP_CcmsJob

Represents a process chain process

See Restarting Process Chains for more information.

Starting Process Chains with Direct Scheduling in SAP

When you want to schedule process chains in SAP CPS which have Direct Scheduling in SAP enabled, make sure the option Immediate start is selected. If the Date/Time is selected and if the time is in the past, the start of the chain will fail. Note that it will also fail if you try to start it from SAPGui. You need to change the process chains to use either the Start Immediate option or change them to Start Using Meta Chain or API.

Prerequisites

  • An RFC connection has been established between the Central Scheduler and a BI or BW system, as outlined in Connecting to SAP Systems.

Procedure

To import the process chains from an SAP instance

  1. Navigate to   Definitions → Job Definitions  

  2. Choose Submit from the context menu of job definition SAP_BW_ImportProcessChains.

  3. Select the SAP System name of the BW system in the SAP System parameter, fill in other parameters if you wish to restrict the number of chains that will be imported.

  4. Choose Submit.

To start a BW process chain

  1. Navigate to   Definitions → Job Definitions  

  2. Choose Submit from the context menu of job definition SAP_BW_ProcessChainRun.

  3. Select the SAP System name of the BW system in the SAP System parameter,

  4. Select the process chain to start.

  5. Choose Submit to schedule the job.