on 02-04-2015 7:43 AM
Hi Alex,
Have you tested your scenario? Can the unequal operator be used together with * character? I think you may need to use EX operator and use XPATH to make it work.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex,
The condition will work.
Thanks and Regards,
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alexander,
Why not exclude those files in sender file channel?
Defining Placeholders, File Name Masks, and Exclusion Masks - Advanced Adapter Engine - SAP Library
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alexander,
I think the regular expression match in file channel has limitation, to use only ? or *.
Is it possible to request source system to name file like this (starting with required comp number)?
8014347000007_invoic4104420000001_20150212_1501641_380_1300821.xml
Then you can use exclusion mask.
Nice spot Raghu! I've never really had to use more than one wildcard myself so did not know this limitation.
Fortunately, these days I work on the SFTP adapter more which has superior regex capability - it's just another one of those puzzles why SAP does not provide similar capability for the File adapter ... oh well...
Hi Alex,
Yes it will work.
But you should remove double quotes " for value in Right Operand
Sorry, I misread * as "
Best Regards,
Praveen Gujjeti
Message was edited by: Praveen Gujjeti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex
I suggest you just try it out and see what happens during runtime.
Btw, I think you need an "AND" join between the two conditions.
test123456 will fail the first condition, but pass the second condition, so it will still go through.
An example data with Filename = test123456 will fail the first condition, but pass the second condition, so it will still go through.
Rgds
Eng Swee
Message was edited by: Eng Swee Yeoh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.