CX_SY_RANGE_OUT_OF_BOUNDS dump in BSP F4 help
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
ABAP Class ZCL_M_INPUT_HELP
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'.
I would be really thankful if someone could help.