How to get XML data size to be processed in ADS(Adobe Document Servcie)

本文介绍了一种排查和解决SAP ADS在处理大数据量时生成PDF失败的方法。通过激活ADS跟踪、输出错误形式、查找默认跟踪中的错误信息、提取并分析错误PDF文件大小,最终定位问题所在。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

You might have experienced such issue: All the configuration and checks are correct based on SAP note and online help and FP_TEST_00 works fine, but some forms just fail with unknown reason.
Ok, please consider the data size especially when you generate very big form with many pages. I have to say ADS is not very strong to process big size data.

The question is how to get the size?
1. Activate ADS trace in VA
2. Output your form which should run into an error
3. Open defaultTrace of java stack on which ADS is running
4. You should be able to find a string like error.pdf.
5. Get this error pdf based on default trace on your file system or sometimes you need to copy the XML data recorded in default trace. Then using a Base 64 decoder to extract error PDF
6. Open error PDF with text editor, search such string "Document Services Data". You should find the size around it. In instance,

<</Size 6765200 /CreationDate (D:20101208102934-05'00') /ModDate (D:20101208102934-05'00')>>
endobj
45 0 obj
<</Type /Filespec /F (SPOOL0000010618_00014.xfd) /EF 46 0 R /Desc (Document Services Data) /UF (SPOOL0000010618_00014.xfd)>>

In this case, 6765200(6.7MB) is the size. It is not very small, so it could cause PDF generation issue.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值