ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

SAP Agent Job fails to R3_IMPORT_CALENDAR

book

Article ID: 84538

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
ava.lang.RuntimeException: java.lang.StringIndexOutOfBoundsException: String index out of range: 16
at com.uc4.ex.UserData.(UserData.java:56)
at com.uc4.ex.JobRoutine.getUserData(JobRoutine.java:1158)
at com.uc4.ex.Job.getUserData(Job.java:908)
at com.uc4.ex.sap.SAPJob.openUserConnection(SAPJob.java:1170)
at com.uc4.ex.sap.R3_IMPORT_CALENDAR.execute(R3_IMPORT_CALENDAR.java:101)
at com.uc4.ex.sap.SAPJob.execute(SAPJob.java:358)
at com.uc4.ex.Job.run(Job.java:469)

Unable to use the SAP Agent to export the calendar from an SAP system, instead receive a Java error similar to the one above and the Job fails.

 There is a limitation on the password used for the R3_IMPORT_CALE of 15 bytes for a password




 

Cause

Cause type:
Defect
Root Cause: Password of the Automic User must be max. 15 characters long.

Environment

OS Version: N/A

Resolution

Update to a fix version listed below or a newer version if available.

Fix Status: Fixed

Fix Version(s):
Automation Engine 12.2.0 - Available
Automation Engine 12.1.1 - Available

Additional Information

Workaround :
Use a password less than 15bytes or less.