Skip to Content
0
Former Member
Nov 21, 2008 at 06:47 AM

ALV OO using cl_gui_alv_grid

398 Views

Hello all,

I'm totally new to OOP so I hope anyone can help me.

I'm using the code below for displaying a layout entered on de selection screen.

*Data declaration

Data: gr_variant TYPE REF TO cl_gui_alv_grid,

gs_variant type disvariant.

*Set layout functions ALV

gr_variant = gr_table->get_variant( ).

gr_variant->get_variant( gs_variant ).

gr_variant->SAVE_VARIANT( save ).

When I'm trying to activate the program it tells me that "get_variant" doesn't exists....

When I double click on "cl_gui_alv_grid" I can find method "Get_variant".

Whats wrong?

knd rgds,

Patrick