2023 Oct 09 6:55 AM
Hi Friends,
it's PO output type(external send). It send smartform as an attachment in the mail but there is no OTF FM and SO_NEW_DOCUMENT_ATT_SEND_API1.
TDTITLE and TDCOVTITLE are mail subject and attachment name. But there is no mail composer message(mail message). How to add the mail message.
Thanks with regards,
vallamuthu M.
Hi Friends,
it's PO output type(external send). It send smartform as an attachment in the mail but there is no OTF FM and SO_NEW_DOCUMENT_ATT_SEND_API1.
TDTITLE and TDCOVTITLE are mail subject and attachment name. But there is no mail composer message(mail message). How to add the mail message.
Thanks with regards,
vallamuthu M.
2023 Oct 09 7:11 AM
You know, people speaking about SO_NEW_DOC... go directly to Developer Hell ...
If you use External Send, you have not a lot of options. Just those available in transaction NACE (if you don't use BRF+).
If you want to add specific text in the mail body, you have to create two Smartforms. One for the PO, one for the cover letter. You configure the cover letter in NACE, and in the Print Program you call the Smartforms and convert it in PDF.
I have wrote a very old blog about this :
Sending Mail using Oo (2) – Smartforms | SAP Blogs
(even at this time the FM was forbidden)
2023 Oct 09 8:36 AM
Read this KBA: 1718906 - How to add additional Text to outgoing e-mail body in purchase order? (transaction SODIS and a BAdI but for PDF and not SmartForms)
2023 Oct 09 10:43 AM
Hi Frederic Griod,
Thanks for your reply.
Could you provide me steps to configure the covering letter in NACE.
Thanks with regards,
Vallamuthu M