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.
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