ABAP Keyword Documentation → ABAP − Reference → SAP GUI User Dialogs → General Dynpros → Field Help, Input Help, and Dropdown List Boxes
Dropdown List Boxes
Dropdown list boxes, which contain a predefined set of proposal values, can be defined for input/output fields on dynpros. It is not possible to enter a value in this type of input field and a value must be chosen from the proposal list instead. If a dropdown list box is associated with a field, the input help key (F4) cannot be used.
A dropdown list box is a single-column list of text fields with a maximum length of 80 characters. Internally, each text field is associated with a key of up to 40 characters. When the user selects a row, the content of the text field is entered in the input field on the screen and the content of the key is passed to the dynpro field. This means that the content and length of the screen field and dynpro field are not generally identical.
If a function code is associated with an input/output field with a dropdown list box, selecting a value
triggers PAI immediately and the function code is passed to the fields sy-ucomm
and the OK field. If no function code is associated, PAI must be triggered as usual using a different screen element.
If a dropdown list box is associated with an input/output field, the attribute Value List of the screen element can be used to define how the texts in the dropdown list box are created. There are two options:
- Value list from the input help (recommended)
- Value list from PBO modules (not recommended)
Other versions:
7.31 | 7.40 | 7.54