Skip to Content

SAP Fiori CRUD Master-Detail Application Template binding issue

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 04, 2017 at 04:59 PM

    Issue is with your OData model.

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

    Add comment
    10|10000 characters needed characters exceeded