## 4.2.15.12.1.4  Reading a Dimension
Use method READ to read a dimension.
## Import Parameters
Parameter Name
DIMID
Value Help
Dimension key
| Parameter Name   | Value Help                                                                                           |
|------------------|------------------------------------------------------------------------------------------------------|
| 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                                                                 |
|------------------|-----------------------------|----------------------------------------------------------------------------|
| DIM_ST           |                             | Structure for reading a dimension                                          |
|                  | DIMID                       | Dimension key                                                              |
|                  | TXDIM                       | Description of the dimension key                                           |
|                  | SI_UNIT                     | Base unit of a dimension                                                   |
|                  | SI_TXT                      | Description of the base unit                                               |
|                  | LENGTH                      | Length exponent of the dimension                                           |
|                  | MASS                        | Mass exponent of the dimension                                             |
|                  | TIME                        | Time exponent of the dimension                                             |
|                  | CURRENT                     | Electric current exponent of the dimen- sion                               |
|                  | TEMPERATURE                 | Temperature exponent of the dimen- sion                                    |
|                  | MOLE_QTY                    | Mole quantity exponent of the dimen- sion                                  |
|                  | LUMINOSITY                  | Light exponent of the dimension                                            |
|                  | HASUNITSWITHTEMPERATURESPEC | Indicates whether the dimension has units with a temperature specification |
|                  | HASUNITSWITHPRESSURESPEC    | Indicates whether the dimension has units with a pressure specification    |
|                  | LANGUAGE                    | Language key                                                               |
##  Note
Class exception CX\_UOM\_ERROR is raised if no dimension is found.
##  Sample Code
```
CLASS zcl_uom_dimension_read_test DEFINITION PUBLIC FINAL CREATE PUBLIC . PUBLIC SECTION. INTERFACES if_oo_adt_classrun. PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS zcl_uom_dimension_read_test IMPLEMENTATION. METHOD if_oo_adt_classrun~main. DATA(lo_dim) = cl_uom_dim_maintenance=>get_instance( ). TRY. lo_dim->read( EXPORTING  dimid  = 'AAAADL' language = 'E' IMPORTING  dim_st = DATA(ls_dim) ). CATCH cx_uom_error. ENDTRY. out->write( ls_dim-DIMID ). out->write( ls_dim-txdim ). ENDMETHOD. ENDCLASS.
```