Quantcast
Viewing all articles
Browse latest Browse all 1237

How to add multiple attachments to a mail


Hello,

 

I am working on the PDF "Root Cause investigation" (EHHSS_INC_AIF_INV_ROOTCAUSE)". There is a section to attach the document but SAP did not code anything... The user click on the 'send' button and the PDF is attached to the mail...I also need to attach to this mail all the documents that the user has selected.

 

Here is the code to attach the PDF to the mail...I extended the PDF interface to bind the filename but how do I attach the other documents to the mail?

 

try {

  event.target.mailDoc({

  bUI: true,

  cTo: email, //e-mail receiver

  cSubject: subject, //subject line

  cMsg: note //message of the mail

});

} catch(e) {

 

 

Thank you!

 

 

Marie-Josée


Viewing all articles
Browse latest Browse all 1237

Trending Articles