Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Inline Declaration for 'TYPE HANDLE'

Greltel
Explorer
0 Kudos

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

0 REPLIES 0