Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to add multiple attachments to a mail

Anonymous
Not applicable

Hello, 

I am working on the standard PDF "Root Cause investigation" (EHHSS_INC_AIF_INV_ROOTCAUSE)". There is a section to attach documents 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.

I know how to send the PDF in Javascript but how do I attach other documents to the same 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

0 Replies