‎2008 Jul 15 10:25 PM
I have a table controlw ith 11 rows.
As the user scans the items, the serial numbers start filling into the table control.
Once it reaches 11 rows, they have to press ENTER button to input furhter.
Can we avoid this pressing of any key and allow the scan to continue beyond the 11 rows at a time?
This is somewhat like an auto scroll - probably may not be posiible - right?
‎2008 Jul 16 5:43 AM
hi,
there is a scrolling optoin in a table control. Double click on you table contol in layout editor . now click on the two checkbox ( vertical , horizontal ) below Resizing label. It will create vertical and horizontal scrolling. You can specify the number of lines initialy as 11 and then can create a customized insert kind of button which will insert a blank row after 11th line . For that. code like this,
READ TABLE ITAB INDEX TAB_SCHEDULE-CURRENT_LINE.
DESCRIBE TABLE ITAB LINES LIN1.
IF SY-UCOMM = 'ADD' AND LIN1 =11.
APPEND INITIAL LINE TO ITAB.
ENDIF.
‎2008 Jul 16 12:53 PM
‎2008 Jul 16 12:12 PM
If you are going to do an upload BDC it is going to be hectic. It is better for you to go for a BAPI to upload data
‎2008 Jul 21 7:28 AM
Hi
Try this and check.
DATA: N_LINES TYPE I.
DESCRIBE TABLE ITAB LINES N_LINES.
TABLE_CONTROL-LINES = N_LINES.
( Now it will show the Vertical Scrollbar for the table control. )
Hope this would help you.
Murthy
‎2008 Oct 10 8:47 PM
By setting the cursor position and topline of the table control this can be achieved - but ultiamtely an enter button is passed at the end of each scan.