cancel
Showing results for 
Search instead for 
Did you mean: 

Upload ".XLS" file in webdynpro

Former Member
0 Kudos

Hi experts

I want to upload a ".XLS" file in webdynpro,I use "HR_KR_XSTRING_TO_STRING" Convert encoded string to unicode string.

but, this function can not get the right result.

Anyone can give me some ideas or sample code.

Many thanks!

******************************************************

 

CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'

EXPORTING

FROM_CODEPAGE = '8500'

in_xstring = lv_data_source

 

* OUT_LEN =

 

IMPORTING

out_string = l_string.

******************************************************

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
Former Member
0 Kudos

Hi Katrice

I can only upload ".TXT" file base on your link.you can uload ".XLS" file?

Thanaks a lot!

Former Member
0 Kudos

Dear Katrice

Thanks for your information, i will check it.

Many thanks!

Answers (3)

Answers (3)

0 Kudos

Hi.

Refer following link.It will help you.

http://saptechnical.com/Tutorials/WebDynproABAP/Upload/Page3.htm

Thanks,

Ravi Sankar

Former Member
0 Kudos

Hello Pu Hui,

You cannot upload .xls file in SAP Web Dynpro. You can convert it into .xlsx format and upload using cl_fdt_xl_spreadsheet standard class. You can refer to my content for the same through the given link.

http://scn.sap.com/docs/DOC-45719

Please award points if useful.

Thanks and Regards,

Devesh Singh

Former Member
0 Kudos

Hi,

We can can not upload .xls files in web dynpro abap . You can convert the file to csv  or tablimited text file then upload .

Please check the below links for the same:

https://scn.sap.com/message/4601647

Regards,

NSingh