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

extract email attachment

Former Member
0 Likes
1,090

Hi SDN,

I'm looking for a solution to extract attachments of an email (such as pdf's or tif's) once I have the email in SAP via SO28 and access them through abap.

Any help appreciated!

Hi SDN,

I'm looking for a solution to extract attachments of an email (such as pdf's or tif's) once I have the email in SAP via SO28 and access them through abap.

Any help appreciated!

5 REPLIES 5
Read only

0 Likes
752

Kunal,

sorry that I was precise enough. I'm actually talking about the scenario, where we RECEIVE and email (i.e. with an Adobe pdf) and need to extract the pdf attachment from the email after receiving.

Some hints would really help me a lot.

Cheers,

Torsten

Read only

0 Likes
752

Hi,

Usually this is done by a middleware like XI which is capable of reading a mail from the mail box using a MAIL Adapter. I don't know if the same can be done using ABAP.

Regards,

Ravi

Read only

0 Likes
752

Implementing an entire XI infrastructure sounds like a lot of effort to provide this piece of functionality.

Wouldn't it be possible to extract the attachement somehow from the binary of the email?

Torsten

Read only

0 Likes
752

if you are on WAS 6.10 and above you can achieve this and there is an excellent weblog by Thomas Jung on this topic at

/people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher

Regards

Raja