cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple exclusion parameters in file sender adapter

former_member234749
Participant
0 Kudos

Hi All,

I havea requirement to pick all the files except two files(Ex: INT10 and INT11) in the ABC directory.

I tried with the following: Specified *.* in the file name field and in the Exclusion Mask specified as INT10*,INT11*. But it does not work.

and I also tried as below using advanced selection for source file.

Dir: //ABC  File Name mask: *.*  Exclusion Mask: INT10*

Dir: //ABC  File Name mask: *.*  Exclusion Mask: INT11*

this one also does not work.

The exclusion mask option seems to be work for only single parameter not for  the multiple exclusion parameters.

Is there any other way to achive this?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Can you try:

FileName:*.*

Exclusion Mask:INT10*|INT11*

Your requirement looks very similar to this one http://scn.sap.com/thread/3249516

Hope this helps,

Mark

former_member234749
Participant
0 Kudos

Hi Mark,

I tried that you suggested above, its not working. the channel is picking the both files INT10 and INT11 which i provied in the Exclusion mask.

Can anyone face this type of issue?

Thanks

Former Member
0 Kudos

Hi,

Did you tried as above suggested .seems it is working man .

Hi ,

DirName:Dir

FileName:*.*

Exclusion Mask :INT10*,INT11*

----------------------------

Try this as well

DirName: Dir

FileName: abcd.txt (dummy file)

Exclusion mask (Dont give any thing)

DirName:Dir  FileNameMask :*.*  Exclusionmask:INT10*,INT11*

Regards

Venkat

former_member234749
Participant

Hi All,

Thanks for your suggestions.

It is working fine with the separation of semicolon (';')

Dir: ABC

File name: *.*

Ecxlusion Mask: INT10*;INT11*

Thanks

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Dir Name:Dir

File Name:*.*

Exclusion Mask :INT10*

check Advance selection of source file tab

Dir  *.*   INT11*

Above should work ,cross check the configs once again with input files placed.

Regards

Venkat

Former Member
0 Kudos

Hi,

Below is the link for first approach.

http://www.saptechnical.com/Tutorials/XI/Fileadapter/page2.htm

Regards

Venkat

former_member234749
Participant
0 Kudos

Thanks for your quick response!

I tried the way which you suggested, but there is no luck.

The above link shows that how to process the file names starts with a* and exclude the files start with b* and C*

In my requirement i need process all the files except the two files i.e INT10 and INT11

smavachee
Active Contributor
0 Kudos

Refer below blog by Mickael..

Be careful with parameter entries.

Hope it helps.!

Regards,

Sunil

Former Member
0 Kudos

Hi,

For File Transport protocol seems some limitations are there when compared to NFS.

File adapter acts very sensitive in case of file name exclusion and inclusion masks .

In your case it works for one exclusion mask.While putting second mask problem coming it is getting confused by seeing the File Name mask and behaving weirdly.

What is your exact file name ? .

Regards

Venkat

Former Member
0 Kudos

Hi,

Please check this thread with similar requirement:

http://scn.sap.com/message/13774780

Former Member
0 Kudos

Hi ,

Try the below way .seems it is working .

FileName:*.*

Exclusion Mask :INT10*,INT11*

Regards

Venkat