cancel
Showing results for 
Search instead for 
Did you mean: 

MessageID duplicates from FTP sender adapter

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Dihiansan,

Sounds like this could be the answer.

But patches are named only for PI versions below 7.3 which is the one we are using.

So we will check for this with Basis if we can go for it or need to wait till SAP will name 7.3 patch for it.

Thank you!

Regards

Dirk

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

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