打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
如何得到ABAP Webdynpro PDF渲染的性能相关文件

In ABAP webdynpro you can use InteractiveForm control to achieve PDF render, as long as you specify the dataSource of PDF via context node, and form template uploaded via tcode SFP.

In some case you need to know the details about PDF rendering process by ADS, for example the PDF is failed to be rendered, and you want to know the root cause, or you meet with a performance issue of PDF rendering, and you want to find the bottleneck ( is it caused by too many elements in form template, or inefficient script written? ). Then you can follow the steps below to get the detail PDF render trace:

(1) set a breakpoint on method CL_FP_PDF_OBJECT~EXECUTE_INTERNAL. Render your PDF as usual. The breakpoint should be triggered. In the debugger callstack you can also know how the PDF render is triggered from ABAP webdynpro layer.

(2) Change the variable _adstrace’s content to 4 in debugger. The source code line 125 gives you a hint that you can just set a user parameter to avoid the manual change on _adstrace in debugger each time.

System->Own Data:

And maintain the parameter value as 04.

(3) Debug until you reach line 218. Click F6 to step over it.

Download the PDF binary code stored in variable l_soapresponse-rp_streams 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)

The error.pdf contains all kinds of information including warning messages raised by ADS, which could be used to improve your form template design.

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Python|Flask实现登录功能
flask后台与前端(html)交互的两种方法
文件上传实例
python网络编程学习笔记(10):webpy框架
简单而直接的Python web 框架:web.py
【Python之路】第二十三篇
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服