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

tabcontrol

Former Member
0 Likes
535

hi guru's,

i want to display sales details of perticular customer in table control.how can i constuct loop statement at PBO by using table control.i put

loop at itab.

module status_100.

endloop,

but it is saying that itab is not DB table.

help me. and also how to put move-corresponding statement at PBO.

thanks in advance.

3 REPLIES 3
Read only

Former Member
Read only

Former Member
0 Likes
502

hello,

in the table control field names should be define as internal table field names. like itab-vbeln,itab-posnr...... so that when you write a logic in PAI event and PBO events will refer.

then write a logic as follows.

1).define the Internal table in Global Include.

2) write a logic under PBO event for populating the data and also write a loop for that internal table.

3) loop the internal table inside the PAI event also.

please let me know if you need any further help.

Murali.

Read only

Former Member
0 Likes
502

Hi,

Use the following code

loop at itab <b>WITH CONTROL tbctrl CURSOR tbctrl-current_line</b>.

module status_100.

endloop.

<b>Reward if helpful.</b>