value help in ui5 suggestions are not working any help would be great here below my code
<mvc:View xmlns:smartmultiedit=”sap.ui.comp.smartmultiedit”
xmlns:smartform=”sap.ui.comp.smartform”
xmlns:layout=”sap.ui.layout” xmlns:valuehelpdialog=”sap.ui.comp.valuehelpdialog” controllerName=”fi.ccdbappv1.controller.App”
xmlns:mvc=”sap.ui.core.mvc”
xmlns:l=”sap.ui.layout”
xmlns:f=”sap.f” displayBlock=”true”
xmlns=”sap.m”
xmlns:core=”sap.ui.core”
xmlns:form=”sap.ui.layout.form”
xmlns:smartField=”sap.ui.comp.smartfield”>
<Shell id="shell">
<App id="app">
<pages>
<Page id="page" title="{i18n>title}" enableScrolling="false">
<content>
<f:FlexibleColumnLayout id="idFCLayout" layout="OneColumn" backgroundDesign="Solid" class="sapUiTinyMarginTop">
<f:beginColumnPages>
<Page showHeader="false" showFooter="true">
<form:SimpleForm id="SimpleFormToolbar" editable="true" layout="ResponsiveGridLayout" labelSpanXL="4" labelSpanL="3" labelSpanM="4" labelSpanS="12" adjustLabelSpan="false" emptySpanXL="0" emptySpanL="4" emptySpanM="0" emptySpanS="0" columnsXL="2" columnsL="1" columnsM="1" singleContainerFullSize="false" ariaLabelledBy="Title1">
<form:toolbar>
<Toolbar id="TB1">
<Title id="Title1" text="Customer Selection" />
</Toolbar>
</form:toolbar>
<form:content>
<Label text="Company Code" />
<MultiInput id="CCode" value="{selectionView>/CompanyCode}" required="true"
showValueHelp="false" valueHelpRequest="handlef4CCode"/>
<Label text="Customer Account Number" />
<MultiInput id="CNumber"
value="{selectionView>/CustomerNumber}"
showTableSuggestionValueHelp = "true"
valueHelpRequest=".onValueHelpCustomer"
placeholder="Enter Customr Number"
showSuggestion="true"
startSuggestion="true"
enableSuggestionsHighlighting="true"
/>
<Label text="Invoice Number" />
<Input id="InvNum" value="{selectionView>/InvoiceNumber}" />
<Toolbar ariaLabelledBy="Title2">
<Title id="Title2" text=""/>
<ToolbarSpacer width="35%" />
<Button text="Search" press="onNextPress" type="Emphasized"></Button >
</Toolbar>
</form:content>
</form:SimpleForm>
</Page>
</f:beginColumnPages>
<f:midColumnPages>
<f:DynamicPage id="dynamicPageId" headerExpanded="true" toggleHeaderOnTitleClick="true">
<f:title>
<f:DynamicPageTitle backgroundDesign="Translucent">
<f:heading>
<Title text="{Customer>/Cname1} {Customer>/Cname2}" titleStyle="Auto" />
</f:heading>
<f:breadcrumbs>
<!-- <Breadcrumbs>
<Link text="Home" emphasized="true" press="onHomePress"/>
</Breadcrumbs> -->
</f:breadcrumbs>
<f:actions>
<Button text="Customer Selection" type="Emphasized" press="onHomePress">
</Button>
<Button text="Contacts List"
type="Emphasized"
press="onContactsListPress"
>
<customData>
<core:CustomData key="resizable" value="true" />
<core:CustomData key="draggable" value="true" />
</customData>
</Button>
</f:actions>
<f:navigationActions>
<Button icon="sap-icon://full-screen" type="Transparent" tooltip="Full Screen" press="toggleFullScreen" />
<Button icon="sap-icon://action" type="Transparent" tooltip="Send Email" press="onSendEmailPress"></Button>
</f:navigationActions>
</f:DynamicPageTitle>
</f:title>
<f:header >
<f:DynamicPageHeader pinnable="true">
<form:SimpleForm id="SF1" editable="false" layout="ColumnLayout"
columnsM="2"
columnsL="3"
columnsXL="3"
width="100%">
<form:content >
<core:Title text="Entity Details" />
<Label text="Customer Account Number" />
<Text id="custAN" text="{Customer>/Kunnr}" />
<Label text="Billing Address" />
<Text text="{Customer>/Ccity} {Customer>/Cpcode} {Customer>/Cctry}" />
<core:Title text="Customer Amount" />
<Label text="Total LC" />
<ObjectNumber number="{
parts: [{path: 'Customer>/Amountlc'}, {path: 'Customer>/Currlc'}],
type: 'sap.ui.model.type.Currency',
formatOptions: {
showMeasure: false
}
}" unit="{Customer>/Currlc}" state="{= ${Customer>/Amountlc} > 0 ? 'Success' : 'Warning' }"/>
<core:Title text="Contact Details" />
<Label text="Name" />
<Text text="{Customer>/Cc1name}" />
<Label text="Phone Number" />
<Text text="{Customer>/Cc1telf}" />
<Label text="Email" />
<Text text="{Customer>/Cc1email}" />
<!-- <core:Title text="Collections Contact 2" />
<Label text="Name" />
<Text text="{Customer>/Cc2name}" />
<Label text="Phone Number" />
<Text text="{Customer>/Cc2telf}" />
<Label text="Email" />
<Text text="{Customer>/Cc2email}" /> -->
</form:content>
</form:SimpleForm>
</f:DynamicPageHeader>
</f:header>
<f:content>
<Table id="lineItemsList" width="auto"
inset="true" alternateRowColors="true"
class="sapFDynamicPageAlignContent"
growing="true"
growingThreshold="1000"
mode="MultiSelect"
items="{path: '/results',
sorter: {
path: 'Belnr',
descending: true
}}"
updateFinished="onListUpdateFinished"
noDataText="{i18n>LineItemTableNoDataText}">
<headerToolbar>
<Toolbar>
<Title id="lineItemsTitle" text="{selectionView>/lineItemListTitle}" titleStyle="H4" level="H4"/>
<ToolbarSpacer />
<SearchField id="searchField" width="auto" search="onFilterList" />
<Button tooltip="Sort" icon="sap-icon://sort"
type="Emphasized" press="onSortList"/>
<Button icon="sap-icon://download" text="Download" type="Emphasized" press="onExport" tooltip="Excel Download"/>
<Button icon="sap-icon://notes" text="Add Notes" enabled="true" type="Emphasized" press="onUpdateNotes" tooltip="Update Notes"/>
</Toolbar>
</headerToolbar>
<columns>
<Column width="6em">
<Text text="Invoice Number"/>
</Column>
<Column width="4em" hAlign="Center">
<Text text="Invoice PDF"/>
</Column>
<Column width="7em" hAlign="Center">
<Text text="Sales Document"/>
</Column>
<Column width="6em" hAlign="Center">
<Text text="Document Date" />
</Column>
<Column width="6em" hAlign="Center">
<Text text="Due Date"/>
</Column>
<!-- <Column width="5em">
<Text text="Payment Terms"/>
</Column> -->
<Column minScreenWidth="Tablet" demandPopin="true" hAlign="End" width="7em">
<Text text="Amount DC"/>
</Column>
<Column minScreenWidth="Tablet" demandPopin="true" hAlign="End" width="7em">
<Text text="Amount LC"/>
</Column>
<!-- <Column hAlign="Center" width="5em">
<Text text="Dunning Level" textAlign="Center"/>
</Column> -->
<Column hAlign="Center" width="3em">
<Text text="Notes"/>
</Column>
</columns>
<items>
<!-- <ColumnListItem type="Navigation" press="navToItemDetails"> -->
<ColumnListItem>
<cells>
<ObjectIdentifier title="{Belnr}" titleActive="true" titlePress="onInovicePress" />
<core:Icon src="sap-icon://pdf-attachment" color="#f33334"
press="onInvoicePdfPress"
class="cIconSize sapUiTinyMarginTop"
tooltip="Invoice Pdf"
visible="{= ${Blart} === 'RV'}"/>
<ObjectIdentifier title="{Vbel2}" titleActive="true" titlePress="onOrderPress" />
<Text text="{path: 'Bldat', type: 'sap.ui.model.type.Date', formatOptions: {pattern: 'MM/dd/yyyy', UTC:true}}" />
<Text text="{path: 'Faedt', type: 'sap.ui.model.type.Date', formatOptions: {pattern: 'MM/dd/yyyy', UTC:true}}" />
<!-- <Text text="{Zterm}" /> -->
<ObjectNumber number="{
parts: [{path: 'Wrbtr'}, {path: 'Waers'}],
type: 'sap.ui.model.type.Currency',
formatOptions: {
showMeasure: false
}
}"
unit="{Waers}" state="{= ${Wrbtr} > 0 ? 'Success' : 'Warning' }"/>
<ObjectNumber number="{
parts: [{path: 'Dmbtr'}, {path: 'Hwaer'}],
type: 'sap.ui.model.type.Currency',
formatOptions: {
showMeasure: false
}
}"
unit="{Hwaer}" state="{= ${Dmbtr} > 0 ? 'Success' : 'Warning' }"/>
<!-- <Text text="{Manst}" /> -->
<core:Icon src="sap-icon://write-new-document"
color="#f6b221" press="onNotesPress"
class="cIconSize sapUiTinyMarginTop"
tooltip="Collection Notes History"
/>
</cells>
</ColumnListItem>
</items>
</Table>
</f:content>
</f:DynamicPage>
</f:midColumnPages>
</f:FlexibleColumnLayout>
</content>
</Page>
</pages>
</App>
</Shell>
</mvc:View>
Suggestions for search help
Sam Kam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.