on 08-23-2012 5:53 PM
Dear Experts,
I need to search say based on the IDoc field E1EDK14 - Qualf, which can occur multiple times in an IDoc. Is it possible to define such user defined search patterns? If so, please let me know how to specify the XPATH for the same.
Thanks in advance.
Thanks for the replies. But, E1EDK14 - QUALF is not an attribute, its an element. And my question was about the way to search line items as they may be repeating and may or may not occur multiple times. Hence, we will not be able to specify the exact index. Any idea?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Here is a link for the w3 specification for xpath
http://www.w3schools.com/xpath/xpath_syntax.asp
I think it should be /E1EDK14//@Qualf
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe XPath allows you to find all occurrences of an element. Try //Qualf or (//@Qualf for an attribute) elements. This should give you all the Qualf elements or attributes. Although, i have not tried this, according to SAP documentation, this should work.
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 extract specific value in multiple items . You need to add the index.
E.g
/RecordSet/Root/Child[index]/Element
Regards
Lucho.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.