on 06-09-2008 5:23 PM
Hi guys,
I need to ensure file processing order based on a filename, so if I put 3 files named 1,2,3 to the directory, the 1 must be processed 1st etc.. But file adapters work in threads. What I need, is to set up each file adapter to work in just 1 thread. I then takes files one by one based on the name (config setting) and it's what I need.
Is this possible?
Thank you,
Olian
hey
Please have a look at SAP Note 821267 question 12
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to pickup the files in sequence with the file adapter. But as you have said File adapter works with multiple threads/ instances simultaneously.
So to overcome this kind of activty you can Either use BPM for processing of file or with the help of Scripting commands at OS level move the files to Source directory as one by one.
In BPM, you have to include 3 receiver steps one by one so as per the sequence it will pick up the files.
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can write a batch file by collecting files by sorting the files from separate directory one by one.
And you can use it Run Operating system command before Message processing in File Sender Adapter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.