on 03-24-2010 9:58 AM
Hi All,
I can't seem to get my xpath working in my rec determination. I'm trying to put the following in my rec determination:
/ZWBBDLD/IDOC/E1WBB01/E1WBB02[BBTYP = 'R' or BBTYP = 'C']EX
But this doesn't go to the receiving system. In the above IDOC, nodes IDOC and E1WBB01 are unbounded. So basically, if BBTYP is R or C for any E1WBB01 node in any IDOC, then I want to go to the receiver.
Hope that makes sense. Thank you!
Have your condition as:
/ZWBBDLD/IDOC/E1WBB01/E1WBB02[(BBTYP = "R" or BBTYP = "C")] EX
Just a doubt can we not have this condition directly specified using Condition Editor (the normal way)....instead of writing the XPATH.....XPATH is for more complex ones....although we can use both the aproaches here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Everyone,
Thanks for your replies. I originally did use the condition with no XPATH exactly as SR Suraj has noted, however I kept getting the following error.
Problem evaluating a condition: An exception has occurred
So that's when I started fiddling with XPATH but kept getting the same error regardless of what I tried. Anyway, I discovered the issue was with the xml I was using for testing. It was incomplete i.e. it was cut off at the end. So it all works now using the original condition - no XPATH.
Thanks again for your replies.
Hi JM,
Try with out single quotes..,
(/ZWBBDLD/IDOC/E1WBB01/E1WBB02/BBTYP = R) OR
(/ZWBBDLD/IDOC/E1WBB01/E1WBB02/BBTYP = C)
/ZWBBDLD/IDOC/E1WBB01/E1WBB02[BBTYP = R or BBTYP = C] EX
Cheers
Veera
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi JM.
Try this:
/ZWBBDLD/IDOC/E1WBB01/E1WBB02/BBTYP = 'R' OR
/ZWBBDLD/IDOC/E1WBB01/E1WBB02/BBTYP = 'C'
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
could you follow as specified in the blog. Be careful with the brackets and parenthesis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.