Skip to Content

Convert existing PDF report to txt document using Java mapping

Hi Expert,

There is a java mapping written in sap pi which is generating an PDF report of page 10.-20 page. its been sent mail as an attachment via mail adapter. Could you please guide me how and where to do the change.

Also i am unable to figure it from where the name of pdf is taking.
PdfWriter pdfWriter = PdfWriter.getInstance(pdfDoc, new BufferedOutputStream(mOutputStream)); .

how will mOutputStream will take pdf name.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 29, 2017 at 07:35 PM

    Hi Shashi,

    if you utilize the PDF generation in an Java Mapping ,you have to fill dynamic configuration with the filename, depending on the ASMA requirements of the used Adapter.

    The output stream you have to fill the resulting payload of the mapping in your case.

    Regards

    Helmut

    Add comment
    10|10000 characters needed characters exceeded