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, check boxes, radio buttons, radio button groups, and push buttons. 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.
- Realizable 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 push buttons for marking columns.
- Scroll bars for horizontal and vertical scrolling.
- You can fix any number of key (leading) columns.
- Cell attributes are variable at run time.
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 scroll bar 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 (see following pages).
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 run time, the data object (my_control) 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
Challenges in implementing ERP
ERP implementation practices