on 12-03-2014 4:43 PM
Hello, I want to do what is explain in this link but it does not work
https://help.sap.com/saphelp_nw04s/helpdata/en/0d/00453c91f37151e10000000a11402f/content.htm
The following example explains how three files of type text, pdf and doc are included in a message:
file.sourceFileName=x*.txt
The files x1.txt and x2.txt were found in the specified directory following this specification.
XI.AdditionalPayloads=addaPDF, addaDOC
file.addaPDF.namePart=”.txt”=”.pdf”
file.addaDOC.namePart=”.txt”=”.doc”
The files x1.pdf and x1.doc were also searched for in the same directory as the file x1.txt. The contents of these three files are included in a message to the Integration Engine. Likewise, the filesx2.pdf and x2.doc are searched for and processed like file x2.txt.
I have all these defined:
Any idea, what it is wrong?? It only sends to XI the xml file.
Thank you very much.
Hi Alejandro
It looks like you are using PI version 7.40, however the link that you are referring to is very old - probably XI3.0 so I don't think the parameters are valid anymore.
Anyway, AFAIK, sending multiple files only work with transport protocol NFS, and not with FTP. And this is achieved via checking the "Additional Files" box which is available with NFS only. Check the below SAP Help link for details.
Specifying Additional Files in the Sender File Adapter - Advanced Adapter Engine - SAP Library
For examples, you can refer to the following articles.
Sender File Adapter Frequently Asked Questions - Process Integration - SCN Wiki (check question 4)
If you switch to NFS, you can try adding an arbitrary name like PDFFile to the File list. Then add the following two parameters:-
PDFFile.namePart = ".xml"=".pdf"
PDFFile.optional = NO
Rgds
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How can I use NFS to go to a FTP server? with an IP instead of a local directory.
Unfortunately you can't, NFS protocol only works with file systems that are mounted onto your PI system.
Another option would be to go for the SFTP adapter. The SFTP adapter also supports the "Additional Files" function. Any chance you can get the FTP server to be switched to an SFTP server?
Hi Alejandro,
You can follow this Satish Kumar Palukuri's example
You only need to set the file sender as FTP with *.* to take all the files and the receive file you will need a file path accessible by PI, talk with your basis team to prepare a file folder for this.
Regards.
Hi Alejandro,
Try to change XMB.AdditionalPayloads by XI.AdditionalPayloads, this parameter is XMB in the receiver side only, i think.
Regards.
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 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.