on 01-18-2017 5:53 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.