on 02-10-2013 1:05 PM
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.
******************************************************
Hi,
Refer following link.It will help you.
http://saptechnical.com/Tutorials/WebDynproABAP/Upload/Page1.htm
http://wiki.sdn.sap.com/wiki/display/WDABAP/Excel+File+Upload+And+Display+Data+Using+Web+DynPro+ABAP
Katrice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Pu Hui,
Refer following.It will resolve your issue.
http://wiki.sdn.sap.com/wiki/display/WDABAP/Excel+File+Upload+And+Display+Data+Using+Web+DynPro+ABAP
http://an-sap-consultant.blogspot.in/2012/03/web-dynpro-abap-file-upload-excel.html
<reward if useful>
Katrice
Hi.
Refer following link.It will help you.
http://saptechnical.com/Tutorials/WebDynproABAP/Upload/Page3.htm
Thanks,
Ravi Sankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.