Skip to Content
avatar image
Former Member

CX_SY_RANGE_OUT_OF_BOUNDS in FM generated web service

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Apr 21, 2017 at 11:29 AM

    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?

    Add comment
    10|10000 characters needed characters exceeded