cancel
Showing results for 
Search instead for 
Did you mean: 

Even though gt_output2 is empty, the previous data is displayed.

yalcin_mete
Participant
0 Kudos
357

Hi Masters,

There are 2 lines of data in gt_output. If the user selects the 1st line and continues, gt_output2 is filled with 8 data points and the next screen is pressed (call screen 0200).

yalcin_mete_0-1708601179481.png

yalcin_mete_1-1708601262091.png


But if the user selects the 2nd line in gt_output and continues, the previous data appears on the screen even though gt_output2 is not full.
I use free, clear in most of my codes, but the previous data is still printed on the screen.

 

Even though I set gt_output2 to where gt_output2 is printed, it prints the previous data to the screen. (In this part of the code (in the debug) gt_output2 is empty)

yalcin_mete_2-1708601553759.png

 

yalcin_mete_0-1708605512047.pngyalcin_mete_1-1708605539413.png

 

 

Thanks.

 

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

raymond_giuseppi
Active Contributor

Try to add a 

call method cl_gui_cfw=>flush.

after the refresh_table_display methd call.