03-14-2014 9:07 AM
Hello experts,
I have the following requirement.
Consider the below line of code,
CONCATENATE text-002
lwa_table-id
text-003
lwa_table-Name
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.
Regards,
Satish
03-14-2014 9: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
lwa_table-id
INTO wa_body_msg1 SEPARATED BY space.
CONCATENATE text-003
lwa_table-Name
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?