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

Table Control Scrolling Button Activate Problem

Former Member
0 Likes
1,133

Hi,

I have created a table control from internal table.

Initially the internal table is having no rows.

In this case Table control is showing no scroll bar. What I want is it should activate the scrolling functionality even if there is only one record.

In my scenario initially there wont be any record. If user presses the scroll button it should create a row in internal table. But scroll button is disabled.

Awaiting for comments.

Nitin

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
777

Hi,

I think that table control scroll is activated, when the internal table rows are more than the rows of the table control. Anyway you can try to modify this in your PBO.

MODULE STATUS_0100 output.

<control_name>-V_SCROLL = 'X'.

ENDMODULE.

Svetlin

P.S. If you find an answer useful, please assign reward points.

Message was edited by: Svetlin Rusev

3 REPLIES 3
Read only

Former Member
0 Likes
777

Hello,

I had a similar problem. Try creating the table control using the wizard and the problem will get solved.

Regards,

Shekhar Kulkarni

Read only

Former Member
0 Likes
778

Hi,

I think that table control scroll is activated, when the internal table rows are more than the rows of the table control. Anyway you can try to modify this in your PBO.

MODULE STATUS_0100 output.

<control_name>-V_SCROLL = 'X'.

ENDMODULE.

Svetlin

P.S. If you find an answer useful, please assign reward points.

Message was edited by: Svetlin Rusev

Read only

0 Likes
777

Scroll bar gets displayed if the no of rows in internal table data is greater than the no of line displayed in screen.

To do this u have to set

<table control name>-LINES = no of rec in itab.

if u donot hv records in itab & u want scroll bar

then

<table control name>-LINES = 20 (something greater than the actual lines displayed in that table control without scroll bar)

regds

gv