hi Experts,
I am trying to download an excel sheet from the webdynpro application. I have created filedownload element in the webdynpro application.
and written the below code.
String pathXLS = WDURLGenerator.getResourcePath(wdComponentAPI.getDeployableObjectPart(),"ABC.xls"); InputStream streamXLS = new FileInputStream(pathXLS); IWDResource LocalConveyanceResourceXLS = WDResourceFactory.createResource(stream, "ABC.xls", WDWebResourceType.XLS, true); wdContext.currentContextElement().setLocalConveyanceResourceTargetXLS(LocalConveyanceResourceXLS);
I am able to download an excel sheet but it is blank with no data inside ?
Points would be given to helpful answers.
Regards,
Sanjyoti.