Hi,
The new record has to be updated in internal table of table control.. so that you have to have a new module inside loop at PAI.
MODIFY itab FROM wa INDEX tbc-current_line. "Modify existing records
IF sy-subrc <> 0.
APPEND wa TO itab. "Append new record
ENDIF.
For More... Table Control
Regards
Sreekanth