2018 May 18 12:11 AM
Requirement is to read attachment of inbound mails to SAP. I am able to read csv or txt attachment but not able to convert xls or xlsx binary data into internal table format.
I have tried a lot of options and class CL_XLSX_DOCUMENT seems to work partially. It is able to read partial data into xml format but not completely. It is reading all headers but for actual data, it is not reading in sequence and not all rows and generating one row with mixing up data from 2 rows.
Has anyone encountered this issue? Is there any alternative method for this?
2018 Jun 06 8:19 PM
ALSM_EXCEL_TO_INTERNAL_TABLE function module can be used for XLSX extension furthernore CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP' can be used in case of XLS extension.