on 06-09-2016 6:36 PM
Dear Friends,
I would like to know the behaviour of PI sender file adapter. Consider SAP ECC is creating the file in AL11.
The polling in PI is every 5 sec.
Concern:
In the ECC, as soon as OPEN DATASET statement is used the file gets created in AL11. If there are more entries to write exceeding 5 sec suppose 30 sec for TRANSFER statement, while the application program is still writing, PI would have already transferred the file .
Could you please suggest how to tackle this scenario.
Thanks in advance.
Regards,
Joshi
Hi Hari,
one option is to set file modification check in the sender file adapter (select Advanced mode)
the sender channel will wait if the file is being modified.
for more information check the below link
https://help.sap.com/saphelp_nwpi711/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/frameset.htm
another option is to modify your program that writes the file, to write the file as .tmp and once the transfer is complete, rename with the actual filename. sender file adapter will only pick once the write is complete and file is renamed to actual filename
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the details.
But somehow when i tested using Msecs option this is not working as expected. I stay my control in ABAP debugging inserting the records still in loop, while PI already picked and transferred even though the advance parameter was set on Msec.
Polling is 10 sec and Msec is 5000.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.