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

Format message for sms server

Former Member
0 Likes
360

Dear All,

I am working on a project wherein I am required to format a message and then insert it into a table so that it is

sms-ed forward as a message.

My requirement is to insert a message with line breaks in that db.

But I am not able to format the string message in such a manner that it looks like a message (with proper line breaks).

e.g Sales Today:

Sun: 12 MT

Soya: 20 MT

KGMO: 30 MT

How is it possible to format such a string in ABAP so that the db in which i want to insert it also treats the

line breaks in the message in as is manner.

Thanks in anticipation

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
324

data: lv_break type c value cl_abap_char_utilities=>CR_LF.

concatenate this variable where ever you need to line break.

1 REPLY 1
Read only

former_member156446
Active Contributor
0 Likes
325

data: lv_break type c value cl_abap_char_utilities=>CR_LF.

concatenate this variable where ever you need to line break.