Skip to Content
0

Issue with PDF rendering on SAP MII version 15.1 SP3 Patch 13

Apr 11, 2017 at 02:54 PM

81

avatar image
Former Member

Hi,

I'm on SAP MII version 15.1 SP3 Patch 13.

The project requires PDF printing via the browser. I use the ADS printing action block to output the encodedPDF string. The transaction is accessed using the runner url with the output content type set to "application/pdf".

This portion worked as expected before the server was patched to the current level.

To simplify testing I created a sample xml with just one field as below

<root> <value>1</value> </root>

A sample xdp that displays the value in the above xml is also created. Both the sample xml and xdp xml are attached to this question.

In the transaction I use the sample xml and configure the xdp created. I save the pdf in the web folder(just for testing purpose) and also output pdf as base64 string. When executed in the Workbench, it works as expected. However when it is called using the runner url as mentioned below:

http//<server>:<port>/XMII/Runner?Transaction=Default/Test&OutputParameter=Output&Content-type=application/pdf&isBinary=true

I see the below error:

There are no specific errors returned in the NW logs. Appreciate your input.

Thank you

Ajitha

pdf-issue.png (9.9 kB)
sample.txt (34 B)
sample-xdp.txt (9.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
avatar image
Former Member Apr 17, 2017 at 02:00 PM
1

This issue is fixed. For anyone who faces this issue, please refer to note

https://launchpad.support.sap.com/#/notes/2423159

-Ajitha
Share
10 |10000 characters needed characters left characters exceeded