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

Module pool scroll bar problem

Former Member
0 Likes
1,452

Hi Experts,

In Module pool layout I designed with the check box and the text boxes adn labels.

In this module pool I am using the step loops.

I am not designed any scroll bar in the layout but its coming in the output.

The probelm is after diplaying the output intially scorll bar is coming

but if we go to the another screen and come back that scroll bar is hiding.

if we hit the enter or if we press the page down button it's showing the scroll bar.

Please suggest me I want the scrall bar always.

Thnx

Sam

3 REPLIES 3
Read only

Former Member
Read only

sivasatyaprasad_yerra
Product and Topic Expert
Product and Topic Expert
0 Likes
822

Use following code in PBO of the screen.


    DESCRIBE TABLE <<internal table which holds the values>> LINES <<table control>>-lines.

Regards,

Siva.

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
822

Hi,

In the PBO of the screen on which you are displaying the data in the table control, use code:-


data : line_count type i.

describe table <itab>
lines line_count.
"no of records in internal table

tab_ctrl-lines = line_count + 10.
"dynamically increase the size of the table control

"itab is internal table
"tab_ctrl is the name of table control in screen layout

Hope this solves your problem.

Thanks & Regards,

Tarun Gambhir