cancel
Showing results for 
Search instead for 
Did you mean: 

sap ui5 v4 oData xml table binding nested expand with filter

former_member374496
Participant
0 Kudos
348

Dear expertise ,

I am trying to use odata V4 , I have to bind this url to table, and i tried many ways but i am not able to bind this to table,

Request :

http://localhost:8080/api/WorkflowService/Workflow(3ef86f62-3ef2-44cf-84b3-26f843c4672a)/travelAllow... eq 'child'))&$skip=0&$top=1

Response :

{
  "@context": "$metadata#TravelAllowance(UUID,travelAllowanceForIndividual(UUID,staffRight,staffBenefit,comments,relatives(UUID,name,age,dateOfBirth)))",
  "@metadataEtag": "W/\"7db720ecd9d7aa483fbc59f5c86caf2a3736dbe2a2335fe2098874c8dd4ae3b3\"",
  "value": [
    {
      "UUID": "b1d0aec5-8e41-4126-9f50-89eeb3d65cdd",
      "travelAllowanceForIndividual": [
        {
          "UUID": "41b1cb81-e97c-495d-ac83-ee031c91b5be",
          "staffRight": false,
          "staffBenefit": false,
          "comments": "commented",
          "relatives": null
        },
        {
          "UUID": "91f60427-0f9c-4799-8030-4d27d7b9b874",
          "staffRight": false,
          "staffBenefit": false,
          "comments": "commented",
          "relatives": {
            "UUID": "366773ca-e01e-4ae5-8806-70d30ce4eede",
            "name": "Lee",
            "age": "10",
            "dateOfBirth": "2000-10-11"
          }
        }
      ]
    }
  ]
}

i need to bind the relatives to table , please help

Thanks in advance,

Pradeep

Accepted Solutions (0)

Answers (0)