Skip to Content
avatar image
Former Member

SmartField currency masked like password field


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"> 
<PropertyRef Name="ProductId"/> 
<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"/> 

Entity Type Currency:

<EntityType Name="Currency" sap:content-version="1"> 
<PropertyRef Name="CURR"/> 
<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"/> 

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:

Thanks for your help & kind regards


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 01, 2018 at 05:02 PM


    I have the same issue, have you been able to resolve ?

    Best regards


    Add comment
    10|10000 characters needed characters exceeded