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

Refresh issue with OO Alv grid control

Former Member
0 Likes
432

Hi,

I am calling a zprogram with a screen from one of the user exits in vt02n. The screen contains 2 custom containers which will show one alv tree and another alv grid (cl_gui_alv_grid ). Once the screen is shown to the user, the user can close the screen and then the control comes back to the same vt02n. If the user trigger the screen again from vt02n, then the data shown in the alv controls are the same as what it showed the last time (it doesnt get refreshed). i tried freeing all the objects and refershing all the internal tables. even if the data in the internal tables are different, when the screen display comes the old values are shown. Has anyone faced this issue or please help if anyone knows the solution for this.

i tried using CL_GUI_CFW=>FLUSH , but it doesn help.

Regards,

Dinu.

Hi,

I am calling a zprogram with a screen from one of the user exits in vt02n. The screen contains 2 custom containers which will show one alv tree and another alv grid (cl_gui_alv_grid ). Once the screen is shown to the user, the user can close the screen and then the control comes back to the same vt02n. If the user trigger the screen again from vt02n, then the data shown in the alv controls are the same as what it showed the last time (it doesnt get refreshed). i tried freeing all the objects and refershing all the internal tables. even if the data in the internal tables are different, when the screen display comes the old values are shown. Has anyone faced this issue or please help if anyone knows the solution for this.

i tried using CL_GUI_CFW=>FLUSH , but it doesn help.

Regards,

Dinu.

2 REPLIES 2
Read only

Former Member
0 Likes
397

Hi Dinu,

Before analysing ALV, please cross check the behaviour of the calling program.

Is the control really going to the application server when you do all the above process?

If so, when user makes some changes are they saved in the data base / affected the internal table which you are using for ALV?

Regards

Surya.

Read only

former_member194669
Active Contributor
0 Likes
397

Hi,

Have u used


call method g_grid->refresh_table_display.