on 06-12-2006 9:28 PM
Hi guys,
My scenario is IDOC to FILE
I am using the XPATH condition in my receiver determination to define the receivers and the condition is
the file has to be created if the IDOC doesnot have have the specific node in the outbound.
MATMAS04/IDOC/E1MARAM/MATNR[not(exists)] - Left operand
EX in the condition
i left the right operand empty.
but this is not working.
as the result no receiver is selected.
let me knwo if you guys have any idea...
Thankx in Advance,
Shree
Hi Shree,
If you want to check for an empty MATNR element:
MATMAS04/IDOC/E1MARAM[string-length(MATNR) = '0']
If you want to check for a non existent MATNR element:
MATMAS04/IDOC/E1MARAM[count(MATNR) = '0']
EX in the condition
Thanks,
Jesse
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if you want to use XPatch you need to do it on the node level - MATMAS04/IDOC/E1MARAM
and the condition on the item level
can you try like this:
MATMAS04/IDOC/E1MARAM [string-length(MATMAS04/IDOC/E1MARAM/MATNR) > 0 ]
- Left operand EX in the condition
also have a look at this weblog:
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shree
Can you check this url where you can find what are the operators we can use in XPath:
http://www.w3schools.com/xpath/xpath_operators.asp
Regards,
---Satish
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.