cancel
Showing results for 
Search instead for 
Did you mean: 

Convert existing PDF report to txt document using Java mapping

shashi_patan
Active Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

helmut_skolaut3
Active Participant
0 Kudos

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