Job ID mismatch error for Autosys Job and SAP Job

book

Article ID: 196831

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) CA Workload Automation Agent CA Workload Automation AE

Issue/Introduction

Every time we are getting JOB ID mismatch error and jobs getting failed with this error;

BAPI_XBP_JOB_COPY function failed. R/3 Code: E;049;Job does not exist function BAPI_XBP_JOB_COPY

Once we see this error message in Autosys, will ask the SAP team to give the last successful Job count/id from SAP end.

We will update the same in Autosys job of job count, re-triggered the job and it ran successfully without no issues.

Environment

Release : 11.3

Component : CA Workload Automation AE Agent for SAP

Resolution

There is a fix for SAP Copy Job in RO98357.

To use COPYJOB functionality, the copying job should run at least once in SAP System so that SAP Agent can copy the job with latest JobCount automatically taken from SAP System. If there are no JobCount for the copying job, then COPYJOB will always fail with the mentioned error message.

There is no limitation from Autosys/SAP Agent on COPYJOB functionality to update JobCount in the job definition.