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: 

screen refresh problem

Former Member
0 Kudos

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

8 REPLIES 8

former_member188685
Active Contributor
0 Kudos

hi,

use class cl_gui_alv_tree

method <b>REFRESH_TABLE_DISPLAY</b>

regards

vijay

0 Kudos

Hi vijay,

The method REFRESH_TABLE_DISPLAY is a private method.

So I cant use it..

Could you suggest any other way?

Thanks,

Ravi

0 Kudos

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

former_member188685
Active Contributor
0 Kudos

Hi,

after close the dialog screen you just have to free the events.

use method <b>FREE</b>.

regards

vijay

Former Member
0 Kudos

Hi Ravi,

Try refreshing your container every time you do a pop up. I am just wondering if that is the issue.

Regards,

Srikanth

abdul_hakim
Active Contributor
0 Kudos

Hi

Use FREE.

Abdul

Former Member
0 Kudos

hi ravi,

Try to free the custom container when you leave the screen.

CALL METHOD custom_container->free

regards,

kinshuk

0 Kudos

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.