Why do we need to code a LOOP statement in both the PBO and PAI events for each table in the screen?
We require coding a LOOP statement in both PBO and PAI events for every table in the screen. This is because the LOOP statement causes the screen fields to be copied back and forth among the ABAP/4 program and the screen field. For this reason, at least an empty LOOP....ENDLOOP must be there.