on 06-03-2011 6:27 AM
Hi Expert,
I am using NW 7.0 ehp1 sp3. I developed some Webdynpro RFC model application for the product catalog of the material related data.
Now my requirement is to provide the download functionality in EXCEL and PDF format to all of these Webdynpro (java) iView.
How we can achieve this requirement? In which part of the webdynpro application we have to write the code?
Someone can help me very clearly in steps to achieve this?
Thanks,
Kundan
Hi Kundan,
This topic has been covered quite a few times on SDN. This extensive tutorial should have you kickstarted http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0e10426-77ca-2910-7eb5-d7d8982cb...
Cheers,
Robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robin,
Thanks for your replay. But this is not my issue. I developed a Webdynpro RFC model application. I want to give one button on the iView, like down load in excel or download in pdf for downloading the content of the iview. It may be numeric or text. So, when user clicks on this button the content of the iView must be downloaded in EXCEL of PDF form.
Thanks,
Kundan
Hi,
I don't think it is possible to redirect the html stream of the Web Dynpro iView to a PDF / Excel document, since it essentially would mean you have to call the Web Dynpro application again, maintaining the state and context of the iview itself
However, using (for instance) the JExcelApi (Excel) or iText (PDF) you could create documents using the data displayed in your Web Dynpro iView, which has the added benefit you could design and layout your PDF / Excel documents in a more suitable layout for printing (most WD applications look horrible when printed)
Cheers,
Robin
Hi Kundan,
it is opening the above URL. Also please check this http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=116097327
Best Regards
Arun Jaiswal
Hi,
As I stated previously, I don't believe it's possible to capture the rendered HTML stream of a WDJ iView and render it as a PDF
However, since you could perfectly create a new document using the JExcelApi (Excel) or iText (PDF), I don't understand how this couldn't be a solution to your requirement
Robin
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.