Customer has migrated from Adapter to SAP Plugin. When using adapter, the dependent job waits until all child and grand child jobs are completed however in plugin, the dependent job is triggered before completion of the grand child job. This is resulting in issues with SAP jobs..
Workload Automation Agent for SAP
Both children monitoring and recursive operations of SAP jobs must be configured in agent's agentparm.txt file, and restart the agent;
sap.job.children.monitor=true
sap.job.children.recursive=true
To cancel and delete children of SAP jobs, enable the delete and cancel operations;
sap.job.children.cancel=true
sap.job.children.delete=true