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

File Adapter: picking files from multiple directories

Hi all,

In a sender file communication channel with Transport

Protocol FTP, There are 2 parameters for Picking up the file

called Source Directory and Filename. If I want to pick the

files from 2 or more directories, What needs to be done.

Or is it possible to do so ?

Without making duplicate interfaces what else can be done ?

Regards,

Vijay

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 20, 2005 at 11:08 AM

    hi Vijay,

    >>>Or is it possible to do so ?

    take a look at sap note:

    821267

    File Sender: Processing Multiple Source Directories

    Q: Can the File Sender Adapter be configured to poll multiple source directories from a single channel?

    A: Unfortunately, this is currently not possible.

    Regards,

    michal

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Actually it is possible to select files from different folders for sender channel. It is available with SP14.

      I just copy following description from help.sap.com

      -

      -


      Advanced Selection for Source File

      If you want to set an exclusion mask for the File Name specified above, or if you want to specify multiple directories using a file name mask and exclusion mask, set the Advanced Selection for Source File indicator.

      ¡ Specify an Exclusion Mask for the file name specified above.

      Example

      You want to process all files that have the extension '.txt', but want to exclude all files that begin with the letter 'a'. To do this, enter .txt for File Name, and a for Exclusion Mask.

      ¡ You can enter additional specifications for source directories, file names, and exclusion masks in the table. This data is processed in addition to the details specified above.

  • author's profile photo Former Member
    Former Member
    Posted on Oct 20, 2005 at 11:28 AM

    Hi Vijay,

    You can try to create one communication channel for each directory and the corresponding sender agreement all pointing to the same interface.

    I did not try this but in principle could work if the system lets you create more than a sender agreement for the same system and interface.

    Otherwise the more logical thing would be to create the different channels in different Business Services (do not need to create SLD entries) and create for each Business service and channel the corresponding sender agreement.

    In this case you have to create a complete collaboration profile for each directory (Receiver Determination, Interface Determination).

    Regards

    Gianluca

    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.