on 12-13-2016 4:18 PM
Hello,
i'm currently implementing the SAPUI5 Developer Guide SmartControls Template Step 2 SmartField with Value Help. I have a abap gateway system that is providing the odata service & which delivers metadata.
So far everything is working fine except for the currency output. It's masked like a password field.
The type of the currency Field is set to password and i don't know how this comes where it would be set?
What i would like to get:
What i have:
Entity Type Product
<EntityType Name="Product" sap:content-version="1">
<Key>
<PropertyRef Name="ProductId"/>
</Key>
<Property Name="ProductId" Type="Edm.String" Nullable="false"/>
<Property Name="Price" Type="Edm.String" sap:label="Price" sap:unit="CurrencyCode" sap:updatable="true"/>
<Property Name="CurrencyCode" Type="Edm.String" MaxLength="3" sap:label="Currency" sap:masked="false" sap:updatable="true" sap:semantics="currency-code"/>
</EntityType>
Entity Type Currency:
<EntityType Name="Currency" sap:content-version="1">
<Key>
<PropertyRef Name="CURR"/>
</Key>
<Property Name="CURR" Type="Edm.String" Nullable="false" MaxLength="4" sap:display-format="UpperCase" sap:filterable="false" sap:label="Currency Code" sap:text="DESCR"/>
<Property Name="DESCR" Type="Edm.String" MaxLength="25" sap:label="Description"/>
</EntityType>
EntitySet Definition Products & Currency
<EntitySet Name="Products" EntityType="xxx.Product" sap:content-version="1"/>
<EntitySet Name="Currency" EntityType="xxx.Currency" sap:content-version="1"/>
Controller and View is 100% identical to the Tutorial Link: https://sapui5.hana.ondemand.com/#docs/guide/ed8fda66cd3b406cbd22f6019188ce82.html
Thanks for your help & kind regards
Michael
Hello,
I have the same issue, have you been able to resolve ?
Best regards
Samy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.