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: 

Read attributes of SAP office document (Content-Type / charset)

lars_verbchels
Explorer
0 Kudos
362

Hi all,

I am seeking an opportunity to read the attributes "Content-Type" and "charset" of a SAP Office document. In our case, the SAP system receives external emails and forwards those in a SAP inbox of a SAP User (SBWP).

We want to download those e-mails as EML file and create a SAP DMS record with the email file as attachment, so it can be displayed again from there via MS Outlook. For the correct display of the email, however, we lack the attributes of "Content-Type" and "charset" of the original incoming email. If those attribute are missing in the EML file, MS Outlook does not display the characters correctly.

Unfortunately, the function module SO_DOCUMENT_READ_API1 does not read these attributes.

Does anyone have an idea how we can get these attributes? Is there a way to access the original incoming email with some other function module or database tables?

Thank you for your advice.

Best regards,

Lars

1 REPLY 1

Former Member
0 Kudos
100

Hi Lars,

  I do have same kind of requirement , i.e.., i am send mail from sap using CL_BSC class, now my requirement is i need to download  the mail(along with attachments) in .EML or .MSG  foramt and i need to attach it to DMS .

kindly let me know any solution found for this .

Regards

RamTeja

8149421468