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

Inquiry on SO_NEW_DOCUMENT_SEND_API1

Former Member
0 Likes
681

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

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

4 REPLIES 4
Read only

Former Member
0 Likes
648

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

Read only

0 Likes
648

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.

Read only

0 Likes
648

Hi,

May be you can compare your program with RKSCMAMAIL.

Regards,

Keerthi

Read only

Former Member
0 Likes
648

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.