cancel
Showing results for 
Search instead for 
Did you mean: 

Pick a particular file from the FTP folder.

Former Member
0 Kudos

Hi Experts,

I am facing a problem in File to File scenario.

I developed the total interface, but my problem is I given in the cc input file tab I given file name as "a*_out.txt".

But in the same directory there is an other file with the file name starts with abc.'

But i have to restrict the files other than 'a'.

For ex. file name starts with 'a' then I have to pick the file.

If the file name starts with 'abc' i should n't pick the file.

But in the input file tab I configured like "a*_out.txt", so which is picking all files starts with 'a'.

for the quick inputs will be higly appriciated.

Thanks in advance,

Srihari.

Accepted Solutions (0)

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>For ex. file name starts with 'a' then I have to pick the file.

>If the file name starts with 'abc' i should n't pick the file.

You need to use Exclusion Mask as above expert pointed out and see how that help your case. Example: If  you dont want file name abcout.txt to be picked by file adapter then you can give *bc*.txt in the filename mask .

Hope that helps.

iaki_vila
Active Contributor
0 Kudos

Hi Srihari,

In the Sender File/FTP adapter you can exclude files with the option Exclusion Mask:

You could find how to do in these links:

Point 6 in

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

And in that point you could browse how to put the placeholders: http://help.sap.com/saphelp_nwpi71/helpdata/en/44/556e3899c93677e10000000a114a6b/frameset.htm

Regards and good luck.