on 03-02-2009 7:37 PM
Hi, I need to know in which order a File Adapter Reads several files from a directory.
For example if my communication channel read files with this pattern: TestFile*.txt
And in the directory I have...
TestFile_1.txt
TestFile_20082312.txt
etc...
Wich file it will read first, second, third.....?
It is by date of creation? it is by name? ascending? descending? Does Anyone knows?
Thanks!
Mariano.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using FTP there is no way to set a processing sequence.
regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mariano,
Usually it will be FIFO (first in first out reading), however you can set processing parameters and then compare with the sender files. (archive the files once read so that files exist in the archive folder)
Configure the following in the communication channel:
Processing parameters - File construction mode (whether to append,add time stamp etc)
Regards,
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are using file adapter, with File system(NFS) option as transport protocol, then you can actually set the processing sequence under processing tab. ie you can either schedule it by name or by date. So that files will be processed in a sequence respectively.
Regards,
Nithiyanandam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much for all the answers, the thing is I am using FTP so I dont have the option to select the proccessing sequence.
And I don´t think there is such thing as "random proccessing" , there must be some kind of logic to follow, dont you think? after all it is a machine!.
Thanks.
Mariano.
Hi
You can use the "Processing sequence" option in the sender file adapter to process files by name or date (timestamp)
look sap help for more information
http://help.sap.com/saphelp_nw04/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/frameset.htm
Regards
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
it picks all the files at a time and processes in random order some times in a sequence.
Regards,
karna...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
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.