Skip to Content
avatar image
Former Member

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

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

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

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

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

    -Ajitha
    Add comment
    10|10000 characters needed characters exceeded