on 12-02-2008 9:04 PM
I have been using the recommendation in a couple threads and the xpath reference at w3schools, but cannot get my "node not exists" xpath condition to work.
My source is a CREMDM idoc and I want to condition in the Interface Determination on the LIFNR field existing in the source idoc. I also have a condition for when the LIFNR exists (and uses different interface mapping).
One of the threads I noticed mentioned the following...
2.If you want both in xpath condition then use below xpath condition.
/p1:ABC Parent structure/ First child structure XYZ not(NodeF)-Node does not exit
No matter how I attempt to write the xpath, I have not been able to get it to work. My test file without a LIFNR keeps failing because it cannot find an interface to use.
Can anyone advise on what I am missing?
CREMDM04/IDOC/E1LFA1M not(LIFNR) EX )
CREMDM04/IDOC not(/E1LFA1M/LIFNR/) EX )
not(CREMDM04/IDOC/E1LFA1M/LIFNR) EX )
[and many more variations that are not working]
Thank you.
Keith
I seem to have figured it out. The brackets are key, and do not show up in forum threads (instead they create a link).
(/CREMDM04/IDOC/E1LFA1M \[not(LIFNR)\] EX )
Edited by: Keith Wendel on Dec 2, 2008 3:11 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
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.