cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

URI count Function Databind SAPUI5

0 Likes
308

Hello all,

I have an Odata Service with an Entity Set and I want to bind the Data with the count function, so that i display just a count. Here you can see my code. Thank you in advance.

<mvc:View controllerName="ZWM_Fiori.ZWM_WAREHOUSEMONITOR.controller.ZWM_V_WAREHOUSEMONITOR" xmlns:mvc="sap.ui.core.mvc" displayBlock="true"
	xmlns="sap.m">
	<App id="app">
		<pages>
			<Page id="page" title="{i18n>title}">
				<content>
					<GenericTile xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m" header="Anlieferungen" subheader="Nicht geprüft" frameType="TwoThirds" class="confi"
						id="tile5">
						<tileContent>
							<TileContent id="content5">
								<content>
									<NumericContent value="{path : '/CHECKED_DELIVERY_POSITIONVIEW_K1/Vbeln/$count'}" icon="sap-icon://accept" width="200px" class="size1"
										valueColor="Good" scale="Unites" id="content4"/>
								</content>
							</TileContent>
						</tileContent>
					</GenericTile>
				</content>
			</Page>
		</pages>
	</App>
</mvc:View>

Accepted Solutions (0)

Answers (0)