Hi all,
I have a doubt in the way of declarations.
PROCESS BEFORE OUTPUT.
MODULE STATUS_1002.
LOOP AT IT_VBAK WITH CONTROL TCL1.
ENDLOOP.
*
PROCESS AFTER INPUT.
LOOP AT IT_VBAK.
ENDLOOP.
MODULE USER_COMMAND_1002.
Why in PBO LOOP is maintained after modul status and in PAI LOOP is maintained before Module.
Can anyone help me regarding this.
Thanks ,
satish
HI Satish,
As the name suggest PBO is process before OUTPUT, ie the the processing before screen is displayed
and PAI processing after screen is diplayed
now actually i dont know what your code does
but still i can figure out that
During the PBO loop, a loop is executed at it_vbak, where the row index corresponds to the current row of the table control.
During the PAI loop, the rows of the internal table, whose row index corresponds to the current row of the table control, are overwritten with the contents of the work area(not present here)
After the PAI loop, user input is processed in the module USER_COMMAND.
reward if useful
thanks
Add a comment