on 06-20-2013 10:21 AM
Hi All,
I have a requirement where in I need to pick 2 files from local NFS folder and send these 2 files as an attachment via email to a Distribution List
I am aware of sending single file as an attachment but not sure about how to send 2 files as an attachment.
Regards
Vinay
If we need to send 2 files as an attachment in an email , then we need to do the following :
- Configure Sender File Adapter with additional file selection .
Note : This can configured only if 2 files are with the same name but with different extensions
ex: abc.txt , abc.done
- We need to use Java mapping to create 2 attachments : abc.txt and abc.done
- Confiure Email Rcvr adapter .
Note : Since the attachments should have the same name : abc.txt and abc.done . To achieve this scenario , we need to used Configuration Scenario and not Integration Configuration . There is some issue in using ICO . We have raised an OSS ticket for the same . Will update this blog when we get an update from SAP.
Regards
Vinay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinay,
Use the "Additional files" capability to process two separate files from NFS in one PI message. For that purpose, you only have to know the files names, and they have to be similar (only different with few last characters). See more details in the documentation here:
Configuring the Sender File Adapter
Specifying Additional Files in the Sender File Adapter
Regards,
Grzegorz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.