on 06-01-2011 3:47 PM
Hi Experts,
Brief about Scenario:
Invoice generated with PDF format in R/3 system and send to mail box. XI pick that file from mail box and deposited in SFTP Server.
Landscape in XI end.
Mailbox - - - XI 7.0 - - - SFTP
The file name generated with CompanyCode_InvoiceType_InvoiceNumber.PDF from R/3 system. So that Same file name should be deposited in SFTP Server . Here CompanyCode and InvoiceType are static and invoiceNumber generated dynamically with PDF format.
My question is How to get file name from mail box.
Thanks in advance.
hi Srinivasa,
Do you mean that the attachment name must be retained at receiver end also??
Regards
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hups. I forgot what was your main problem
To get attachment file name you can try to implement you own adapter module as described [here|http://wiki.sdn.sap.com/wiki/display/XI/Adapter%20Module%20PI%207.0%20Get%20Attachment%20Name?bc=true]:
Please check that thread. The question is "not answered" but the last post states it was solved that way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>My question is How to get file name from mail box.
Are you referrring filename of the attachment? If so, you might want to try variable substitution. Refer SDN for this.
For detailed mail to File refer the below link
http://wiki.sdn.sap.com/wiki/display/XI/StepbyStepMailToFileScenario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I never tried this approach but it should work in theory:
Your Receiver CC should use Message Protocol "XIPAYLOAD".
In Mail Attributes should be checked "Keep Attachments".
If it'll work as expected, the attachments should become "side" payloads on IS (you will see them in monitoring).
After that I would just swap the payloads in FTP Sender CC with using Adapter module "PayloadSwapBean".
Let me know if it helped. I'm curious if it can work
Martin
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.