I have to clear all input fields on selection screen after the transaction been executed. I try to do it on following way .
I set up at-selection-screen event with tag gv_run . Gv run is populated with 1 during the selection and indicates that the program has been
already executed and so when after execution flow comes again to at-selection-screen event and gv run = 1. s_bname should be refreshed and
screen displayed without values in input fields;
Problem is when the program flow comes second time at at-selection-screen event gv_run is not any more 1 it is 0. and refresh is not done .
I cannot figure where that value has been changed . In debugger i cannot find it because the program jumps straight to at-sel-screen event and
the values is already gone
*clear variables ( not screen fields.)
AT SELECTION-SCREEN output.
if gv_run = 1.
gv_run = 0.
gv_run = 1.