on 03-28-2008 6:23 AM
Hi everybody,
I have a requirement like creating a pdf file from the iview content in a web dynpro project.
Can any one explain me the procedure as well as code how to create a pdf from the table content using the "WebDynpro Java".
Thanks in advance,
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naveen,
To be able to use PDF forms in Web Dynproapplications:
��SAPNetWeaver Developer Studio(minimum SPS 11) is installed
��Adobe LiveCycleDesigner7.0 is installed
��Adobe Reader7.0.x is installed
��SAP NetWeaverWeb AS Java compatible with the DevStudio s installed
��The Adobe Document Services are deployed and configured on the SAP J2EE Engine.
��The Active Component Framework(ACF) of the Interactive Forms integration is installed. (not mandatory)
�� Internet Explorer(version 6)
Web Report to PDF
-
/thread/104121 [original link is broken]
Dynamik PDF
-
Online PDF
-
Regards,
Mithu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Siva,
I just developed a small sample application that displayng a table of 3 records created dynamically and it has to generate a pdf which contains the view that is my requirement.
for that i implemented your code in Init() in controller.java but it showing some syntax errors
Is that any properties files or any other files we have to add to this project or not.
Please respond me ASAP.
Thanks in Advance
Naveen
Hi everybody,
Please help me in solving my problem that i have to create a pdf which contains my views in the project i.e., if my project is having iviews those iviews should be opened in a new pdf.
I tried with so many ways using itext and using the above code what siva send to me but i am not able to create.
Please give me a solution for this it's an urgent requirement for me. based on this i have some other requirement.
thanks in advance,
Naveen
Hi,
I have used
Link : [] this method for displaying the view in a PDF.
for this i downloaded itext.jar as well as servlet.jar files into my project.
I am getting the following erros:
Kind Status Priority Description Resource In Folder Location
Error The type PDFDocument cannot be instantiated SampleCompView.java Sample/gen_wdp/packages/com/sap/demo/pdf line 176
Error The method getInstance(Document, OutputStream) in the type PdfWriter is not applicable for the arguments (PDFDocument, ByteArrayOutputStream) SampleCompView.java Sample/gen_wdp/packages/com/sap/demo/pdf line 182
Error The method open() is undefined for the type PDFDocument SampleCompView.java Sample/gen_wdp/packages/com/sap/demo/pdf line 185
Error The method add(PdfPTable) is undefined for the type PDFDocument SampleCompView.java Sample/gen_wdp/packages/com/sap/demo/pdf line 226
Error The method close() is undefined for the type PDFDocument SampleCompView.java Sample/gen_wdp/packages/com/sap/demo/pdf line 227
and for ur information
I am using NWDS 7.0.14
Help me if u can
Naveen
Sorry Naveen,
I was off for these four days so I could not reply.
For this you need to add two jar files com.sap.lcr.XXX; under the package. I don't remember exactly so just check in your jar files.
Right click on your project-> Select properties ->
Select Java Build path -> select Libraries tab -> Click on Add External JARs and browse and select com.sap.lcr.XXX; files.
regards,
Siva
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.