Skip to Content
0

required xml to pdf conversion in sap pi

Oct 18, 2016 at 07:28 AM

92

avatar image

Hello All,

I need simple steps required to generate the pdf file from incoming idoc xml from ECC.

I have gone through the many blogs but didn't get exact idea how to convert so can anyone please help me on this.

Thanks in advance.

Br,

Anant Verekar

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Evgeniy Kolmakov Oct 18, 2016 at 07:44 AM
0
Share
10 |10000 characters needed characters left characters exceeded
Anant Verekar Oct 18, 2016 at 08:52 AM
0

Hello Evgeniy,

Thanks for reply.

But not sure how to implement this solution in sap pi.

Actually i couldn't find itext Library from their side.

Also according to block this is not a mapping or adapter module so where can use this code.

"The below class uses the iText library to create PDF files. The code is neither part of a java mapping nor an adapter module but is a sample that will help the reader as a reference when he/she is required to custom code in XI/PI."

Thanks.

Br,

Anant

Share
10 |10000 characters needed characters left characters exceeded
Evgeniy Kolmakov Oct 18, 2016 at 10:28 AM
0

Hi Anant!

The code example I provided demonstrates using iText library for PDF creation.

There is no straight and simple way to create PDF from XML in PI. You can develop adapter module, for example, where you create binary PDF payload from source xml payload.

Regards, Evgeniy.

Share
10 |10000 characters needed characters left characters exceeded