Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Grid using oops

Hi All,

'Deselect All' button is on application toolbar.

In the ALV grid when i press 'Deselect All' Button all the checkbox should deselect.

I writen the code like this.

LOOP AT t_final INTO g_wa_final.

g_wa_final-chkbx = ''.

MODIFY t_final FROM g_wa_final .

ENDLOOP.

CALL METHOD alv_list->refresh_table_display.

grid is not refreshing. But i press refresh button on grid then it is deselecting all.

Regards,

vijay

Tags:
Former Member
Former Member replied

Hi,

try this:

WHEN 'DALL'. <- deselect-button

*

CALL METHOD GR_ALVGRID->SET_SELECTED_ROWS.

*

CALL METHOD CL_GUI_CFW=>FLUSH.

Regards, Dieter

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question