2011 Sep 13 7:35 AM
Hi SAP Experts,
Im using FM SO_NEW_DOCUMENT_SEND_API1 to send e-mails to external table and is passing the e-mails body text to an internal table per line passing to parameter OBJECT_CONTENT. In business workplace outbox it is showing correctly but when the actual e-mail is sent, the user receives the e-mail as continuous text instead of text per line basis. Thanks in advance.
Je
2011 Sep 13 7:47 AM
Hi,
After append to objcont, ensure that these lines are added.
DESCRIBE TABLE OBJCONT LINES ENTRIES.
READ TABLE OBJCONT INDEX ENTRIES.
DOC_CHNG-DOC_SIZE = ( ENTRIES - 1 ) * 255 + STRLEN( OBJCONT ).
Please refer to the fm documentation for more info.
Regards
Keerthi
2011 Sep 13 7:55 AM
Hi Keerthi,
I have already applied that code and followed the online documentation. Is there anymore parts that I should look into. In Business Workplace it is showing correctly but that actual e-mail sent is not. Thanks.
2011 Sep 13 8:24 AM
Hi,
May be you can compare your program with RKSCMAMAIL.
Regards,
Keerthi
2011 Sep 13 8:28 AM
Hi,
Kindly check your Email Program Settings. ie. OUTLOOK /etc.
The Settings for Text to be displayed also effects the way the text appears in your email.
Hope this will surely help you !!!
Regards,
Punit Raval.