‎2008 Jun 12 11:54 AM
hi,
i am having some data in internal table that i want to format as text message and mail through SO_DOCUMENT_SEND_API1 function module but not as a attachement. i am using contents in body message. but i am not able to do formating , is there any way ?
internal table:
claimid claimdate expensetype amount
0001 01.06.2008 FUMD 20000
0002 02.06.2008 SUND 500
0003 05.06.2008 ENTM 1500
i want to print this in message body part and send it throgh mail, while using write statement , it takes lot time.
plz suggest me.
Saurin Shah
‎2008 Jun 12 1:31 PM
Hi
Take a table as mentioned below.
GT_OBJTXT LIKE SOLISTI1
OCCURS 0 WITH HEADER LINE, " Mail Text options
and populate the data that you want to print as body in this table line by line.
Formating/allignment only can be done while populating the table. U have to check the mail and keep adjusting the allignment.
And after populating send the table to one table parameter in funciton module that is...
CONTENTS_TXT = LT_OBJTXT.
This will populate the mail body.
<REMOVED BY MODERATOR>
Venkat.
Edited by: Alvaro Tejada Galindo on Jun 12, 2008 2:17 PM