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

new line break problem

Former Member
0 Likes
434

Dear All,

I am inserting some lines text into a TextEdit Field on the

WebDynpro side and save it.

SAP Backend-System interprets new line breaks (line feeds)

which I have entered before beginning the next line through pressing enter button

as ##.

This input 
test1
test2

looks inside on the SAP-System like
test1##test2.

Have a solution to suppress displaying #.

Regards

sas

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
406

use replace statement

REPLACE ALL OCCURRENCES OF '#'

IN text WITH space

IN CHARACTER MODE.

here text = test1##test2

after that if u want to display text as inputed by user ...

test1

test2

then use split statement

SPLIT text AT space INTO i_tab IN CHARACTER MODE.

Regards,

Joy.

Dear All,

I am inserting some lines text into a TextEdit Field on the

WebDynpro side and save it.

SAP Backend-System interprets new line breaks (line feeds)

which I have entered before beginning the next line through pressing enter button

as ##.

This input 
test1
test2

looks inside on the SAP-System like
test1##test2.

Have a solution to suppress displaying #.

Regards

sas

1 REPLY 1
Read only

Former Member
0 Likes
407

use replace statement

REPLACE ALL OCCURRENCES OF '#'

IN text WITH space

IN CHARACTER MODE.

here text = test1##test2

after that if u want to display text as inputed by user ...

test1

test2

then use split statement

SPLIT text AT space INTO i_tab IN CHARACTER MODE.

Regards,

Joy.