cancel
Showing results for 
Search instead for 
Did you mean: 

Row Break in TextEdit UI Element

Former Member
0 Kudos

Hi at all,

how can I set row breaks / new lines at runtime in a TextEdit Element?

It is bound to a context attribute type string.

I try:

IF ls_lfa1_ablif-pfach IS NOT INITIAL.
    CONCATENATE lv_ablif_lfa1_txt ls_lfa1_ablif-pfach ls_lfa1_ablif-pstl2 ls_lfa1_ablif-pfort INTO lv_ablif_lfa1_txt SEPARATED BY space.
  ELSE.
    CONCATENATE lv_ablif_lfa1_txt '#' ls_lfa1_ablif-stras '#' ls_lfa1_ablif-pstlz ls_lfa1_ablif-ort01 INTO lv_ablif_lfa1_txt.
  ENDIF.

Thx for all answers.

Dirk

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Solved by myself with using a context element typed string_table

gill367
Active Contributor
0 Kudos

Yup that option is also there ...

thanks

gill367
Active Contributor
0 Kudos

Hi Dirk

use

cl_abap_char_utilities=>newline

it will provide the new line .

use as follow.

concatenate str str1 into str separated by cl_abap_char_utilities=>newline.

Regards,

Sarbjeet