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

Vertical Scroll Bar in module pool

Former Member
0 Likes
1,253

Hi,

I am doing the module pool program in ECC 6.0 when i have more than 10 records in my internal table the tablecontrol wizard is showing only 5 records which are visible. when i hit the vertical scroll bar

all the records are getting refershed and unable to get single record.

Please suggest me how to get all 10 records and how the vertical scroll bar works properly

Regards

Edited by: Rasheed salman on Dec 6, 2008 5:35 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
637

HI,

in PBO

module status_100(if you are using 100 screen)

loop at itab with control tc.

endloop

in module status_100

describe table itab lines tc-lines

try this out

regards

Ramchander Rao.K

4 REPLIES 4
Read only

Former Member
0 Likes
638

HI,

in PBO

module status_100(if you are using 100 screen)

loop at itab with control tc.

endloop

in module status_100

describe table itab lines tc-lines

try this out

regards

Ramchander Rao.K

Read only

0 Likes
637

Hi

I had written same code in PBO.

But my records are getting refreshed if i use vertical scroll buttons.

I am only getting visible records for example mt table had 20 records and my table control has only 5 rows displyed i can see only 5 records

Regards

Read only

0 Likes
637

Hi

Try include this code in PAI

loop at itab.

module modify_tab

endloop

in program

module modify_tab

describe table itab lines tc-liens

if tc-current_line > tc-lines

append itab

else

modify itab index tc-current_line

endmodule

if it is not resolved please post your coding in PAI part and PBO part

if at all you are using any loop statements any other part of the code let us know

regards

Ramchander Rao.K

Read only

Former Member
0 Likes
637

Hi,

In PAI.

loop at itab.

MODULE update_itab .

endloop.

*****and in module.

MODULE update_itab INPUT.

lines = sy-loopc.

ENDMODULE.