Application Development 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: 

Hi everyone

Former Member
0 Kudos

what is meant by Tablecontrole.When will we use it?

8 REPLIES 8

Former Member
0 Kudos

Hi,

Table control is a control on screen which is used in dialog programs generally.

this is used to show data in tabular form.

Jogdand M B

Former Member
0 Kudos

Hi Ram,

Welcome to SDN.

There is an option called SEARCH on sdn. Use that, you will find a lot answers there.

Regards

Aneesh.

mohammed_moqeeth
Active Participant
0 Kudos

Dear Srimal,

Table control provides the option to enter mulitple entries at the same time..

It is like a Grid in VB..or kind of excel sheet.

find the below link for your kind reference:

http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm

Reward Points for helpful answers.

Moqeeth.

Former Member
0 Kudos

Hi srimal ram,

ABAP offers two mechanisms for displaying and using table data in a screen. These mechanisms are table controls and step loops. Table controls and step loops are types of screen tables you can add to a screen in the Screen Painter.

Table Controls in ABAP Programs

To handle table controls in ABAP programs, you must declare a control in the declaration part of the program for each table control using the following statement:

CONTROLS .

if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.

If useful Reward me with points.

Thanks

Sanket

Former Member
0 Kudos

Table Control is used in Module Pool Programming.

Table Control is used to display data of any internal table of ur program or the data from dictionary table directly ino a table format.

Using table control with the help of screen painter, data can be easily displayed.

It can be created manually through coding or using Table Control Wizard given in the screen painter.

The simple example for table control,

in sales order,it may contain more than one material,if you have more than one material ,how do you display?

We have to use table control,it will have number of columns and number of rows.

Try to create on tabel control with using ABAPDOCU Transaction->complex screen.

Note : when you define table control,you should use loop endloop both in PBO and PAI.

Thanks

Former Member
0 Kudos

Hi,

TableControl is used in Module Pool Programming.

Defining the Table Control Area

1. With the Screen Painter in change mode, choose the table control icon from the element palette.

The mouse pointer changes its shape.

2. Drag and drop the object onto the screen work area.

3. Resize or reposition the table control if necessary.

4. Assign an element name to the new table control.

Regards,

kavitha.

Former Member
0 Kudos

this is the screen element to display the row elements in the table format this is main use of table control .