Skip to Content
avatar image
Former Member

required xml to pdf conversion in sap pi

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Oct 18, 2016 at 07:44 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 18, 2016 at 08:52 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 18, 2016 at 10:28 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded