Skip to Content
avatar image
Former Member

Convert Web Dynpro to PDF

Hi All,

I have a requirement of converting a web dynpro form to a pdf file. The data in the web dynpro form should be written into PDF.

I have gone thru the Wroking with PDFObject tutorial.The tutorial talks abt using EJBs and converting the xml file to pdf. Is it possible for me to convert the form to XML without using EJB and then convert it to PDF.

Also, for converting the XML file to PDF, are all the pre-requisites required :

1. Adobe LiveCycle Designer

2. Active Component Framework (ACF) of the Interactive Forms

3. Adobe document services are configured on the SAP J2EE

Plz comment.

Nikhil

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Dec 11, 2007 at 01:17 PM

    Hi,

    If you have Adobe Doucment Services installed then you can do it by getting

    the 'pdfResource' context value which is a byte array that contains the PDF.

    If not, try using 'itext': http://www.lowagie.com/iText/

    Regards,

    Omri

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 11, 2007 at 01:27 PM

    Hi Nikhil,

    another possibility is to generate XML reprenting your page and render the XML with e.g. Apache FOP to PDF. The benefit of this attempt is, that once you have an XML representation you can deliver almost every possible output format (txt, csv).

    regards,

    Christian

    Add comment
    10|10000 characters needed characters exceeded