on 07-27-2012 6:52 PM
Hi,
I want to pick up the latest file (based on time stamp) among multiple files from a directory using sender file adapter...Can anyone suggest how to achieve this.Thanks in advance..
Sri.
Hi Srini,
The following link might help you for picking latest files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Srini,
Please go through below SDN blogs,it may be helpful to fulfill your requirement
http://scn.sap.com/thread/3214248
http://scn.sap.com/thread/1725145
Regards,
$HRI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Srinivas,
We had the similar requirement recently and used OS level script to pick the latest file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
IMO, there is no standard file adapter configuration to pick the latest file. You can write a os level script and first move the existing files to different directory and then place the file on the directory. This is one approach. Second approach is write a script and call this command after file processing in the file adapter. In this script after the file processing move the file to other directory. This way you maintain only one file at this time. Take help from unix team to write the script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.