| Purpose | With DropDownList you can generate a drop down list. It can be used for input in SAP standard fields or for your own variables. | ||||||||||||||||||||
|
Examples
Further examples |
DropDownList
(10,1) "currencylist"
refer="F[Currency]"
width=20 A drop down list is displayed. The list items are taken from the long text "currencylist". The selected value is put into the standard entry field F[Currency]. DropDownList (4,1) "countrylist" refer="V[XD_country]" width=24A drop down list is displayed. The list items are taken from the long text "countrylist". The selected value is put into the GuiXT variable V[XD_country]. |
||||||||||||||||||||
| Format 1 | DropDownList
(row,column) "longtext"
refer="name"
To display the drop down list, the content of the long text variable "longtext" is interpreted as follows:
You can fill the long text variable with fixed values defined in your script (Example 1), or read a separate file where you maintain the items, or read the values from the SAP database, e.g. the search help values (Example 2). |
||||||||||||||||||||
| Format 2 | DropDownList
(row,column)
table="V[varname]"
refer="name"
The selection list is built
from the GuiXT table variable V[varname]. The first column is the key,
the second the text. |
||||||||||||||||||||
| Options |
|
||||||||||||||||||||
| Example 1 |
GuiXT
|
||||||||||||||||||||
| Example 2 |
GuiXT
|
||||||||||||||||||||
| Tips & Tricks | |||||||||||||||||||||
| Components | GuiXT + InputAssistant |