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.