The acquire SAP endpoint fails with java.lang.StringIndexOutOfBoundsException: String index out of range: 31
The jcs_conn_<SAPENDPOINT>.log showed the following error:
(SAPFunctionUtils.java:1353) DEBUG - Getting SAP Table - USZBVLNDSC using function RFC_GET_TABLE_ENTRIES
(SAPFunctionUtils.java:1452) DEBUG - Result table has 1 rows
(SAPMetaConnector.java:379) DEBUG - USZBVLNDSC Record - 300EAB_CUA SIESMP300
The above indicates a problem getting the record "300EAB_CUA SIESMP300" from the table USZBVLNDSC using function RFC_GET_TABLE_ENTRIES.
The record fomat would be "nnnXXXXXXXXXXYYYYYYYYYYZZZZZZZZmmm" where
nnn(3) is CLIENT field
XXXXXXXXXX(10) is MODEL
YYYYYYYYYY(10) is RCVSYSTEM
ZZZZZZZZ(8) is SYSNAME
mmm(3) is SYSCLIENT
This format can be seen on the following link:
https://www.sapdatasheet.org/abap/tabl/uszbvlndrc.html
Please ask the SAP administrators to review the data in this table to see if there could be some records with improper format which then causes a problem with the connector.