Skip to Content

Communication channel behaviour

Hello Everybody,

I am new in SAP PI and have a basic question related to communication channel.Please help.

If there are many file (type:txt,edifact) on specifc folder of NFS and one communication channel is configured which is polling for the file to the same directory with File Name parameter set to (*.*) .

So can you please suggest which file is poll first and if the First file is failed to receive then communication channel is again again try to get same file and other will remain there .Please answer.

Thanks

Anant Verekar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2012 at 12:42 PM

    same directory with File Name parameter set to (*.*) .

    >>>yes you can set the file name .

    So can you please suggest which file is poll first and

    >>>that is depends on Processing mode(By name/By DAte) on processing tab

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2012 at 01:21 PM

    Hi Anant,

    parameter set to (*.*) .

    That filename pattern to poll for is not really helping you. You should probably try & set the pattern to poll for the files you actually need.

    All the other items are configurable on the sender file channel you use:

    - Sort Sequence (as suggested above - filename / date etc.)

    - If you get an error on a file, you can move it into an error folder or directory.

    Regards, Trevor

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 23, 2012 at 01:39 PM

    Thanks to both of you for quick reply.

    Hi Trevour ,

    can you please explain how can we move the file to spcific directory?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Anant,

      You will need to investigate who/what is creating the files, they are determining where the files are placed and what file naming convention is used. They would have to change the target path (or file naming convention) (i.e. this would be the same source path that you are polling from SAP PI) from their side to something unique for the type of data contained in the files. You could even get help from Basis to create a new directory/folder at OS level that you can use for this.

      Regards, Trevor

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.