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: 

issue in vertical scroolbar on the table control

Former Member
0 Kudos

Hi All,

I am not able to get the vertical scrollbar on the table control iuf line items increase in number. Please help me in solving the issue.

Thanks

K Sharma

1 ACCEPTED SOLUTION

Former Member
0 Kudos

write this code in PBO ..

tabdata ->table control name

tabcounter is the integer variable.

it_det is the internal table name

TABDATA-CURRENT_LINE = 1.

DESCRIBE TABLE IT_DET LINES TABCOUNTER.

IF TABCOUNTER = 0.

TABDATA-LINES = 100.

ELSE.

TABDATA-LINES = TABCOUNTER + 18.

ENDIF.

REWARD IF USEFUL

5 REPLIES 5

Former Member
0 Kudos

woh scroll bar teri kabhi nahin aayegi

u should go to "smtscdgfjbdf567865846865"

transaction and debug it to have desired result

Former Member
0 Kudos

write this code in PBO ..

tabdata ->table control name

tabcounter is the integer variable.

it_det is the internal table name

TABDATA-CURRENT_LINE = 1.

DESCRIBE TABLE IT_DET LINES TABCOUNTER.

IF TABCOUNTER = 0.

TABDATA-LINES = 100.

ELSE.

TABDATA-LINES = TABCOUNTER + 18.

ENDIF.

REWARD IF USEFUL

Former Member
0 Kudos

Hi Kush,

U double click ur table control ok..A window will appear in that there is a CHECK BOX with name VERTICAL is present we have to check it ok. Then ur problem is solved.

Reward points if helpful

Kiran Kumar.G.A

Have a Nice Day..

Former Member
0 Kudos

hi,

write down this into first module of PBO...

tab1-v_scroll = 1.

here tab1 is my table control name

reward if usefull...

Former Member
0 Kudos

Hi,

In se38

CONTROLS: TCTRL_PHONELIST TYPE TABLEVIEW USING SCREEN 100.

MODULE STATUS_0100 OUTPUT.

DESCRIBE TABLE itab_PHONELIST LINES LIN.

TCTRL_PHONELIST-lines = LIN.

-


-


ENDMODULE. " STATUS_0100 OUTPUT

MODULE EXTRACT_USERDATA INPUT.

lines = sy-loopc.

-


-


ENDMODULE. " EXTRACT_USERDATA INPUT

In se51

PROCESS BEFORE OUTPUT.

MODULE STATUS_0100.

-


-


PROCESS AFTER INPUT.

LOOP AT ITAB_PHONELIST .

MODULE EXTRACT_USERDATA.

ENDLOOP.

-


-