Skip to Content

Tree Table using oData annotations

May 05, 2017 at 01:51 PM


avatar image


I have a requirement to display a tree table using oData annotations. We have a Odata service, Which is created from BEx Query.

If i bind the Tree table with OData annotations then it is by default adding the $filter with root node ( sap:hierarchy-node-for annotation) but the BEx Query is not supporting the filter.

And i have a requirement to add the filters with navigation properties while binding the data to tree table.

Below is the sample url :


Can you please guide me. Any suggestions are welcome.

Best Regards,


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

1 Answer

Ekansh Saxena May 11, 2017 at 10:14 AM

Hello Everyone,

To provide more inputs on this questions,

1. the properties in the generated OData service are not marked for filterable (coming directly from BEx query and can not be redefined in SEGW)

2. so once we are binding the table by the above mentioned way, it is automatically appending $filter=SomeProperty eq '' in the service call. Since these properties are not filterable, it is giving dump at the server side.

Please help in resolving this issue.



10 |10000 characters needed characters left characters exceeded