cancel
Showing results for 
Search instead for 
Did you mean: 

File Adapter: picking files from multiple directories

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Gianluca,

Actually system doesn't allow to have same interface and different communication channel. Using duplicate interfaces for the same functionality, we can do that.

Regards,

Vijay

MichalKrawczyk
Active Contributor
0 Kudos

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

Former Member
0 Kudos

This Functionality should be there in File Adapter.

Anyway Thanks.

Regards,

Vijay

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

if they write about it inside the FAQ note

then maybe it will... till then you have to do some workarounds like multiple interfaces or java proxy

Regards,

michal

Former Member
0 Kudos

Hi Michal,

How can we do it using Java Proxy ????

Regards,

Vijay

Former Member
0 Kudos

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.