Application Development 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: 

Inquiry on SO_NEW_DOCUMENT_SEND_API1

Former Member
0 Kudos
109

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

Former Member
0 Kudos
76

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

0 Kudos
76

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.

0 Kudos
76

Hi,

May be you can compare your program with RKSCMAMAIL.

Regards,

Keerthi

Former Member
0 Kudos
76

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.