on 09-17-2009 8:23 PM
We are running ECC6.0 and PI7.1.
Our scenario: Run FPY1. create output bacs output file. FTP Output file to Bank system. write file back to server as read only.
On the whole, the scenario works well for smaller files, however when we export and write a large payment file from ECC, PI is picking up the file and sending it on before ECC has finished writing out the complete file. as we are writing the file back as read only, the file is then locked and the file never completes and we have delivered an incomplete file.
i am concerned that the file is not locked and can be moved in the middle of writing the data to the file.
we have multiple company codes and many output files throughout the day so we need every file to complete before they are moved.
Has anyone come across this before?
any suggestions on how to do this?
the Sender (NFS) File Adapter Channel parameter -
'Msecs to Wait Before Modification Check'
should be displayed when the 'Advanced Option' mode is ticked.
There is a bug with the PI 7.1 SP6 Adapter Metadata, therefore this parameter is not displayed.
SAPBASIS71006_2-20000889.ZIP is available to download from the SAP Service Marketplace corrects this error!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Barry,
In your sender file comm. channel --> check the advanced mode --> Msecs to wait Before Modification check --> you can 600 it is 600 ms --> so first the comm. channel will see the size of the file and after 600 ms it will wait and then will see the size and if it is equal then it will pick up else it will see the size and will wait till the size is equal. With this you should overcome your issue. 600 is an example, you can change accordingly.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
Did you mentioned - Value to Poll Interval (msecs ) in File Adapter, Which will help to avoid reading the file which is updating/ writting
Cheers
Agasthuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In addition to what Agasthuri suggested.....
For Advanced Mode & Msecs to wait before modification
With this parameter, you define the time during which file adapter wait in order to know if file is currently modifiing by another system.
For instance, File adapter try to pick up the file but this last one is currently used by another system. After nnn Msec, it try again to pick up the file. If file is again used by another system, then pick up is aborted, else pick up will be ok.
...
Just wondering since its a BACS - Bank data, rather than writing a file you can create a proxy and in user-exit you can call proxy class directly. This way its more secure...Let me know if you need more details. Few yrs back I developed same interface using proxy.
Thanks,
Nilesh
this is not working as expected...
it is still processing larger files...
i am not sure the parameter works properly.
i have set it to:
Msecs to Wait Before Modification Check 450000
and the file still gets processed before it has finished...
any other suggestions??? or do i have to log an OSS Note????
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.