
Use this method to add an input field to a form.
For further information, refer to Using Input Fields .
CALL METHOD valid_reference->add_input_element
EXPORTING value = value
name = name
size = size
maxlength = maxlength
IMPORTING input_area = input_area.
|
Parameter and Type |
Opt. |
Description |
|---|---|---|
|
value TYPE SDYDO_VALUE |
X |
The contents of the input field. You can use this parameter to set a default value for the field. |
|
name TYPE SDYDO_ELEMENT_NAME |
X |
The name of the input field. You can address this name in the event handler methods for the field as sender->name . |
|
size TYPE I |
X |
The size of the field on the screen |
|
maxlength TYPE I |
X |
The maximum length permitted for user input in the field. Note: If maxlength is greater than size , the field is scrollable. |
|
input_element TYPE REF TO CL_DD_INPUT_ ELEMENT |
A reference variable with the type cl_dd_input_element . You can use this to set event handlers for the field. |