Skip to Content
avatar image
Former Member

File Sender Adapter

Hi,

    

     I am working on File to IDoc Scenario.

The file may consists of 60 to 70 records. When i test my scenario, the file adapter processes only 20 to 30 records.

How should i proceed further?

Regards,

Deepthi Premnath

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Aug 02, 2012 at 10:34 AM

    Hi Deepthi,

    Based on your symptoms, it looks like PI starts processing the file before it is completely written by the sender system. This can be avoided in a few ways, only to name:

    1. The sender system can create the file under temporary name, and rename the file (to match PI filename mask) after it is completely written.

    2. Same as above, but instead of renaming the file, change the "Read-Only" attribute.

    3. If you are using NFS transfer protocol, you can also use the attribute "Msecs to Wait Before Modification Check", as described in Q2 of the Wiki below:

    http://wiki.sdn.sap.com/wiki/display/XI/Sender+File+Adapter+Frequently+Asked+Questions

    Regards,

    Greg

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 02, 2012 at 10:31 AM

    Hi Deepthi,

    Probabbly your adapter can't treat all the load. Have you tried to add some time in the parameter Msecs to Wait Before Modification Check?.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 02, 2012 at 02:36 PM

    This is really strange behaviour, if file already written completely then PI behaving same way then create OSS note other wise try Greg suggestion

    Add comment
    10|10000 characters needed characters exceeded