2022 Feb 09 4:51 PM
Hi SCN,
I was wondering if there is any way to do an inline declaration of 'TYPE HANDLE' for the creation of data object described by RTTS object. I am using the following code:
DATA:lo_data TYPE REF TO data.
"Data to handle the new table type
CREATE DATA lo_data TYPE HANDLE lo_new_tab.
"New internal table in fieldsymbol
ASSIGN lo_data->* TO <fs_table>
Is it possible to skip the lo_Data declaration and use inline declaration instead? There is the reference operator(REF) but does not seem to work for type handle statements.
Thank you in advance