cancel
Showing results for 
Search instead for 
Did you mean: 

File Sender

Former Member
0 Kudos

Hello,

i've a interface FILE to RFC. The CC sender is FCC.

the files are in different directories, example /dir/file1/namefile1.txt

/dir/file2/namefile2.txt

...

In this directories also it will be other files (no util for my interface).

¿how can i do for read all files necesary for me?

thanks very much

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hey

You need to configure separate communication channels for each directory and specify the correct selection criteria for file in each communication channel.

Thanks

Aamir

Former Member
0 Kudos

I think you can achive it using just one channel:

speify the source dir as: /dir/

then choose advanced selection of source files like this:

Directory Filename

/dir/file1/ namefile1.txt

/dir/file2/ namefile2.txt

Former Member
0 Kudos

I highly doubt if this can be handled by only one communication channel

There are so many restrictions when we use "Additional files" options in sender file adapter.

First of all it can't be used on FTP,it has to be used on NFS.

other restrictions are as below

All additional files must be in the source directory.
·        The way that the files to be transported are grouped together is defined by the file names. All file names must be identical except for a defined part (such as the suffix).
·        Additional files can only be transported unaltered without conversion options.
·        Messages with additional attachments require a receiver that can process them.
·        Additional files are located in the message as an attachment under the name assigned in the File List.

http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/frameset.htm

Thanks

Aamir

Former Member
0 Kudos

True, but I've have done it this was successfully on a Windows system (NFS) ;o)

Former Member
0 Kudos

Of course this can be done as long as you follow all the rules:)

but in reality its hardly the case,since you need to perform some kind of message mapping and not always have NFS as sender.

Former Member
0 Kudos

Hi Aamir/Kai Lerch-Baier

I think we can acheive it by using Advance Selection for Source File in both FTP and NFS without any problem. I guess It surely works in FTP as well

Abid!

Former Member
0 Kudos

Hi,

yes - also just did a test with FTP without any problems ;o)

Regards,

Kai

Former Member
0 Kudos

I also experimented previously Already replied earlier as we can also achieve it by using

Advance Selection for Source File for both FTP and NFS as it absolutely works

Abid Mazhar

Former Member
0 Kudos

We are talking about 2 different things:)

I m talking about "Additional files" option which works only in NFS

and you are talking about "Additional selection for source files" option which works both in FTP and NFS:)

Thanks

Aamir

Former Member
0 Kudos

Hi Aamir,

Yes.. you are right Advance Selection for Source File for both FTP and NFS while Additional files option which works only in NFS

Abid

Former Member
0 Kudos

Hi,

please check whether this fullfills your requirements:

Configuring the Sender File Adapter:

http://help.sap.com/saphelp_nwpi711/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/content.htm

Specifying Additional Files in the Sender File Adapter:

http://help.sap.com/saphelp_nwpi711/helpdata/en/44/692ab8a4b633eae10000000a1553f6/content.htm

Regards,

Kai