cancel
Showing results for 
Search instead for 
Did you mean: 

Excel file upload

Former Member
0 Kudos

Hi,

I m trying to upload xls file. Using below code for that

lv_conv = CL_ABAP_CONV_IN_CE=>CREATE( input = Item_File_Content ).

lv_conv->READ( IMPORTING data = lv_content len = lv_len ).

I m able to read csv file with this but unable to read xls file. Is there any other method i need to use for xls file?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Padmaja,

There are a few FMs mentioned in this thread, although the thread is still open.

I am not sure how much help this will be to you but still some discussion has happened here and you might gain some knowledge and it might help you resolve the issue you are facing

Regards,

Anoop

Former Member
0 Kudos

Hi Padmaja,

If you want to run Office Product in Dynpro you need to Configure Ofiice Control

while you install Dynpro .

For Example:

See WD component WDR_Test_events .In that see View

BG_Nice_example_01 . Business graphics UI element you can see For Customizing Proprty -> area01.xls . that xls is added in MIME objects .

Also there is :

Office Integration Library

The Office Integration Library and its OfficeControl UI element allows you to display a PDF document within a Web Dynpro application.

● Microsoft Word documents with the doc file extension

● Microsoft Excel documents with the xls file extension

● StarOffice Calculator documents with the ods file extension

● StarOffice Writer document with the odt file extension

Prerequisites

● Installation of Microsoft Office or StarOffice.

For more information about Office versions supported by SAP see note 722513.

● ActiveX must be activated in the browser.

Hope this has cleared your question to some extent.

Cheers,

Darshna.