cancel
Showing results for 
Search instead for 
Did you mean: 

Filter XPATH expression check against multiple values

04-11-2023 9:46 AM
suwandi_cahyadi Contributor
1962 views 1 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi,

Is it possible to in the Filter step for the XPath expression to have something like:

/root/IDoc[header/field1 = ('value1', 'value2')]

But with 'value1', 'value2' is dynamic. I have tried by maintaining the 'value1', 'value2' in a property:

Then set the XPath expression as:

/root/IDoc[header/field1 = ($property)]

But still does not work. I know that it will be possible with OR operator, but this will make the expression static as the number of values to be checked against could be dynamic.

Thank you.

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

Sriprasadsbhat
Active Contributor

Hello Suwandi,

Case#5 of below blog should help you.

https://blogs.sap.com/2017/06/01/sap-cloud-platform-integration-content-filter-in-detail/

Regards,

Sriprasad Shivaram Bhat

Answers (0)