Application Development and Automation 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: 
Read only

screen refresh problem

Former Member
0 Likes
1,220

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
Read only

Former Member
0 Likes
1,084

hi,

use class cl_gui_alv_tree

method <b>REFRESH_TABLE_DISPLAY</b>

regards

vijay

Read only

0 Likes
1,084

Hi vijay,

The method REFRESH_TABLE_DISPLAY is a private method.

So I cant use it..

Could you suggest any other way?

Thanks,

Ravi

Read only

0 Likes
1,084

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

Read only

Former Member
0 Likes
1,084

Hi,

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

use method <b>FREE</b>.

regards

vijay

Read only

Former Member
0 Likes
1,084

Hi Ravi,

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

Regards,

Srikanth

Read only

abdul_hakim
Active Contributor
0 Likes
1,084

Hi

Use FREE.

Abdul

Read only

Former Member
0 Likes
1,084

hi ravi,

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

CALL METHOD custom_container->free

regards,

kinshuk

Read only

0 Likes
1,084

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.