on 11-25-2011 6:29 AM
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.
> 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.