on 03-27-2008 1:10 PM
Hi Gurus,
My file adapter seems to have issues with me
This adapter do not obey me when I specify wild cards. I have tried * , ? and also "Adavnced selection of source file" but no use. Although, he is a perfect gentleman when I specify complete file names.
Could you please suggest how to tame him?
Regards,
AV.
Hi,
this is what SAP Help says about it:
file.sourceFileName=<filename>
Specify the name of the file that you want to process.
The name can contain a placeholder (*) at any point, so as to be able to select a list of files for processing.
The following are valid examples for filename:
myFile.txt
my*.txt
*.txt
File.
File.*
myle.
Names that comprise more than two parts are also permitted.
Hope it helps.
Regards
Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anirudh,
We had the same issue. It is working fine using the filesystem, but fails using FTP. When we were using it in FTP, it worked exactly as you say: it picked up only exact file name. It didn't work with the wildcards.
We haven't found any solution for this
So we think about creating an Unix script for copying these files to local filesystem.
BUT, this maybe caused also by FTP server which you are trying to connect - maybe some new servers support wildcards (because some guys say it is working for their FTP), some don't.
I'd advise you to connect to this ftp server in a command prompt and try to use some commands using wildcards. Is it working? For us it wasn't. (try renaming files, deleting or so...) It was working only with exact file name.
Peter
Anirudh,
Are u using FTP Protocol? I believe this wild card character is supported only in NFS. Could you please confirm it?
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anirudh,
this is really strange...........
just give your input file name with * and save and activate your comm channel.........just check your source file name matches your pattern specified in comm channel using *................it should work................just check again carefully for capital letters and small letters in filename..........if it doesnot work, give details of your source file complete name and wild card pattern you are giving..........
Regards,
Rajeev Gupta
Edited by: RAJEEV GUPTA on Mar 27, 2008 2:23 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.