Updated: December 19, 2016

Units of Measurement

Intro

This article describes the rules for units of measurement.

Guidelines

In general, use long text to display units of measurements, and do not use abbreviations, such as (ISO) codes.

Translate all units into the right language:

Developer Hint
Use the resource model provided by SAPUI5 to change properties based on the locale settings. (For example, to display “Stück” instead of “Pieces” when the application is used in Germany.)

Use short text for common units like currency, weight, and length.

Format the numbers according to the rules of the corresponding control:

Do
Use long text to display units
Use long text to display units
Don't
Do not use abbreviations for uncommon units
Do not use abbreviations for uncommon units

Object Number

Use the object number control where technically possible as it offers a small font for displaying the unit. It also allows the numbers to be displayed in bold, for example, to highlight values on a table row.

Price per Quantity

If you want to show a price alongside the corresponding quantity in one string, use “/” instead of text. This makes translation easier.

Do
Use a slash (/) for hyphenations
Use a slash (/) for hyphenations
Don't
Do not use long text
Do not use long text

Resources

Want to dive deeper? Follow the links below to find out more about related controls, the SAPUI5 implementation, and the visual design.

Elements and Controls

Implementation