You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ABAP array starts at position [ 1 ], as opposed to java which starts at [ 0 ].
ABAP compiles the code if you try to access the array at position [ 0 ].
However, it raises the CX_SY_ITAB_LINE_NOT_FOUND when executing the code.
For instance:
DATA array TYPE TABLE OF string.
APPEND'this' TO array.
APPEND'is' TO array.
APPEND'a' TO array.
APPEND'test' TO array.
cl_demo_output=>display( array ).
cl_demo_output=>display( array[ 0 ] ).
It would be good to have a check that identifies these access to position [ 0 ] during the development phase.
The text was updated successfully, but these errors were encountered:
ABAP array starts at position [ 1 ], as opposed to java which starts at [ 0 ].
ABAP compiles the code if you try to access the array at position [ 0 ].
However, it raises the
CX_SY_ITAB_LINE_NOT_FOUND
when executing the code.For instance:
It would be good to have a check that identifies these access to position [ 0 ] during the development phase.
The text was updated successfully, but these errors were encountered: