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

SMARTFORM - EMAIL Attachment

vallamuthu_madheswaran2
Active Contributor
0 Likes
1,449

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.

3 REPLIES 3
Read only

FredericGirod
Active Contributor
1,361

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)

Read only

RaymondGiuseppi
Active Contributor
1,361

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)

Read only

vallamuthu_madheswaran2
Active Contributor
0 Likes
1,361

Hi Frederic Griod,

Thanks for your reply.

Could you provide me steps to configure the covering letter in NACE.

Thanks with regards,

Vallamuthu M