SAP job fails with return '300' | Function is not available
search cancel

SAP job fails with return '300' | Function is not available

book

Article ID: 236791

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation

Issue/Introduction

Certain SAP jobs fail with return code '300'.

U02000009 Job 'SAP_JOB' with RunID '3624153' ended with return code '300'.

The message above also shows in the agent log.

The PLOG shows the following error message:

U02000005 Job 'SAP_JOB' with RunID '3624153' is to be started.
U02004018 The job was successfully interpreted.
         R3_DELETE_VARIANT REPORT="INITXBP2",VARIANT="UC4"
U02004077 Function 'DeleteVariant' is not available in the current SAP interface.
U02004025 Job-script execution was aborted.

Other functions may be described with the U02004077 message like the GetSpoolRequests function below:

U02000005 Job 'SAP_JOB' with RunID '3624153' is to be started.
U02004018 The job was successfully interpreted.
         R3_GET_SPOOLREQUESTS CREDATE_TO="20240305",CREDATE_FROM="20240305",NOFOUND="ABEND",SUFFIX1="SFX1",SUFFIX2="SFX2"
U02004077 Function 'GetSpoolRequests' is not available in the current SAP interface.
U02004025 Job-script execution was aborted.

 

Environment

Release : All

Component : SAP Agent

Resolution

The XBP interface used by the SAP agent is not set up to use XBP 3.0 which is required in order to use all SAP functions.  A Basis admin should know how to set this up within SAP.  

In addition, the agent's connection object must also have Interface Version 3.0 chosen from the Interfaces dropdown and the Use Automation Engine Interface must be unchecked:\

More information about the SAP interfaces can be found in our documentation. 21.0, 24.X