Registration

Dear SAP Community Member,
In order to fully benefit from what the SAP Community has to offer, please register at:
http://scn.sap.com
Thank you,
The SAP Community team.
Skip to end of metadata
Go to start of metadata
In case you encounter Adobe PDF generation issue, you could follow the tip described below to find the root cause. This tip can also be used to get the performance data of your PDF rendering. 
1. set a breakpoint on method CL_FP_PDF_OBJECT~EXECUTE_INTERNAL. Render your PDF as usual. The breakpoint should be triggered.
2. Change the variable _adstrace's content to 4 in debugger. 
If you don't like to manually change it every time you debug, you can set an user parameter like below:
3. Debug until you reach line 218. Click F6 to step over it.
Download the PDF into your local laptop:
 
Open the local PDF, click the attachment icon as below, then you can find all types of useful information there:
  
1. the original form template
 
2. the runtime performance trace file (trace.txt)
 
3. the xml data file for the pdf (xfd.xml)
 
4. detail information raised by ADS server during PDF render time (error.pdf)

  • No labels