‎2008 Aug 27 11:16 AM
Hi Gurus,
I am trying the use the refresh an ALV report output.
Whenever i click on the refresh button it again calls the select queries.
In that select query i am using one function module 'STATUS_READ'.
Now this fm is giving the same result that it was giving when the report is run for the first time even though the value is changed now.
I think it's not clearing the buffer area for a particular input value that's why it's giving the same result for a particular input.
Please provide your input.
Regards,
Amit Kumar Singh
‎2008 Aug 27 11:21 AM
Hi,
Use his method to refresh the container
CALL METHOD g_alv->refresh_table_display.
Hope it helps you.
Regards
Manjari.
‎2008 Aug 27 11:23 AM
‎2008 Aug 27 11:27 AM
Hi Gurus,
How to refresh an container.
Could you provide some code/examples.
btw i am using reuse_alv_grid_display for table display and i getting the problem in the use of fm 'STATUS_READ' where it's not giving the correct output when i am using it second time in the program.
If i come out of the program and execute it.it gives the correct result.
Regards,
Amit Kumar Singh
‎2008 Aug 27 11:45 AM
Try this
DATA: REF1 TYPE REF TO CL_GUI_ALV_GRID.
*after reuse_alv_grid_display write
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
ET_EXCLUDING =
E_REPID =
E_CALLBACK_PROGRAM =
E_CALLBACK_ROUTINE =
E_GRID = REF1
ET_FIELDCAT_LVC =
ER_TRACE =
E_FLG_NO_HTML =
ES_LAYOUT_KKBLO =
ES_SEL_HIDE =
.
CALL METHOD REF1->CHECK_CHANGED_DATA.
‎2008 Aug 27 11:57 AM
Hi Sathar,
I used your code but it's not solving my requirement.
Regards,
Amit Kumar Singh
‎2008 Aug 27 1:57 PM
U paste this code in ur pgm where u have written code when function code for Refresh. If still not working, pls send ur code.
Regards
Sathar
‎2008 Aug 28 6:01 AM
Hi all,
Thanks for all your support.
Now my problem has been resolved.
I used FM 'STATUS_BUFFER_REFRESH' . This refresh the buffer memory.
Regards,
Amit Kumar Singh