Skip to Content
author's profile photo Former Member
-1
Former Member

Sender channel archives file but doesn't create message ID

Hi Friends,

We have a weird issue, the interface is a File to IDOC scenario. The File Processing mode is Archive and on few occasions the file gets archived but there are no message ID's created in XI. The channel configured for this interface doesn't have any error during this time.

The file is not an empty file and the same file when placed back into the source folder it gets picked and processed successfully by creating a message ID in XI. We are working on SAP 731.

We had raised a high priority ticket with SAP but we did not get the desired solution from SAP.

SAP advised us to increase the file modification interval in the file sender channel but it did not help.

SAP insisted this is an OS issue, we tried to create an intermediary folder from where the source application will place files and then a script will move the files to the existing source folder from where XI channel picks them, even this is not solving the issue.

Please let me know if someone has encountered this issue

Thanks and Regards,

Manjunath

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Sep 23, 2015 at 06:49 AM

    Hi Manjunath

    Based on my experience, the most common cause of this issue is because some other channel is also configured to pick up from the same source folder and archive to the backup folder.

    This could either be

    1) a different sender File channel in the same PI system

    2) the same sender File channel in a different PI system (other environment like Dev, QA)

    No 2 is more common as some tend to forget to change the channel details when transporting from one environment to another.

    I'd suggest you check for both possibilities. The Message Monitors might give you a clue the PI system in a different environment might have processed the file.

    Rgds

    Eng Swee

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Eng Swee,

      Thanks for your reply, I have checked these options. The file server is a production server, and for DEV/QA/Reg we have different server.

      The folder path is shared with another interface for the same business user but there is a file name schema for both the interfaces and both have different channels with different file name schema. I have checked the other interface for any mismatch, unfortunately that is not the case here.

      One interface is a purchase order and the other a transfer order.

      The file name schema is *PO* and *TO* respectively.

      We receive 100's files on a daily basis. This issue happens occasionally there is no pattern.

      Thanks and Regards,

      Manjunath

  • author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2015 at 09:35 AM

    Hello Manjunath ,

    If the message flow is not too high and you know the frequency of the files then try scheduling ATP on the sender channel. This will make sure files are picked up by PI once its completely written.

    Further , check at ECC end whether a logic can be built to write files in some temporary file name and then change to original file name once the file is written completely for PI to pick.

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Gaurav,

      Thanks for the reply, this interface is actively transferring files through out the day. The problem is we cannot schedule by putting ATP we have unsuccessfully proposed this to business users.

      I have checked the threshold of the XI system as well as this interface, there is not much load on the system and neither there is an issue with the size.

      Thanks and Regards,

      Manjunath

  • author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2015 at 11:46 AM

    Hi Manju,

    It is very weird. Is this the issue occurring for this interface only or all the interfaces where file adapter is being used at the sender end.

    Can you create a new channel with the same parameters and use it in the ICO/Sender agreement and see if the issue still persists. Also check whether you have enabled the Archive Faulty Files option in your CC or not.

    Also pls refer the below links and see if can help you.

    Adapter Module to stop processing of duplicate file (FTP Location)

    1361305 - File sender adapter generates duplicate message IDs

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Vishnu,

      We had another interface which had similar issue but in a different server, we did a work around by creating an intermediary folder where the 3rd party application will post the file and from there a script will move the file to the folder from where XI will pick and process them.

      The same solution is already in place for this interface(Process Order) but the issue still persists. The only relief is now the issue happens non frequently it happens once in a month, I have checked the daily threshold of messages and peak loads of the day the file went missing in the system, there is no difference.

      We have gone through adapter level trace and log files.. the channel never had problem on the particular day of the issue. SAP support team was given access to check the config, trace files and the channel, they could not find out any issues at the adapter level.

      Thanks and Regards,

      Manjunath

  • Posted on Sep 24, 2015 at 06:21 AM

    Hi Manjunath,

    My few cents,

    Have you searched the erroneous messages on the adapter engine?

    Have you tried to use the payload message search over this interface and others similars?

    I think that Eng was right and from another place those files are being moved, have you tried to create a subfolder and take the files from there?, in this way you can avoid the possibility that another channel or system bad configured had moved the file.

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Inaki,

      I have checked this completely. The very first thing which came to my mind when I came to know about this issue was folder sharing and environment sharing(DEV/QA/REG).

      Unfortunately this is not the case. The production server is independent from DEV/QA/REG.. and the file name has a schema in the channel.. which will pick only PO related files the Filename specified in the channel is *PO*, hence this idea is ruled out.

      Thanks and Regards,

      Manjunath

  • author's profile photo Former Member
    Former Member
    Posted on Sep 24, 2015 at 06:33 PM

    Hi Majunath,

    Issue could be File channel is pulling the files before the complete file is written into the disk folder. Also look like you are reading the file names with wild characters at both the ends (*PO*,*TO*).

    1. Do you know if the file names extension is always same , Ex: *.txt or *.dat or Etc..

    In this case you could read the file with only extension (like *.txt instead of *PO*) , Provided ask the legacy folks write the file with temporary(.tmp) name and then rename it to .txt after full file written.

    This way file channel will pull the complete file always. Hope this helps your issue.

    Thanks

    Arun

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.