cancel
Showing results for 
Search instead for 
Did you mean: 

Need guidelines for Print and excelspred sheet?

Former Member
0 Kudos

Hi,

I have creted an application that displays the table data into Excel sheet but When i open the Excel it is asking to openXml and then display Excelwindow and then display the tabledata into Excel format.

My requirement not like that when I click the button I want to display my table data into Excel with format.

And same thing displayed as PDF

For this requirement I have goen this thread

But I am not clear in this how to develop this .

/people/sap.user72/blog/2006/05/04/enhancing-tables-in-webdynpro-java-150-custom-built-table-utilities

Any body help me in this I was struck up overhere.

Thanks,

Lohi.

Message was edited by:

Lohitha M

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Lohitha,

I'm assuming that you want to display excel/pdf directly in new window without a dialogbox asking you to open/save it.

1. Create context attribute(of type "string") for URL of the excel file. Assign this context attribute with the value obtained from IWDResource.getUrl() with "OPEN_INPLACE".

2. Create a "LinkToURL" UI Element and bind url to the above context attribute.

Pls let me know if I misundstood your requirement.

Cheers,

~kranthi