cancel
Showing results for 
Search instead for 
Did you mean: 

CX_SY_RANGE_OUT_OF_BOUNDS in FM generated web service

alvaro_blanco
Explorer
0 Kudos

Hello Community!

we are experiencing a very strange error when calling a web service published from a Z function module. We have only one input parameter which is a non-optional table. In that structure there are bank related fields like BANKS, BANKL or IBAN, which may or may not arrive empty, but with some datasets the SAP Soap core throws an out of bounds exception. The description of the exception is referencing a field of 34 characters and the only field that fits that description in the payload is IBAN.

CL_SOAP_RUNTIME_ROOT==========CP

include CL_SOAP_RUNTIME_ROOT==========CM00

Oddly enough, when we force in the request the field BANKS to have a valid value (eg 'ES') it works. When the IBAN field is informed with something like 'ES0000000000000000000000' it doesn't throw the exception neither.

Is there a way to understand what is happening and what do we need to do to force SAP to accept those fields empty?

Thanks in advance!

Álvaro.

Accepted Solutions (1)

Accepted Solutions (1)

alvaro_blanco
Explorer
0 Kudos

Solved.

The exception was caused by a subsequent FM call. Anyway, just out of curiosity... what's causing that these errors don't get 'logged' in the ST22 dump analysis log?

Answers (0)