Hi,
I need to send Hierarchical data(Org structure data - SAP HR) to UI5 which can have n number of parent and child nodes referring to same entity(same org table i.e parent and child referring to same type).
how can we send ALL data in proper format from ODATA in ONE GO so that ui5 can bind to sap.ui5.tree model.could you please let me know how to write code in odata service method (how to send data in proper header and child relationship from odata so that it can bind to sap ui5 model directly) to achieve above.