cancel
Showing results for 
Search instead for 
Did you mean: 

Sender File Adapter - Restrict number of file polled at each poll interval

Former Member
0 Kudos

Hi all,

PI 7.0 SPS16.

We would like to know whether it is possible to configure a sender file adapter (file conversion mode) in order to restrain the number of file taken at each poll interval and if yes how ?

Thanks for your future answers.

Jean-Charles

Accepted Solutions (1)

Accepted Solutions (1)

udo_martens
Active Contributor
0 Kudos

Hi Jean-Charles,

i dont think this is possible in standard, you would need to create an adapter module. Matt explains how to create Adapter Modules in his blog

[ XI JAVA User Module Development using NWDI|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/8151] [original link is broken] [original link is broken] [original link is broken];

Regards,

Udo

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jean

Standard adapter do not provide functionality to take an input like number of files to be taken at poll interval. But using adapter module you can achieve this.

SAP PI is having the function to set poll timings and scheduling. You can write adapter module and execute this module using File adapter type communication channel before the standard bean and you can restrict the number of files.

Check the link given above as well as this How to Guide

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d7...

Thanks

Gaurav

Former Member
0 Kudos

Ok. It seems to be a good idea to write a module.

Can you detail the content of this module ?

Is someone has an example to restrict the number of file that must be processed ?

I already write some simple modules but in this case I have no idea about what I must put in it !

Thanks a lot