Table controls and step circles are objects for screen table presentation that you add to a screen in the Screen Painter.From a programming outlook, table controls and step circles are the very same. Table controls are basically further developed step circles that show information with the look and feel related with tables in work area applications.
With table controls, the client can:
Look at the table upward and evenly
Re-size the width of a section
Look inside a field (when field contents are more extensive than the field)
Select table lines or segments
Re-request the arrangement of sections
Save the ongoing presentation settings for sometime later
Table controls additionally offer extraordinary designing elements (some programmed, some discretionary) that make tables simpler to check out and utilize. Table Control gives -
programmed table resizing (vertical and level) when the client resizes the window
separator lines among columns and between segments (vertical and level)
section header fields for all segments
One element of step circles is that their table columns can traverse more than one line on the screen. A column of a table control, then again, should constantly be contained in a solitary line (despite the fact that looking over is conceivable).As a general rule, a significant number of the highlights given by the table control are taken care of locally by your framework's SAPgui frontend, so you don't have to program them yourself. The main outstanding exemption for this is vertical looking over.where <ctrl> is the name of the table control on a screen in the ABAP program. The control permits the ABAP program to peruse the characteristics of the table control and to impact the control .Here, <scr> is the screen number where the underlying upsides of the table are stacked.
Cursor Position for a table control can be set in following ways:
At PBO you can set the cursor on a particular field of a particular line of a table control.
Utilizing the discretionary expansion OFFSET, you can enter the offset of the cursor in the field as portrayed under Setting the Cursor Position.
At PAI you can peruse the ongoing cursor position.
Notwithstanding the data given under Finding Out the Cursor Position, field <lin> contains data on which line of the table control the cursor is as of now on. You can likewise utilize
The framework variable stepl - contains the ongoing table line record in a circle … endloop. Loopc - contains number of lines apparent in the table
To make a table control
1.Add a table control component to your screen
2.Give a name to the table control. In the ABAP program proclaim a design with something similar ( CONTROLS <tcl> type TABLEVIEW USING SCREEN <scrn >)
3.To make fields go to the Dict./Program fields capability.
Enter the name of the design whose fields you need. (Assuming that you believe it should pick it from word reference of your program click the pertinent puhbutton).
In the field list pick the fields you need and pick alright.In the event that you need a choice segment , check the suitable really take a look at confine the characteristics and give it a name. Make the field in the ABAP program.
In the PBO you ought to have the assertion
It is inside the circles that information move occurs between the screen and the inside table.When you populate the interior table use DESCRIBE TABLE <itab> LINES <cntrl_name>-lines, to store the complete number of lines in the control.The FIELD explanation can be utilized to control when the information move occursTo change the qualities of individual cells briefly change the SCREEN table in the PBO. You can change the traits of the design made by the CONTROLS articulation