on 10-08-2009 8:09 AM
Hello all,
Does anybody know if it is possible to use the dummy symbol "*" in the condition editor. (interface determination)
My requirement is to test the incoming file name and check if it contains certain string.
Ex : ( if filename = MM_IN_004_01_ECG_''001''.txt OR filename = MM_IN_004_01_ECG_''002''.txt )
Or is there some other way to do it...
Thanks for you replies.
Best regards,
Laurent.
This can be achieved using the Contains Pattern option in any Condition Editor....it is represented by CP.
Good information is available on it in help.
Update:
Check this WIKI: http://wiki.sdn.sap.com/wiki/display/XI/XpathConditioninReceiverDetermination
Regards,
Abhishek.
Edited by: abhishek salvi on Oct 8, 2009 12:49 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's not in the "XPATH" but in the "Context Object".
The CP option is available for both XPATH and Context Object......actually is is just the matter of selecting the right Middle Operand and making a correct entry in Right Operand.....Left Operand's type does not affect it
I will get back to you as soon as i have tested
yes please update the forum with your findings....
Regards,
Abhishek.
the concept is to use xpath functions in your condition
please have a look through this - /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Will the payload of your data will contain the filename for doing so in interface determination ?
if i understand you correctly you want to check the filename for first few characters(pattern) then use ? instead of *
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use * in condition editor but the problem is you can not get the file name in the Xpath expression editor.
Regards
Suraj
Edited by: S.R.Suraj on Oct 8, 2009 3:18 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
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.