Skip to Content

As of EhP1 for PI 7.3 we have a nice new feature in the File/FTP adapter for checking for duplicate messages. It’s very simple but as most people know file adapter very well they don’t tend to read help.sap.com about it so I thought it would be fine to make this information a little bit more widely known.


Configuration


Step 1

The only thing you need to define is to enable the duplicate handling and the if you want the channel to be disabled in case the threshold is exeeded. Threshold value is the valye beyond which the duplicate messages is not processed so if you enter 1 an alert will be raised for 2 duplicate message.

/wp-content/uploads/2012/04/duplicate_1_96529.png

Step 2

Run your scenario and put the same message in the folder as many times as you’ve specified in the threshold value in order to see the channel create and alert.

/wp-content/uploads/2012/04/duplicate_2_96536.png

Step 3

After the alert is raised you will also see that the channel was made inactive.

/wp-content/uploads/2012/04/duplicate_3_96537.png

Further info:

Once the alert will get generated you can start using the new component based alerting as per my previous article: Michal’s PI tips: Component-Based Message Alerting

To report this post you need to login first.

3 Comments

You must be Logged on to comment or reply to a post.

  1. Holger Himmelmann

    Hi Michal,

    that’s indeed a small, but quite useful feature. Important detail is that it uses the filename and its last modified timestamp, but not the file content to determine a duplicate.

    Regards, Holger

    (0) 
    1. Nithin M

      Hi Hoger/Michal/Experts,

      Can you please suggest the ways to do the duplicate file checking by file content rather the filename and last modified timestamp in PI 7.31 SP11 onwards.

      Thnx,Nithin.

      (0) 

Leave a Reply