10-03-2008 8:12 AM
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
10-03-2008 8:15 AM
10-03-2008 8:15 AM
10-03-2008 8:16 AM
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.
10-03-2008 9:27 AM
Thanks Naresh for an instant reply.
Can you also suggest which one to go in for?
Regards,
Namrata
10-03-2008 9:28 AM
10-03-2008 9:34 AM
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
10-03-2008 9:55 AM
Hi namarata,
goto transaction se37
1)SO_NEW_DOCUMENT_SEND_API1
2)SO_DOCUMENT_SEND_API1
Read the function module documentation given.
Regards,
Sravanthi
10-10-2008 1:12 PM
You can use any of the two FMs: SO_NEW_DOCUMENT_SEND_API1 & SO_DOCUMENT_SEND_API1 to send email without an attachment.