Skip to Content

FM to upload excel file

Hi ,

I have to upload excel file in my webdynpro application , for that i m using HR_KR_XSTRING_TO_STRING  but it dont work , I also used SCMS_XSTRING_TO_BINARY and SCMS_BINARY_TO_STRING for the purpose but did'nt get success .

Please help me out .

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 08, 2013 at 02:48 PM

    Hi,

    There is no provision to upload excel file in Web Dynpro ABAP. However you can upload a tab delimited file (.txt or .csv files ). when you use the FM HR_KR_XSTRING_TO_STRING to upload the .xls file you will get junk characters.  You can convert the .xls file to tab separate file and upload using the mentioned function module.

    But you can upload .xlsx files using ABAP2XLSX. Check this document for reference  http://scn.sap.com/docs/DOC-45719

    Hope this helps u.,

    Regards,

    Kiran

    Add comment
    10|10000 characters needed characters exceeded