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: 

Difference between FMs SO_NEW_DOCUMENT_SEND_API1 and SO_DOCUMENT_SEND_API1

Former Member
0 Kudos

Hi All,

I need to send an email throufh SAP report without any attachment.

Please suggest which one to go for among the below two function modules:

1. SO_NEW_DOCUMENT_SEND_API1

2. SO_DOCUMENT_SEND_API1

Kindly advice at the earliest as this is very important.

Also, guide me with soem t-codes that help in sending and tracking emails that are being sent. (for eg: SOST, SCOT).

Regards,

Namrata

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi ,

You can use second FM for with out sending Attachemenmts.

Regards

jana

7 REPLIES 7

Former Member
0 Kudos

Hi ,

You can use second FM for with out sending Attachemenmts.

Regards

jana

Former Member
0 Kudos

SO_DOCUMENT_SEND_API1:

This function module enables you send a new document including any existing attachments. The document and the attachments are transferred in the same table. They are created when sent and can also be placed in the sender's outbox.

It is necessary to distinguish between the document and its folder entries. The document itself only exists in the database once. It is a template for the folder entries and can be addressed via its object ID. Any number of folder entries can belong to the document. The folder entries contain the attributes of the document as well as some additional attributes relating to the folder entry itself. (Send priority and expiry date of the entry, for example.) Folder entries are created when a document is resubmitted, referenced or sent as well as when a new document is created.

SO_NEW_DOCUMENT_SEND_API1

This function module enables you to send a new document, which has not yet been created, internally and externally. During the send process the document is created, along with the attributes and content that are to be transferred

SOST : You can track the mails which are fired from SAP system.

SCOT : Mail server and port configuration and its done by BASIS.

0 Kudos

Thanks Naresh for an instant reply.

Can you also suggest which one to go in for?

Regards,

Namrata

Former Member
0 Kudos

use the first one

it will be best

0 Kudos

Hi Janagar,

Thanks a lot!

Just want to confirm which FM are you refering to; is it SO_NEW_DOCUMENT_SEND_API1 ?

Please revert at the earliest.

Regards,

Namrata

Former Member
0 Kudos

Hi namarata,

goto transaction se37

1)SO_NEW_DOCUMENT_SEND_API1

2)SO_DOCUMENT_SEND_API1

Read the function module documentation given.

Regards,

Sravanthi

Former Member
0 Kudos

You can use any of the two FMs: SO_NEW_DOCUMENT_SEND_API1 & SO_DOCUMENT_SEND_API1 to send email without an attachment.