cancel
Showing results for 
Search instead for 
Did you mean: 

Export to Excel functionality

Former Member
0 Kudos

Hi,

I followed this link to create the Export to excel functionality

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-tec...

I was able to print cachedExcelResource.getURL() and cachedExcelResource.getResourceName().

But when I click on the button that invokes the excel functionality ,it is opening a window of the excelComp which is very small .So I am not able to see anything on that window.

Am i missing something here.Please let me know the solution and points will be rewarded for the helpful answer

Thanks

Bala Duvvuri

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Bala,

I think you are trying to open the Popup window, which might be very small. So set the size of the window using the following code in the method openExcelLinkPopup():

excelLinkWindow.setWindowPosition(WDWindowPos.CENTER);

excelLinkWindow..setWindowSize(50, 150);

excelLinkWindow.open();

Set the size according to your requirement so that you can see the content in it. This resolves your problem.

Thanks n Regards,

Jhansi Miryala

Former Member
0 Kudos

Jhansi,

Thanks for the reply.

I did tweak the application and found out that i didnot put any elements on the exceliview to show the URL.

now problem has been resolved.