cancel
Showing results for 
Search instead for 
Did you mean: 

PI picking up File still processing

Former Member
0 Kudos

I hae a straight forward file adapter picking up from a SAP server set to be every 30 mins. However sometimes it takes longer to create the file...it opens the file on the server as it still writing to it when PI picks it up.

This means it is incomplete and so a bad file goes across.

I have tried using the retry and poll interval but they dont seem to achieving my aim.

I am on PI 7.1

How do I get PI to do something like look and find a file, and then wait and check 60 seconds later to see if file same size, if not wait another 60 secs and check again etc ?

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>How do I get PI to do something like look and find a file, and then wait and check 60 seconds later to see if file same size, if not wait another 60 secs and check again etc ?

SAP document says

You can also set the Msecs to Wait Before Modification Check checkbox to enter the number of milliseconds that the adapter must wait before it checks whether the files have been changed. This prevents files that are still being created by the sender system from being read.

Go to advanced mode in the file adapter and choose the above mentioned option and input 60 seconds.

Former Member
0 Kudos

Hi brian

see completly at the bottom of this help (in PI 7.0) for the parameter name "Msecs to Wait Before Modification Check": [http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm]

but for PI 7.1, it seems the info disappear: http://help.sap.com/saphelp_nwpi71/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/content.htm

fro PI 7.1, search with term "Advanced Mode" in SDN.

regards.

Mickael