on 06-03-2009 1:57 PM
Hi experts,
I am doing a Mail to File scenario, in which at the sender side I have a mail with File attachments.We are using IMAP protocol and picking up from a URL.At the receiver end we have to provide a file which is the attachment from the incoming mail.
With the help of the module I have separated the body and the attachment and the file is created with the static name I provided in the File adapter
My requirement is to dynamically name the file based on the customer name.I am not configured the design part, as no mapping of the interfaces are required.
For some reason,I am not able to open the mail bodyin sxmb_moni,but can see the attached file.
Thanks,
Tushar
Hi Thushar,
use module PayloadSwapBean at mail adapter to get the attachment into message.
Define a variable at File Receiver Adapter / Advanced Tab and refer it as part of the filename: myFile%Customer%.xml
[Configuring the Receiver File/FTP Adapter|http://help.sap.com/saphelp_nw2004s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm]
[XI: Sender mail adapter - PayloadSwapBean - Step by step|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/2849] [original link is broken] [original link is broken] [original link is broken];
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.