‎2010 May 07 9:16 PM
Experts,
Doing Table control after a long time .. Somehow i am not getting Vertical scroll bar in my table control, even if i have number of entries in table control that will need vertical scrolling. Am i missing something here ? I thought vertical scroll bar comes in by default when you paint a table control on ABAP screen , right ??
FYI >. We are on SAP Enterprise 4.7 release ..
Would appreciate your reply .
Raj
‎2010 May 10 6:47 AM
Hello,
In the PBO of your screen, set the LINES property of the table control to the number of entries in the internal table whici contains the data + 1.
If the internal table is itab and the table control is tab_ctrl then try something like
describe table itab.
tab_ctrl-lines = sy-tfill + 1.
In the module in the PBO event
Regards
Sachin
‎2010 May 08 3:43 AM
Hello,
Upgrade your SAPGUI to the latest patch level and see if it works.
Regards,
David
‎2010 May 10 6:47 AM
Hello,
In the PBO of your screen, set the LINES property of the table control to the number of entries in the internal table whici contains the data + 1.
If the internal table is itab and the table control is tab_ctrl then try something like
describe table itab.
tab_ctrl-lines = sy-tfill + 1.
In the module in the PBO event
Regards
Sachin
‎2010 May 11 5:24 PM
Sachin ,,
You are the MAN ..... Thanks .. Your solution worked and i have the vertical scroll bar now .. GREAT ... Thanks again ...
Ashu
‎2010 Jun 06 2:15 PM
Let my table control name is VCONTROl
cant't be vcontrol-lines = sy-dbcnt
in my PBO