There is an inline-declared table generated from a SELECT statement as below:
SELECT *
INTO TABLE @DATA(lt_result)
FROM scarr.
How can lt_result be assigned to a Field Symbol?
I tried the following way:
FIELD-SYMBOLS: <fs_lt_result> TYPE ANY.
LOOP AT lt_result ASSIGNING <fs_lt_result>.
But I'm not able to call any components in the field symbol inside the loop like:
WRITE / <fs_lt_result>-carrid.
(syntax error: The data object "<FS_LT_RESULT>" does not have a structure and therefore does not have a component called "CARRID".)