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

Send mail with 2 attachments

Former Member
0 Likes
480

Hi all,

I need to send an email with 2 attachments: 1 is a sapscript converted into PDF, and the other one is an Excel sheet.

Is it possible?

I think I almost have it, with function SO_NEW_DOCUMENT_ATT_SEND_API1, and table field pack_list-head_start, but I can see the PDF and not the Excel.

Thanks in advance,

Rafael Llabré

1 ACCEPTED SOLUTION
Read only

Sm1tje
Active Contributor
0 Likes
453

This is possible, however for every attachment you need for example a new pack list. So the thing you do for ONE attachment has to be repeated for every new attachment.

have a look at this thread:

https://forums.sdn.sap.com/click.jspa?searchID=10795451&messageID=4850757

Edited by: Micky Oestreich on Apr 16, 2008 10:03 AM

Hi all,

I need to send an email with 2 attachments: 1 is a sapscript converted into PDF, and the other one is an Excel sheet.

Is it possible?

I think I almost have it, with function SO_NEW_DOCUMENT_ATT_SEND_API1, and table field pack_list-head_start, but I can see the PDF and not the Excel.

Thanks in advance,

Rafael Llabré

2 REPLIES 2
Read only

Sm1tje
Active Contributor
0 Likes
454

This is possible, however for every attachment you need for example a new pack list. So the thing you do for ONE attachment has to be repeated for every new attachment.

have a look at this thread:

https://forums.sdn.sap.com/click.jspa?searchID=10795451&messageID=4850757

Edited by: Micky Oestreich on Apr 16, 2008 10:03 AM

Read only

Former Member
0 Likes
453

Hi,

i don't use SO_NEW_DOCUMENT_ATT_SEND_API1, is use classes.

Here you can find a lot of good examples: BCS_EXAMPLE_* with SE38.

Hope it helps.

Regards, Dieter