Skip to Content
author's profile photo Former Member
Former Member

Process incoming mail with Excel attachment

Hello all,

I'm trying to develop a class in transaction SO50, to process some incoming mails which will come with an Excel sheet attatched.

I'm able to see the file in binary (hex) mode, but I haven't been to see its data in a "human" way.

I've tried also to save the same Excel in CSV format (xxx.csv), but the system also returns in binary mode.

Only extension I've seen as plain text was .txt, which is not what we want.

I've looked up Thomas Jung blog, but it didn't give a change.

Hope if any could give a solution, or some classes/samples to look at.

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Feb 27, 2010 at 09:18 PM

    Hi Rafael,

    if the excel attachment comes in proprietary ms excel format, you may use desktop office integration to open the attachment and extract the data.

    This means you will first make a local (GUI) download of the excel attachment and then open it throug a DOI interface

    See [Desktop Office Integration (BC-CI)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIOFFI/BCCIOFFI.pdf] for information on interface i_oi_spreadsheet and methods get_sheets, get_ranges_data and so on.

    Note: It is not possible to see excel data without using excel.

    Regards,

    Clemens

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2010 at 06:20 PM

    I have a similar implementation,

    About the document formatting you can use Desktop Office Integration (BC-CI) as it is said.

    To save the document you can use the BDN MF.

    To send the email I'm still trying...

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.