Start of Content Area

Object documentation Table Control  Locate the document in its SAP Library structure

Definition

You can use a table control to display and edit data in tables.

Note

An application can display table data in ALV Grid or in a table control. In some applications you can choose between displaying and editing data in either ALV Grid or a table control. If a configurable button (This graphic is explained in the accompanying text) appears in the right upper corner of the table, it is a table control.

Note that these two user interface elements require different keyboard navigation, with ALV Grid being more user-friendly.

Use

Access

Sequential element navigation works for table controls, which means you can move the focus forwards to a table control using [Tab] or backwards using [Shift]+[Tab]. If an underlying function exists, you can start it by pressing [F2].

Sequential group navigation works for table controls, which means you can move the focus away from a table control and select the next group using [Ctrl]+[Tab] or get to the previous group using [Shift]+[Ctrl]+[Tab].

Help Functions

You can open the context menu for a table control by choosing the [ContextMenu] key or [Shift]+[F10]. If a value list is available for the cell, you can display it by choosing [Alt]+[Down]. In more complex applications, the F4 help opens up a dialog box and provides selection options.

By choosing [Backspace] in an editable cell in a table control when the cursor is in the first position in the field, you can display a history list and choose one of your previous entries.

Internal Navigation

You can use [Tab] or [Shift]+[Tab] within a table control to navigate forwards or backwards between the editable cells. You can also use the up and down arrow keys to navigate vertically between the cells.

You can choose [Alt Gr]+ [Tab] to access read-only cells as well.

If the table control extends over more than one page you can page forwards or backwards through the document using [PageUp] or [PageDown]. You can use [Ctrl]+[Home] and [Ctrl]+[End] to go directly to the first or last page.

You can move the cursor between the characters within an editable table control cell using the right and left arrow keys. You can use [Ctrl]+[Left] and [Ctrl]+[Right] to jump to the next or previous word. Use the [Home] and [End] keys to place the cursor on the first or last word or character.

Selection

To select an entire row, choose [Shift]+[Space] in cell navigation mode.  To select an entire column, choose [Ctrl]+[Space]. To select the entire contents of a table control, choose [Ctrl]+[a].

You can use [Shift] and the right and left arrow keys to select characters within an editable cell.

Manipulation

You can use the clipboard to copy or cut selected characters. Choose [Ctrl]+[c] or [Ctrl]+[x] to do this. You can paste them elsewhere by choosing [Ctrl]+[v]. You can undo your last action by pressing [Ctrl]+[z]. When editing text, you can use the [Delete] key to delete the character to the right of the cursor and the [Backspace] key to delete the character to the left of the cursor.

Exit

To finish editing, choose [Tab] or [Enter] to leave the cell of a table control and accept the changes. Alternatively, choose [Escape] to leave the cell and undo the changes made.

 

 

End of Content Area