Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Long Text Line Break

Former Member
0 Likes
2,379

Hi,

i tried to import the following material sale text by LSMW:

Line 1

Line 2

Line 3

But it only loaded the first line, how should handle the line break in source tab file??

Regards,

Kit

Hi,

i tried to import the following material sale text by LSMW:

Line 1

Line 2

Line 3

But it only loaded the first line, how should handle the line break in source tab file??

Regards,

Kit

2 REPLIES 2
Read only

Former Member
0 Likes
1,223

after you get the values in table you can use FM:

TR_SPLIT_TEXT -> for each line.

Read only

Former Member
0 Likes
1,223

You can do this Store all the text in online

For each line you give the line feed and concatenate next line.

CONCATENATE LINE1 LINE2 LINE3 into longtext separated by CL_ABAP_CHAR_UTILITIES=>CR_LF.

the see the effect.

This will force the line break. and you get all texts.