Skip to Content

Message to be displayed in next line.

Hello experts,

I have the following requirement.

Consider the below line of code,


INTO wa_body_msg SEPARATED BY space.

Now i am displaying the message in wa_body_msg as a body of a mail, and send the mail using FM "SO_NEW_DOCUMENT_ATT_SEND_API1"

Now my problem is when i see the body in mail i see the entire content in wa_body_msg in a single line.

What i want is I want the (text-002 and lwa_table-id) to display in first line and (text-003 and lwa_table-Name) to display in next line.

Can you please help me in achievig this requirement.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Mar 14, 2014 at 09:18 AM

    Well you are filling a table for the body (solist*). So the same way you create a concatenated string, create two and append them to the table separatedly.

    CONCATENATE text-002
    INTO wa_body_msg1 SEPARATED BY space.

    CONCATENATE text-003

    INTO wa_body_msg2 SEPARATED BY space.

    append wa_body_msg1 to lt_body.

    append wa_body_msg2 to lt_body.

    isn't this enough?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.