## 4.2.15.12.2.4  Reading a Unit of Measurement
Use method READ to read a unit of measurement.
## Import Parameters
| Parameter Name   | Value Help                                                                   |
|------------------|------------------------------------------------------------------------------|
| UNIT             | Internal unit of measurement                                                 |
| LANGUAGE         | Language key (optional)                                                      |
|                  |  Note If no language key is provided, the default logon lan- guage is used. |
## Export Parameters
| Parameter Name   | Field Name   | Value Help                                    |
|------------------|--------------|-----------------------------------------------|
| UNIT_ST          |              | Structure for reading a unit of measure- ment |
|                  | UNIT         | Internal unit of measurement                  |
|                  | COMMERCIAL   | Commercial/external measurement unit format   |
|                  | TECHNICAL    | Technical measurement unit format             |
| Parameter Name   | Field Name      | Value Help                                                                                                          |
|------------------|-----------------|---------------------------------------------------------------------------------------------------------------------|
|                  | DEC_ROUND       | Number of decimal places to which this measurement unit should be rounded for conversion                            |
|                  | DIMID           | Dimension key                                                                                                       |
|                  | NUMERATOR       | Numerator for conversion to SI unit                                                                                 |
|                  | DENOMINATOR     | Denominator for conversion into SI unit                                                                             |
|                  | EXPONENT        | Base ten exponent for conversion to SI unit                                                                         |
|                  | CONSTANT        | Additive constant for conversion to SI unit                                                                         |
|                  | DEC_DISP        | Number of decimal places with which this measurement unit is displayed                                              |
|                  | ISOCODE         | ISO code for measurement units. An ISO code can be assigned to several internal measurement units of a dimen- sion. |
|                  | PRIMARY         | Unit of measure flagged as a primary unit for an ISO code Space : Not primary 'X' : Set as primary                  |
|                  | TEXT            | Description of a unit of measurement                                                                                |
|                  | LONG_TEXT       | Long description of a unit of measure- ment                                                                         |
|                  | ISCOMMERCIAL    | Flag for commercial measurement units                                                                               |
|                  | ISVALUEBASE     | Value-based commitment indicator                                                                                    |
|                  | ISGRPBYFAM      | Measurement units grouped by family                                                                                 |
|                  | TEMPERATURE     | Temperature value                                                                                                   |
|                  | TEMPERATUREUNIT | Temperature unit                                                                                                    |
|                  | PRESSURE        | Pressure value                                                                                                      |
|                  | PRESSUREUNIT    | Pressure unit                                                                                                       |
|                  | LANGUAGE        | Language key                                                                                                        |
##  Note
Class exception CX\_UOM\_ERROR is raised if no unit is found.
## 
```
Sample Code CLASS zcl_uom_unit_read_test DEFINITION PUBLIC FINAL CREATE PUBLIC. PUBLIC SECTION. INTERFACES if_oo_adt_classrun. PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS zcl_uom_unit_read_test IMPLEMENTATION. METHOD if_oo_adt_classrun~main. DATA(lo_uom) = cl_uom_maintenance=>get_instance( ). TRY. lo_uom->read( EXPORTING unit = 'ST' language = 'E' IMPORTING unit_st = DATA(ls_unit) ). CATCH cx_uom_error. ENDTRY. out->write( ls_unit-unit ). out->write( ls_unit-commercial ). out->write( ls_unit-technical ). out->write( ls_unit-dimid ). ENDMETHOD. ENDCLASS.
```