‎2006 Jan 18 7:04 AM
I have an alv tree in a modal dialog screen with a custom container.
The first time I open the screen, it gets closed on one click
The second time I open the screen, it gets closed on two clicks... and so on..
Please tell me what should be done in order to refresh the events in each new screen session.
Thanks,
Ravi
‎2006 Jan 18 7:16 AM
hi,
use class cl_gui_alv_tree
method <b>REFRESH_TABLE_DISPLAY</b>
regards
vijay
‎2006 Jan 18 7:32 AM
Hi vijay,
The method REFRESH_TABLE_DISPLAY is a private method.
So I cant use it..
Could you suggest any other way?
Thanks,
Ravi
‎2006 Jan 18 8:36 AM
HI RAVI,
u pls check once again,
let go_grid type ref to cl_gui_alv_grid.
create object .........
call method go_grid=>refresh_table_display.
it works.
it is not at all a private method.
regs
hyma
‎2006 Jan 18 7:46 AM
Hi,
after close the dialog screen you just have to free the events.
use method <b>FREE</b>.
regards
vijay
‎2006 Jan 18 7:47 AM
Hi Ravi,
Try refreshing your container every time you do a pop up. I am just wondering if that is the issue.
Regards,
Srikanth
‎2006 Jan 18 7:52 AM
‎2006 Jan 18 9:05 AM
hi ravi,
Try to free the custom container when you leave the screen.
CALL METHOD custom_container->free
regards,
kinshuk
‎2006 Jan 18 9:15 AM
as u r using cl_gui_alv_tree.
create an object type ref to al_gui_alv_tree
ex go_tree type ref to cl_gui_alv_tree
and then call method go_tree->refresh_table_display.