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

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.

猜你喜欢

转载自sap.iteye.com/blog/846597
今日推荐