Skip to Content
avatar image
Former Member

CX_SY_RANGE_OUT_OF_BOUNDS dump in BSP F4 help

Hi ,

I am following a blog for creating a standard F4 help for MATNR in

my BSP application.

The standard search help has a custom elementary search help

for which the following dump is coming :

The following error text was processed in the system:

An exception with the type CX_SY_RANGE_OUT_OF_BOUNDS occurred, but was neither handled locally, nor declared in a RAISING clause

Exception Class CX_SY_RANGE_OUT_OF_BOUNDS

Error Name DATA_OFFSET_LENGTH_TOO_LARGE

Program ZCL_M_INPUT_HELP==============CP

Include ZCL_M_INPUT_HELP==============CM002

ABAP Class ZCL_M_INPUT_HELP

Method GET_HELPVALUES_BAPI

Line 221

Long text The sub area access (Offset = 248, Länge = &LEN GTH&) on a data object of size 255, lies outwith the valid boundaries.

I have the following code in my model class zcl_m_input_help in method

get_helpvalues_bapi where dump is coming:

****For each component (field) in the table -Output the data

LOOP AT struct ASSIGNING LEFT DELETING LEADING '0'.

ENDIF.

ENDLOOP.

ENDLOOP.

I would be really thankful if someone could help.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 28, 2011 at 06:41 AM

    > Long text The sub area access (Offset = 248, Länge = &LEN GTH&) on a data object of size 255, lies outwith the valid boundaries.

    > MOVE <wa_values>+<wa_bapi>-offset(<wa_bapi>-leng) TO <f>.(line where dump is coming )

    Hi,

    As per long text error, you are moving the content of size more than 255 after offsetting it with size 248. check the size of source and target fields.

    also refer

    Thanks,

    Chandra

    Add comment
    10|10000 characters needed characters exceeded