Skip to Content
0

SAP Fiori CRUD Master-Detail Application Template binding issue

Jan 03, 2017 at 04:32 PM

144

avatar image

How do I bind the table on the detail page correctly so it shows all items? The table show correct number of items but it repeats the last item on each row.

This is my data:

Table only shows the last item:

DetailView.xml:

<Table noDataText="{i18n>detailLineItemTableNoDataText}" items="{DeliveryISet}" width="auto" updateFinished="onListUpdateFinished" busyIndicatorDelay="{detailView>/lineItemTableDelay}" class="sapUiResponsiveMargin">
										<items>
											<ColumnListItem>
												<cells>
													<ObjectIdentifier title="{Matnr}"/>
												</cells>
											</ColumnListItem>
										</items>
										<columns>
											<Column minScreenWidth="Tablet" demandPopin="true" width="140px">
												<header>
													<Label text="Item ID"/>
												</header>
											</Column>
											<Column minScreenWidth="Tablet" demandPopin="true">
												<header>
													<Label text="Description"/>
												</header>
											</Column>
											<Column minScreenWidth="Tablet" demandPopin="true" width="100px">
												<header>
													<Label text="Amount"/>
												</header>
											</Column>
										</columns>
									</Table>

Dropbox link to the app source code

Any help much appreciated!

OData | ui
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Krishna Kishor Kammaje
Jan 04, 2017 at 04:59 PM
1

Issue is with your OData model.

Posnr should be a key as well in addition to Vbeln.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Yes that works, thanks Krishna!

0