Skip to Content
0
Former Member
Apr 21, 2011 at 10:37 AM

Read Excel 2007 multi sheets file

152 Views

Hi guys,

I'm trying the code found here

http://wiki.sdn.sap.com/wiki/display/Snippets/ReadmultiplesheetsofanExcelfileintoSAPthroughABAP

Mi aim is to upload an excel 2007 document with multi sheets.

The code doesn't work properly at the command

CALL METHOD iref_spreadsheet->get_ranges_data

EXPORTING

  • no_flush = ' '

all = 'X'

  • updating = -1

  • rangesdef =

IMPORTING

contents = i_data

error = iref_error

  • retcode =

CHANGING

ranges = i_ranges

I'm developing in sap netweaver 7.0

Any suggetion???

Many thanks.

Edited by: Salvatore Bruno on Apr 21, 2011 12:38 PM