SAP BW jobs completing within SAP, but running for an extended period longer in Automic

Document ID : KB000089509
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
SAP BW jobs completing within SAP, but running for an extended period longer in Automic
Resolution:

Symptoms

JOBS within SAP are consistently finishing within SAP and staying active within Automic for a period of time before also completing successfully. This happens consistently to the same JOBS, but not necessarily all SAP JOBS within the system.


Cause

This is caused due to a STATUSRETRY value being set within the SAP JOBS in Automic. This will cause the Automation Engine to poll for a period of x minutes (where x is the value set in STATUSRETRY) to confirm the status in SAP. This is noted within our documentation:

Due to a special SAP behavior, process chains can show the status "ended" for a short time but continue afterwards. The agent reports this process chain as ended if it has retrieved its status exactly at this point in time. Use the parameter STATUSRETRY= to prevent that the end of a process chain is reported too early. You can determine the number of repeated status checks with this parameter. Only after n repetitions, the UC4 Automation Engine will be informed that the process has ended.


Resolution

Remove or reduce the value in STATUSRETRY within the affected JOBS.