Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Binding $expand url to sap.m.Table

Hi,

I am using below url

http://xxxxxxxxxxxxxxxxxxxxxx/sap/opu/odata/EMT/PMAPP_SRV/DeviceInfoCollection?

$filter=TransmitType%20eq%20%27LOAD%27&$e…

here DeviceInfoCollection is header,  Loadsettings and Refreshsettings are items

how to bind this to sap.m.Table

i tried using below code but i'm getting error in binding to Table

<Table selectionChange="index" id="ID_CAUSETABLE" inset="false" columns="{path : 'modelPersons2>/DeviceInfoCollection'  , parameters:{expand : 'Loadsettings'} }">
  <columns>
<Column id="col0">

</Column>
<Column id="col1">
<Text text="ID" />
</Column>
<Column id="col2">
<Text text="Supplier Name" />
</Column>
</columns>

    </Table>
   

Thanks

Venkat

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question