Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

in dialog programming

Former Member
0 Likes
511

hi

In dialog programming , while displaying the table control, what is the use of keeping loop, endloop in PAI event.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
494

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.

4 REPLIES 4
Read only

Former Member
0 Likes
495

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.

Read only

former_member191391
Participant
0 Likes
494

Hi,

It Part of syntax for every table control u need to set loop at PAI and PBO

With Regards,

Manmeet Singh

Read only

Former Member
0 Likes
494

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.

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
493

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