Application Development 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: 

screen error on pbo and pai

Former Member
0 Kudos

hi experts ,

how to increae step loop itreation in in screen table control .

when wver the dubugging the exustion control goes to there 7 loops onyy 7 itriations because but actuallly in my table control 100 records how to change the iincrease step loop itrations .

2 REPLIES 2

former_member1245113
Active Contributor
0 Kudos

Hi Raghu,

What you understand is correct.

The Loop in PBO and PAI loops through the Visible number of rows only, The purpose is to transfer the screen data to Itab of the Program. If you want any modifications you need to loop it separately in Program through a module other than LOOP statements of PAI or PBO

in PBO
loop at itab with control tc.
" The purpose of this loop is just to transfer the visible rows of screen to program
endloop.
"Create another module here next to above loop statement or before it as provided below
module modify_itab_outof_loop_statement

in PAI.
"Create another module here next to below loop statement or before it based on your requirement
loop at itab.
" The purpose of this loop is just to transfer the visible rows of screen to program
endloop

In program
module modify_itab_outof_loop_statement
loop at itab. " This loops through the number of rows of itab say 100
"here you can do the Itab manipulation/Modifications Etc
" This can be anywhere except the LOOP statements in the flow logic and in a separate module as suggested
endloop.
endmodule

Cheerz

Ram

0 Kudos

thanku very much ram ,

suppose 100 record i changed in table control . i want modify the record in data base also . if i write module after pai step loop . how can get what changes in the table control 100 th record .

what is the solustion for that .