| Purpose | With
Column
you can define columns in your own table (Table Control) or add them to an SAP Table Control.
Creating custom Table Controls is described under Table. |
||||||||||||||||||||||||||||||
|
Examples
Further examples |
Column
"Description" size=30
name="descr"
position=5
-readOnly
This creates a new column with the heading "Description". The column values are taken from the variables V[descr.1], V[descr.2],... |
||||||||||||||||||||||||||||||
| Format | Column "heading" size=x
name="varname"
(options)
A new column with the heading "heading" is appended to the table. The column width (also maximum input size) is x. The variables V[varname.1], ... are mapped to the column values (input and output), where the index 1,2,3,,, denotes the absolute row number within the whole table control (not only within the the visible part). It is also possible to use another column as index, instead of 1,2,3; see option keyColumn=. |
||||||||||||||||||||||||||||||
| Options |
|
||||||||||||||||||||||||||||||
|
Example pushbutton (VA01) |
GuiXT
This creates a table column displaying a pushbutton in each row. The icon with id "E8" is shown as a button label, with tooltip "Additionals". When the user clicks one of the buttons the InputScript "va01_vh.txt" is started. The row number is communicated to the InputScript via the system variable V[_tabrow]. This is the relative row number in the display, which, after scrolling, can be different from the absolute row number in the table. The InputScript selects the line and then enters the function code "=PADD" in order to switch to the "Additionals" screen in VA01 for the selected order item. GuiXT
|
||||||||||||||||||||||||||||||
| Tips & Tricks | |||||||||||||||||||||||||||||||
| Components | GuiXT (only useful with InputAssistant) |