on 12-17-2008 5:33 PM
Hello,
I have a **Mail to Idoc** Scenario. The Mail that I receive contains 3 attachment in XI.
Please let me know how to configure this sender mail adapter to capture all the attachment and send them to the BPM.
I have seen many examples, but any of them helps me.
Regards,
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One option ~
Write a module that will access these attachments and then create a generic payload with all the 3 attachments as main payload.
Check the blogs on SDN that describe how attachments can be accessed inside modules.
I have not tried this with a mail adapter, and hence do not know if it will work with mail adapter's ; it did work with file adapter's though.
Regards
Bhavesh
This is not possible.
You can only send the main payload or alternatively one of the attachments to BPM and to IDoc.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Federico
This is not possible.
You cannot route attachments like you are looking for.
if we look for an options to swap or transform then too only one attachment can be handled not all 3.
If you develop an adapter module and get all the 3 attachments appended to a single payload. Again using mapping you can route them. but this will not go as an attachment if will be payload.
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Federico
As stated in the blog
Try with or without mail package. Set your outbound interface name as default interface name and use Keep attachments.
Pi will be able to receive Payload with 3 attachments.
In PI attachments are dealt separately then payload. You can access payload in Xi mappings but not attachments.
Moreover your case is Mail to IDOC, where you want to handle attachments. This can be passed to R/3 as attachments only.
As per my knowledge IDOC's cannot handle attachments only BDOC can. How you are trying to achieve this?
Thanks
Gaurav
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.