‎2007 Jan 31 9:55 AM
what is basically tble conrol
is it something giving various conditions to table to extract data
‎2007 Jan 31 9:59 AM
Hi ,
table control is used to create change and display data based on condition in tabular format
Table controls and step loops are types of screen tables you can add to a screen in the Screen Painter.
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 <ctrl> TYPE TABLEVIEW USING SCREEN <scr>.
Please reward if useful.
‎2007 Jan 31 10:00 AM
Hi,
The basic idea is goto se51 screen painter create new pgm and go the the layout and find out the table control.
And u have to create any module pool pgm after that some fetching data and seegin through the output through table control is simply very easy to understandable one.
Thanks,
Shankar
‎2007 Jan 31 11:54 AM
Hi,
Table control is used to view data. For example a Sales order may contain different line items. To display the sales order and all the related line items in one screen u have to use table control or set loops.
Regards,
Shafi
‎2007 Jan 31 11:59 AM
Hi,
The table control facilitates the display and entry of one-line, tabular data in dialog transactions.
The functional scope has been defined so that you can implement many typical set operations usually handled by an elementary STEP-LOOP with the standard methods of a Table C ontrol.
<b>Functional scope</b>
1) Resizeable table grid for displaying and editing data.
2) Column width and column position modifiable by user and by program.
3) Storing and loading of user-specific column layout.
4) Selection column for line selection with color selection display.
5) Variable column headers as pushbuttons for column selection.
6) Simple selection, multiple selection, Select/deselect all.
7) Scrolling functions (horizontal and vertical) via scroll bar.
😎 Fixing of any number of key columns.
9) Setting attributes for each cell at runtime.
http://help.sap.com/saphelp_sm32/helpdata/en/9f/dbac9f35c111d1829f0000e829fbfe/content.htm
Regards
Sudheer
‎2007 Jan 31 12:23 PM
Hi,
Find the details below:
 A table control is an area on the screen in which the system displays data in tabular form. It is processed using a loop. The top line of a table control is the header line, which is distinguished by a gray separator.
 Within a table control, you can use table elements, key words, templates, checkboxes, radio buttons, radio button groups, and pushbuttons. A line may have up to 255 columns; each column may have a title.
 You can display or enter single structured lines of data using a table control.
 Features:
 Resizeable table for displaying and editing data.
 The user or program can change the column width and position, save the changes, and reload them later.
 Check column for marking lines. Marked lines are highlighted in a different color.
 Line selection: Single lines, multiple lines, all lines, and deselection
 Column headings double as pushbuttons for marking columns.
 Scrollbars for horizontal and vertical scrolling.
 You can fix any number of key (leading) columns.
 Cell attributes are variable at runtime.
 Users can save display variants for table controls. These variants can be saved by each user, along with the basic setting, as the current display setting or as the default display setting.
 The table control contains a series of attributes that are controlled entirely at the presentation server: These are:
 Horizontal scrolling using the scrollbar in the table control
 Swapping columns
 Changing column widths
 Marking columns
 Marking lines
 The PAI processing block is triggered when you scroll vertically in the table control or save the user configuration.
 As well as the normal "Object name", "Start position on screen" and "Static size" attributes, table controls also have special table control attributes.
 The "Special table control attributes" determine the table type and display options for a table control, as well as whether it can be configured by the user. The fields stepl and loopc of structure syst contain information about the loop processing used with table controls
 When you create a table control, you must create:
 A table control area.
 Table control fields.
 To create a table control area, choose the table control object from the object list in the Screen Painter and place it in the screen work area. Fix the top-left hand corner of the table control area, and then drag the object to the required size.
 In the "Object name" attribute, assign a name to your table control. In the ABAP program, declare a structure with the same name, containing the dynamically changeable attributes of the table control.
 The CONTROLS statement declares a complex data object with the type TABLEVIEW (corresponding to the type CXTAB_CONTROL, declared in type group CXTAB in the ABAP Dictionary). At runtime, the data object contains the static attributes of the table control.
 You maintain the initial values (static attributes) in the Screen Painter. The USING SCREEN addition in the CONTROLS statement determines the screen whose initial values are to be used for the table control.
 You can reset a table control to its initial attributes at any time using the statement REFRESH CONTROL -current_line to do this.
Hope these much details help you.
Reward points if details are helpful to you.
-B S B