R3_IMPORT_CALENDAR and R3_IMPORT_JOBS no longer working submitted by a 12.3.9 SAP Agent after the AE system has been updated to V21.0.8
search cancel

R3_IMPORT_CALENDAR and R3_IMPORT_JOBS no longer working submitted by a 12.3.9 SAP Agent after the AE system has been updated to V21.0.8


Article ID: 276887


Updated On:


CA Automic Workload Automation - Automation Engine


After the update of the Engine to 21.0.x, job which import SAP-Calendars to UC4 ended with "ENDED_NOT_OK - aborted" with below error?

Export of the syntax used in the submitted  R3_IMPORT_CALENDAR command.




Java stack of the error message :


2023-11-23 11:39:49 - U02000155 Internal error (Exception).
java.lang.ArrayIndexOutOfBoundsException: 0
    at com.uc4.ex.UserData.<init>(UserData.java:48)
    at com.uc4.ex.JobRoutine.getUserData(JobRoutine.java:1169)
    at com.uc4.ex.Job.getUserData(Job.java:905)
    at com.uc4.ex.sap.SAPJob.openUserConnection(SAPJob.java:1182)
    at com.uc4.ex.sap.R3_IMPORT_CALENDAR.execute(R3_IMPORT_CALENDAR.java:101)
    at com.uc4.ex.sap.SAPJob.execute(SAPJob.java:362)
    at com.uc4.ex.Job.run(Job.java:461)
    at com.uc4.ex.ThreadPool$RunnableDecorator.run(ThreadPool.java:53)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:750)




AE 21.0.8

SAP Agent 12.3.9 HF2


The design of the SAP agent has changed due to a previously reported bug (see Additional Informations) fixed in 21.0.5.

R3_IMPORT_CALENDAR and R3_IMPORT_JOBS can no longer be triggered by a SAP agent 12.3.9 against a Automation Engine is in version 21.0.


The solution will consists in updating the SAP Agent and the Automation Engine to version higher or equal to 21.05 

Additional Information

Bug ID: AE-30104

Bug Title : When the agent log is rotated, the R3_IMPORT_CALENDAR fails (ENDED_NOT_OK)

Technical details: 

A problem has been fixed where after a warm start and after a log change the SAP Agent could not authenticate itself through the Java API, therefore R3_IMPORT_CALENDAR and R3_IMPORT_JOBS failed to create objects in the AE system.

IMPORTANT: Keep in mind that the incompatibility between SAP Agent 12.3 and AWI 21.0 is limited exclusively to these two IMPORT functions, all other features work without any problem!!