Application Development and Automation 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: 
Read only

Table Control Questions

Former Member
0 Likes
938

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
912

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

10 REPLIES 10
Read only

Former Member
0 Likes
912

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

Read only

Former Member
0 Likes
912

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.

Read only

Former Member
0 Likes
913

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

Read only

Former Member
0 Likes
912

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

Read only

Former Member
0 Likes
912

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

Read only

former_member632991
Active Contributor
0 Likes
912

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

Read only

Former Member
0 Likes
912

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

Read only

Former Member
0 Likes
912

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

Read only

0 Likes
912

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

Read only

0 Likes
912

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