Skip to Content
0
May 14, 2013 at 11:58 AM

How to get and Refresh Button in ALV when using CL_SALV_TABLE

3310 Views

Dear Experts,

I need a to get a 'REFRESH' button on ALV Application toolbar. I am using CL_SALV_TABLE to build the ALV.

I got standard ALV functions using CL_SALV_FUNCTIONS.

CL_SALV_TABLE=>FACTORY(

IMPORTING

R_SALV_TABLE = GR_TABLE

CHANGING

T_TABLE = GT_OUTPUT ).

*CATCH CX_SALV_MSG .

*ENDTRY.

* FOR ALV STANDARD FUNCTIONS

GR_FUNCTIONS = GR_TABLE->GET_FUNCTIONS( ).

GR_FUNCTIONS->SET_ALL(

VALUE = IF_SALV_C_BOOL_SAP=>TRUE ).

and also I used

gr_table->set_screen_status( pfstatus = 'SALV_TABLE_STANDARD'

report = sy-repid

set_functions = gr_table->c_functions_all ).

But I did not get Refresh button in that. I have searched some links like

http://scn.sap.com/thread/750520

http://scn.sap.com/thread/548657

but my issue not yet solved.

Please help.

Thank you,

VIJAY