How to get the Vertical scroll bar in Table control

Question: HI everybody,

Can anybody tell me how to get the vertical scroll bar in table control.
Is it done using attributes of table control or do I need to write any code to get the vertical scroll bar.

I am getting horizontal scroll bar by fixing up no.of fixed columns for key fields. But I am not getting vertical scroll bar at all. This is not allowing to enter anymore entries in table control.Please help me , It urgent requirement.

Thanks,
Umakanth

Answer:
You need to describe the number of lines in your table and assign them to the "lines" field of your your cursor control.

* Assign total records to cnt_zmar-lines for scroll bar
DESCRIBE TABLE INT_ZMAR LINES WS_TOTREC.
cnt_zmar-lines = ws_totrec.

I believe this should be done in the first module of your pbo.

HTH rags21

Answer:
THis problem can be attributed to the SAP GUI and doesn't get resolved programmatically. I encountered the same problem and tried all that was possible to get the vertical scroll bar. Ultimately, i created the table control using the Table control Wizard in SE51and it solved the problem. Try doing this and i'm sure you'll be able to see the vertical scroll bar.
Copyright ?2007 - 2008 www.jt77.com