Application Development 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: 

Sending a PDF document as an attachment

Former Member
0 Kudos

Hi,

I have a PDF document which I need to send as an attachment.

The process behind this is, as soon as a Sales Order is created, a PDF document( this is a static one) needs to be sent to the Customer.

Anyone has idea of how this can be achieved.

Thanks,

Prasanna

4 REPLIES 4

Vinod_Chandran
Active Contributor
0 Kudos

Please see this post. You can find more links in this.

Also find some examples here

You can find a weblog from Thomas Jung explaining the step by step configuration for sending mail from ABAP.

/people/thomas.jung3/blog/2004/09/07/sending-e-mail-from-abap--version-46d-and-lower--api-interface

Message was edited by: Vinod C

athavanraja
Active Contributor
0 Kudos

where do you have this PDF document stored? or are you going to generate the PDF at runtime?

search the forum for email + attachment for sample coding.

also checkout the following programs

BCS_EXAMPLE_5

BCS_EXAMPLE_6

Regards

Raja

0 Kudos

Hi,

I am having document on my desktop. But I want the PDF to be sent as soon as Sales Order gets created.

I have created a Workflow for this. But I am not finding a way to send this PDF as an attachment in the mail.

So I cant read it from Desktop always.

Thanks,

Prasanna

0 Kudos

it will be a good idea to store the pdf in BDS. transaction OAOR.

Regards

Raja