search cancel

Impossible to restart a SAP R3 JOB when a Process Chain contains skipped steps

book

Article ID: 201488

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

This issue is encountered during the submission of Process Chain within SAP R3 Job with the instruction BW_ACTIVATE_CHAIN.
These two conditions must exist to encounter this issue.

1. When a Metachain is processed (Process Chain that contains a step that executes another Process Chain).
2. The steps that triggers the Process Chain must be skipped (set to skip with RSPC transaction)..
 
If the R3 jobs tries to submit a Process Chains with these two conditions, the Job will staying running indefinitely in AE.
It is impossible to cancel it.
If we force the status to manually Cancelled for the main Process and fo all contained Child-Processes that stayed in Running status, it is impossible to restart the Jobs.
In the PLOG of the job we get the message the Father Job is still active.
 
An error caused by RSPC_API_CHAIN_GET_PROCESSES is raised in the job log.

Cause

The SAP Agent is not handling the skipped chain children correctly.

This  is bug of the SAP agent

Environment

12.2.2 SAP Agent

Resolution

A problem has been fixed where an SAP Process Chain stayed running indefinitely in the Automation Engine if it contained skipped steps.

 

Solution:

Update to a fix version listed below or a newer version if available.


Fix version:

Component(s): SAP Agent

 

Automation.Engine 12.2.7 - Available

Automation.Engine 12.3.4 - Available