‎2007 Apr 20 11:57 AM
Good Morning,
I have a table control which enables selection of one line, how can i enable or make possible to select multiple lines of this table control in order to process them later?
Another question i have is when my table, which contains data to show in the selection control exceeds the lines defined in the table control i can't see the other lines since table control scrolling looks like it's disabled, how can i make scrolling available?
Best Regards,
Pedro Gaspar
‎2007 Apr 20 12:02 PM
Hi,
For these set the TBAle control properties.
Go to Screen, select the table control
Check the property for <b>multiple sel</b>
<b>and Hor/VER Scroll bar</b>
If scroll bar is not coming as this ,
then in PBO , where u r selecting the data
Describe itab lines n.
TC-lines = n.
Hope it helps.
Regards,
Santosh
‎2007 Apr 20 12:00 PM
have a table control which enables selection of one line, how can i enable or make possible to select multiple lines of this table control in order to process them later?
double click on table control , in the attributes there is one checkbox for multiple lines, check that
‎2007 Apr 20 12:00 PM
goto SE51 and specify program name... In layout of table control, click on the properties and here u tick, multiple selection check box. even check the horizontal and vertical bar check box.
‎2007 Apr 20 12:02 PM
Hi,
For these set the TBAle control properties.
Go to Screen, select the table control
Check the property for <b>multiple sel</b>
<b>and Hor/VER Scroll bar</b>
If scroll bar is not coming as this ,
then in PBO , where u r selecting the data
Describe itab lines n.
TC-lines = n.
Hope it helps.
Regards,
Santosh
‎2007 Apr 20 12:02 PM
Hi,
See the attributes of the table control in the Screen
below there are CHeckboxes to select scroll vertical, horizontal and there is a field for Line selection
Put something there like v_CHK.
in the code (PAI) you should write IF V_CHK = 'X'. menas process the selected records.
when you declare this v_chk in the attributes you can select multiple records also.
and when you select the scroll bars, when the data in the table control exceeds more than a page this scroll bar comes automatically into the picture.
reward points if useful
regards,
ANJI
‎2007 Apr 20 12:02 PM
Hi
- U need to add a new field (flag) for selection in your internal table and set it as mark field in the screen painter, here you can choose the multiply or single selection.
Now all records selected will have the value X in the mark field.
- Set (in PBO) the field <TABLE CONTROL>-LINES = nr. hit of internal table:
DESCRIBE TABLE LINES SY-TABIX.
<TABLE CONTROL>-LINES = SY-TABIX.
Max
‎2007 Apr 20 12:04 PM
Hi,
Check the properties of table control
Go to Screen, select the table control
Check the property for multiple sel
and Hor/VER Scroll bar
then in PBO , where u r selecting the data
<b>Describe itab lines n.
TC-lines = n.</b>
Hope it helps.
Regards,
Sonika
‎2007 Apr 20 12:08 PM
Hi
Check the Table control properties in Screen Layout & check the Vertical Scroll bar property.
In PBO get the number of itab lines to display using describe
then assign table-line = no of itab lines.
Thanks
Sandeep
Reward if helpful
‎2007 Apr 20 1:07 PM
Hi,
In the layout, Goto the table control attributes.
There check the vertical and horizontal resizing attribute to get scroll bar.
click multiple option in linesel attribute for multiple selection.
Hope this is useful..
Thanks and regards,
Subashini.J
‎2007 Apr 20 1:14 PM
Hi.
just double click ur table control and der just click the button for <b>multiple select</b> entrie and for scrolling u can mannually set <b>table_control_name-v_Scroll = 'X'.</b> and also befor displaying set table_control_name - lines = no of lines in itab.
hope it helps ...
or provide me more clarification
‎2007 Apr 20 2:16 PM
also take care whenever ur scrolling PAI will get riggered just be careful with ur code...
still have any problem tell me will try my best