on 03-21-2013 5:04 PM
Hello friends,
I have a mail to file scenario and I would like to check if you if is it possible to receive more than one attach without java implementation?
I'm saying that because, it's working fine only if I set AF_Modules/PayloadSwapBean.. but this way, it's taking only one attach.
Without AF_Modules/PayloadSwapBean, a weird file is saved containing onlye the body mail.
Could you please help me?!
Thank you so much.
Luciana
Hi Luciana,
As per my knowledge, there is no short work around for Multiple Attachments with Sender Mail Adapter. Its true that PayloadSwaoBean works only with 1 attachment. You need to go for Custom Adapter Module, check the below blog for sample code:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adding few cents to Nabendu's reply..
Do you want to process multiple attachments as an individual payloads. ? In default configuration of sender mail adapter only the body of message is used as payload.
Not sure about your SAP PI system version. But if you are on PI 7.1+, you can use Java Mapping API and handle the additional attachments directly within the mapping program.
for more details on Adapter Module Development, you can refer below links based on your system version:
Adapter Module PI 7.0: Adapter Module Development
Adapter Module PI 7.1: Adapter Module Development.
Hope it helps.!
Regards,
Sunil
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.