1

I can not get the data of a BusinessPartners property of the collection type. In the EntitySet BusinessPartners is the BPAddresses property of the Collection Type, which I want to show all the addresses of that collection in a <Table> control, but the console gives me the following error

Failed to get contexts for /destinations/******/BusinessPartners('1022')/ContactEmployees with start index 0 and length 100 - TypeError: Cannot read property 'length' of undefined

Property

<Property Name="BPAddresses" Type="Collection(SAPB1.BPAddress)"/>

The Request works and shows the contacts

https://*******/BusinessPartners('C000001')/ContactEmployees?$orderby=CardCode&$skip=0&$top=100

VIEW

<Table items = "{ path: 'ContactEmployees',
  sorter: { path: 'CardCode' }
} ">
Inizio
  • 2,226
  • 15
  • 18
Json
  • 39
  • 8

0 Answers0