on 02-16-2016 5:09 PM
Hello All,
We are on SAP PI 7.30 SP7 . We want to configure a scenario in such a way that we need to restrict the number of files picked up by sender file adapter communication channel. For example if there are 100 files waiting to be picked up. We only want to pick up 10 files at a time and not all 100 files. Is there a parameter we can configure in SAP PI Sender File Adapter Communication Channel for it ?
We appreciate your help.
Thanks,
Kiran
you can try setting advance mode > additional setting - MSECS to wait before modification check.
This wait parameter will helps in slow down the processing of each file one by one. (for e.g - if you set as 150000 , File will be picked up one by one at 15 seconds interval.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can check the thread and follow Marks comment to get modification check parameter, - http://scn.sap.com/thread/1882111
yes this will work only for NFS...
ile Sender: File Modification Check For Transport Protocol "FTP"
Hi Kiran,
The file modification check for transport protocol FTP also supported from only 7.31 SP18, check below SAP Note for more details.
2188990 - File Modification Check in FTP mode for File Adapter
If you create your scenario as integrated configuration then you can set max receivers parameter to restrict the number of threads for specific interface, for classical scenarios it will restrict receiver channel threads, for integrated configuration it will restrict sender channel threads, you need to set parameters messaging.system.queueParallelism.maxReceivers and messaging.system.queueParallelism.queueTypes for service SAP XI AF Messaging to restrict the number of threads for specific adapter, this will prevent not all the threads used for specific channel if the threads are available in the pool.
Regards,
Praveen.
Hi Kiran,
You can't restrict the number of files to be picked in a standard way.
The unique alternative is to do a batch OS file or command to rename the oldest 10 files for example an later take only the files with this new name taking a name convention as Kiran Rathor said.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you know the naming convention of those 10 files then ye it is possible configure your 10 file names in advanced selection parameter in sender channel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.