Hello,
I have the following situation, I want to instantiate the variable lo_alv with the following code:
METHOD display_relevant_articles.
lo_alv = NEW cl_gui_alv_grid( cl_gui_container=>screen0 ).
ENDMETHOD.
When I execute the quick assist proposal, I get only the following code, despite there is a clear definition with the NEW cl_gui_alv_grid code. The result is only:
DATA: lo_alv TYPE any.
I would expect the following code:
DATA: lo_alv TYPE REF TO cl_gui_alv_grid.
In case of a function module the quick assist declares the variable with the correct type.
Is it possible to get this also for references to classes?
Regards