‎2007 Jul 17 6:52 AM
hi
In dialog programming , while displaying the table control, what is the use of keeping loop, endloop in PAI event.
‎2007 Jul 17 6:55 AM
Hi,
loop at itab........endloop in pbo is for filling the data in table control
loop at itab........endloop in PAi is for reading the data from internal table(in case if we edit and try to save)
<b>reward all helpful answers</b>
rgds,
bharat.
‎2007 Jul 17 6:55 AM
Hi,
loop at itab........endloop in pbo is for filling the data in table control
loop at itab........endloop in PAi is for reading the data from internal table(in case if we edit and try to save)
<b>reward all helpful answers</b>
rgds,
bharat.
‎2007 Jul 17 6:55 AM
Hi,
It Part of syntax for every table control u need to set loop at PAI and PBO
With Regards,
Manmeet Singh
‎2007 Jul 17 6:56 AM
Hello,
It is so the syntax in ABAp.
As the table control is having an internal table associated with it, after any user action we need to have the entire internal table yet again for processing, That is why it is required there.
Please reward if found helpfull it will orth a century to me.
Regards,
Rakesh.
‎2007 Jul 17 6:57 AM
Hi,
In PBO you use LOOP AT and ENDLOOP to push the data of your ITAB to the screen.
In PAI you do the same to copy the data back to your internal table.
Regards,
Sesh