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 an email with pdf attachment in Ecc6

Former Member
0 Kudos

we were in 4.6 c and recentely upgraded to ECC6. we have a program which we are sending email with pdf attachments. now it is breaking, we are able to display the pdf in the screen, but once it became the attachment , it is not going.

we are running the program in forground and not reading the spool and sending it. any idea

1 ACCEPTED SOLUTION

Former Member
0 Kudos

http://www.sap-img.com/abap/sending-email-with-attachment.htm

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/abap-Sendthespooldatatoanemail+address.

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/convertSpoolrequesttoPDFandsendase-mail

Friend just have a look in the forum itself, there are many posts for ur query, you definetly get exact solution no need to wait for answers/solutions.

All the best

2 REPLIES 2

Former Member
0 Kudos

http://www.sap-img.com/abap/sending-email-with-attachment.htm

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/abap-Sendthespooldatatoanemail+address.

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/convertSpoolrequesttoPDFandsendase-mail

Friend just have a look in the forum itself, there are many posts for ur query, you definetly get exact solution no need to wait for answers/solutions.

All the best

Former Member
0 Kudos

Hi Dear friends,

I tried to send an email with PDF attachement and I could see my attachement in the transaction SOST but when I click on the attachment , it tried to open but there was message came up "ADOBE READER COULD NOT BE OPENED .... BECAUSE IT IS EITHER NOT A SUPPORTED FILE TYPE ORTHE FILE HAS BEEN DAMAGED ( EX:IT WAS SENT AS AN EMAIL ATTACHMENT AND WAS NOT CORRECTLY DECODED) . with message , I have no clue ...Could any one help me to resolve this problem please ? I am using the send email function wiith doc_type = 'PDF'.

Thanks ,