line_with_layout

If you want to ensure that a set of elements will always be displayed on a single line, use this method to mark the beginning and end of the set:

CALL METHOD valid_reference->line_with_layout
          EXPORTING start = start
                      end = end.

Parameter and Type

Opt.

Description

start
TYPE SDYDO_FLAG

X

Denotes the beginning of a block

end
TYPE SDYDO_FLAG

X

Denotes the end of a block

Example

The following example, if used in a form, would display an input field with a pushbutton next to it:

* Beginning of single line
CALL METHOD myform->line_with_layout
          EXPORTING start = 'X'.

* Place elements in line
CALL METHOD myform->add_input_element
          EXPORTING ......
CALL METHOD myform->add_button
          EXPORTING .......

* End of single line
CALL METHOD myform->line_with_layout
          EXPORTING end = 'X'.