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: 

Call ALV Grid using default Variant and Refreshing using refresh_table_disp

Former Member
0 Kudos

Hello,

I am calling method SET_TABLE_FOR_FIRST_DISPLAY using OOPS concept with parameter i_default = 'X' like...

CALL METHOD u_alvgrid->set_table_for_first_display

EXPORTING

is_variant = c_variant

i_save = 'A'

i_default = 'X'

is_layout = c_layout

it_toolbar_excluding = gt_exclude_0100[]

i_structure_name = c_stucture_name

  • it_alv_graphics = lt_alv_graphics

CHANGING

it_sort = lt_sort

it_outtab = ut_outtab[]

it_fieldcatalog = tt_fieldcat[]

EXCEPTIONS

invalid_parameter_combination = 1

program_error = 2

too_many_lines = 3

OTHERS = 4.

Now when I again call REFRESH_TABLE_DISPLAY method, my default variant is lost. But I would like that I should view my default variant even after calling REFRESH_TABLE_DISPLAY method.

Please guide me how can I achieve it.

Best Regards,

Navin

2 REPLIES 2

StMou
Active Participant
0 Kudos

Hi,

Try withparameters I_SOFT_REFRESH = 'X' in method REFRESH_TABLE_DISPLAY.

Rgds

Former Member
0 Kudos

Hello,

Thanks for the reply. I tested with parameter I_SOFT_REFRESH = 'X', but it didn't work.

Best Regards,

Navin