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
Structure read into regular variable, will probably cause false results. Compiler allows this:
" TYPES: BEGIN OF ty_buffer" input TYPE erdat," output TYPE syst_datum," END OF ty_buffer." DATA buffer_foo TYPE TABLE OF ty_buffer.DATA r_date TYPE syst_datum.
r_date =VALUE #( buffer_foo[ input= i_input ] OPTIONAL ).
" correct would be:" r_date = VALUE #( buffer_foo[ input = i_input ]-output OPTIONAL ).
Same with Read Table:
READ TABLE buffer_foo INTO r_date WITH KEYinput= i_input.
The text was updated successfully, but these errors were encountered:
Example:
Structure read into regular variable, will probably cause false results. Compiler allows this:
Same with Read Table:
The text was updated successfully, but these errors were encountered: