on 05-11-2020 6:06 PM
Hey all,
how do I bridge the gap between T006/I_UnitOfMeasure and sap.ui.core.format.NumberFormat.getUnitInstance().format() which wants a CLDR name?
On this page there is "A typical use-case is to map from an ISO unit code to a CLDR key." Is such a ready-made mapping list for the standard t006 entries somewhere available?
Thanks!
Hi Wolfgang,
the solution is that the ABAP backend provides its units of measure as well as its currencies as so called codelists to the UI5 client.
This mechanism exists since SAPUI5 1.63 for OData V4 and is described in detail in https://sapui5.hana.ondemand.com/#/topic/4d1b9d44941f483f9b7f579873d38685. In parallel the codelist provisioning by the ABAP backend had been implemented. Unfortunately, I cannot provide the version information for that.
The mechanism was recently (SAPUI5 1.90.1) also provided for OData V2 and is used by Smart Controls.
Please see also https://blogs.sap.com/2021/07/17/ui5ers-buzz-59-ui5-custom-currency-and-unit-of-measure-for-odata-v2....
Best regards
Mathias.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.