on 01-05-2011 9:35 AM
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
Solved by myself with using a context element typed string_table
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.