Skip to Content
avatar image
Former Member

Reading the contents of excel sheet in Webdynpro java 7.3

Hi All,

I have a requirement where in i want to read the contents of the Excel file in portal. I could see the links for excel file upload for NWDS 7.0 but i am facing some issues in using the same thing in NWDS 7.3. Can any one help me out in achieving the same if any one has implemented the same in NWDS 7.3.

Please find the code am using and its not working

for reading the columns : int columns = sh.get columns( )

                                     int rows = sh.get rows( ).

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 10, 2013 at 06:36 AM

    Hi Saphire,

    if you are getting error while building the DC, You might need to paste the jxl.jar file in your work space, i.e. in the location

    ....\workspace.jdi\LocalDevelopment\FRAMEWORK\sap.com\tc\ddic\runtime\facade\_comp\gen\default\public\runtime\lib\java

    If you are getting runtime exception i.e ClassNotfound exception, in NWDS, open Navigator, select your project, create a folder 'lib' under WEB-INF, and paste the jxl.jar file in folder lib. Build and deploy.

    Regards,

    Prasanna N

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 09, 2013 at 12:14 AM

    what's the issue

    Add comment
    10|10000 characters needed characters exceeded