Skip to Content
0

HCI Filter - Include a Date variable in the XPATH expression

Apr 26, 2017 at 10:53 AM

242

avatar image

Hi

In an HCI interface I want to create a filter that filters elements by last_modified_on. So I need to declare a date variable for the date/time the interface was last run and include that variable in the XPATH expression in the filter. Can anyone give me some pointers or examples?

Thanks

Jonathan

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Sriprasad Shivaram Bhat Apr 26, 2017 at 02:52 PM
0

Hello Jonathan,

As per my understanding from Content Filter perspective its not possible to use Properties,Headers or Variables[ Write Variable ].

In case you want use any of these you must create XML and assign its value to XML node and use it further in the Content Filter.

Regards,

Sriprasad Shivaram Bhat

Share
10 |10000 characters needed characters left characters exceeded
Jeremy L 5 days ago
0

Hello Sriprasad Shivaram Bhat,

Let's say below is my input, how can I use the create_date as a filter value?

<?xml version="1.0" encoding="UTF-8"?>
<root>
<order>
<id>123</id>
<create_date>20180101120000</create_date>
</order>
</root>

Regards,

Jeremy

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hello Jeremy,

Please refer my blog on the same which might help you most of the possible options with Content Filter.

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

Regards,

Sriprasad Shivaram Bhat

0
Sriprasad Shivaram Bhat

Hello Sriprasad Shivaram Bhat,

Thanks my requirements are fulfilled now, thanks again!

Regards,

Jeremy

0