cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5-Binding the value in the list

Jayakrishnan
Active Participant
0 Kudos

Hi,

  I am working in SAPUI5 framework for Fiori Applications.In my application i am having two screen(split app type). Master view and Detail view.

  In master screen, i am listing the all Orders from the Odata collection. in the backend there are two entity set available.

  1.GET_ALL_PRSet

  2.GetDetails Set.

  To list out the data in the aster screen i am hitting the first entity (1.GET_ALL_PRSet). it is working fine.

  For the details screen, i have to call the second entity like

this "/GET_ALL_PR('10000031')/GetDetails Set".inside this there are two items. so in the details screen based on the item count the no of row has to be created.it is getting created dynamically based on the item count. but the item value is not updated correctly. which means the second item values is filled in both two rows. if some list contains three items, then the third value is getting filled three times in the list row.

Accepted Solutions (1)

Accepted Solutions (1)

jmoors
Active Contributor
0 Kudos

I would suggest you check that you have a unique id in the GetDetails entity collection, the behaviour you describe (rows showing same data) can occur when there is not an unique key.

Regards,

Jason

Jayakrishnan
Active Participant
0 Kudos

Thank you So much @Jason Moors. yes you are correct, now i have set the unique key in my second entity. Now it is working fine.

Answers (0)