on 05-04-2012 7:59 AM
Hi,
Another strange behaviour....
An FTP sender adapter picks up a file.
When trying to archive it, the system detects that a file with the same name already exits in the archive directory.
So processing is interrupted which is shown in the comm.channel monitoring.
Learning: The FTP adapter is not able to overwrite the file in the archive directory.
We deleted the file in the archive directory to solve this.
With the next polling the adapter picks up the same file from the source location, tries to process it, and...
returns now a message
"Archiving file "/Backup/EXTOUT20120425172603.txt failed. Cannot create a file when that file already exists. Message Id 5fbe2514-b9c0-439e-03cc-b70ca53143b0(OUTBOUND) already exists in duplicate check table". !!!!!!!!!!!!!!!!!!!!!!!!!!
But this is now not about the archive directory as the file doesn´t exist any more there.
It is about the file name of the file picked up in the source directory!
Processing is again interrupted.
We could solve this by renaming the file in the source directory so that the adapter does not recognize the file as the one from the duplicate check table
which already got a message ID!
But this is strange behaviour that the system stores a message ID with this file name and rejects the next processing because of the duplicate that it detects.
Remember: The system didn t process the file!
Now your answer could be add the "time stamp" flag in the module to avoid the first issue not to move into the second one.
But as you can see there is already a time stamp in the file name and adding another time stamp makes it only confusing readig the file name in the archive
director for the support guys.
Is this "duplicate" processing really standard?
Or is there any idea how to avoid such system behaviour?
Best regards
Dirk
Hello Meinhard,
You can refer to SAP Note 1361305 - File Sender Adapter generates duplicate Message IDs. It says that you have to apply a patch appropriate to your PI version. If you do not have an account in the sap service marketplace, you can download the SAP Note via tcode SNOTE -> Ctrl+F8 and then enter the note number.
You might need to consult with your basis to apply the patch.
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Meinhard,
You could also check this Sndesp's blog http://scn.sap.com//people/sandeep.jaiswal/blog/2008/05/13/adapter-module-to-stop-processing-of-dupl...
(Also, don't forget to "like" or rate (or both) the blog in case you find it useful.)
Regards
Message was edited by: Iñaki Vila
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.