ABAP Data Declaration Inline Data Declaration


Example

In certain situations, data declarations can be performed inline.

LOOP AT lt_sflight INTO DATA(ls_sflight).
    WRITE ls_sflight-carrid.
ENDLOOP.