Searching messages based on XPath value
Report name:
ROPS_SE_PUR_SELECT_MESSAGES
Selection Screen:
Length of Output List: It should be blank or 0 to include all messages.
Date Range: Enter a start and end date for messages to be searched.
XPath: Enter the XPath in this field (detailed information in section how to use XPath)
Value: Enter the value which should match the XPath query without any quotes.
How to use XPath for searching
Generic view of XML document:
Normal XPath used everywhere:
/*[local-name()='CreditCommitmentNotification' and namespace-uri()='http://sap.com/xi/SAPGlobal/Global']/CreditCommitment/DebtorParty/InternalID/text()
XPath for using in report:
Normal XPath query will not work for this report. Some changes are required in XPath.
Only values will be searched, attributes are not searched using this report.
1. Remove the root node, this is added by the system automatically.
The query now becomes like this: /CreditCommitment/DebtorParty/InternalID/text()
2. The leading ‘/’ is also not required.
The query is: CreditCommitment/DebtorParty/InternalID/text()
3. Also the ‘/text()’ is not required.
The query becomes: CreditCommitment/DebtorParty/InternalID
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
6 | |
4 | |
4 | |
3 | |
3 | |
2 | |
2 | |
2 |