on 11-17-2014 10:38 AM
Hi Experts,
I need to pick up multiple files using SFTP adapter, the files will be look like below both are same extension and there is small difference in the file name ( The difference is Totals), can any one suggest me what to enter AdditionalFile.namePart parameter for second file??
Sales_2014_11_17.csv
Sales_Totals_2014_11_17.csv
Kind Regards,
Rachana.
Hi All,
I resolved this issue by replacing '_Totals' with blank in AdditionalFile.namePart parameter for the channel to pick up second file as an attachment.
Pramater name : AdditionalFile.namePart
Parameter Value : "_Totals"=""
Thanks for all the replies.
Regards,
Rachana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Experts,
Any suggestions?
Regards,
Rachana.
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,
Please see the document below. Please google for the documentation before asking for this type of information.
But you should be able to pick up both files by using the following. If they are both in the same folder.
Filename : Sales_*.csv
Regards,
Jannus Botha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry Jannus,
I did not explain properly in my previous post may be, i need to pick up both files in a single message, the first file is main payload and second file as attachment to the message, so i need to use additional files option in the channel, so if i give main file name scheme as Sales*.csv, what must i give AdditionalFile.namePart parameter for second file?? (normally if two different extensions then we can give ".csv" = ".txt").
If the second file name like 'Sales_2014_11_17_Totals.csv' then i can easily give "*.csv" = "_Totals.csv" but this is not the case, please give me some thoughts about this.
Kind Reagards,
Rachana.
Hi,
Ok now it makes more sense
Have a look at the url below. Let me know if this helps.
http://scn.sap.com/community/pi-and-soa-middleware/blog/2014/06/06/merge-multiple-files-without-bpm
Regards,
Jannus Botha
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.