SAP ABAP Class IF_UNIT_CONVERTER_S2L (Converter for Units of Measure)
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface composition (i COMPRISING i_ref) | IF_DATA_CONVERTER_S2L | Data Converter for Detailed Data | 20001213 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_PLNG_SEGMENT_S2L | Planning Segment (Ext.: Supply Segment) | 20010104 |
Properties
| Class | IF_UNIT_CONVERTER_S2L | |
| Short Description | Converter for Units of Measure | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20001213 | SAP |
| Last change | 20050301 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class IF_UNIT_CONVERTER_S2L has no interface implemented.
Friends
Class IF_UNIT_CONVERTER_S2L has no friend class.
Attributes
Class IF_UNIT_CONVERTER_S2L has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Convert a Quantity to Base Unit of Measure | 20001213 | |
| 2 | Instance method | Public | Method | Convert Quantity to Unit of Measure to Be Used | 20001213 | |
| 3 | Instance method | Public | Method | Gets the Unit of Measure to Be Used | 20001213 |
Events
Class IF_UNIT_CONVERTER_S2L has no event.
Types
Class IF_UNIT_CONVERTER_S2L has no local type.
Method Signatures
Method TO_BASE_UOM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INPUT_QTY | Value transfer | Type reference (TYPE) | S2L_QUANTITY | Menge in Alternativ-ME | 20001213 | |||
| 2 | INPUT_UOM | Value transfer | Type reference (TYPE) | S2L_UNIT | ME (Default: used_uom()) | 20001213 | |||
| 3 | RESULT | Value transfer | Type reference (TYPE) | S2L_QUANTITY | Menge in Basis-ME | 20001213 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Konvertierungsfehler | 20001213 | ||
| 2 | inkonsistente Daten oder Parameter | 20001213 |
Method TO_USED_UOM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INPUT_QTY | Value transfer | Type reference (TYPE) | S2L_QUANTITY | Menge in Basis-ME | 20001213 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | S2L_QUANTITY | Menge in output_uom | 20001213 | |||
| 3 | RESULT_UOM | Value transfer | Type reference (TYPE) | S2L_UNIT | ME (Default: used_uom()) | 20001213 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Konvertierungsfehler | 20001213 | ||
| 2 | inkonsistente Daten oder Parameter | 20001213 |
Method USED_UOM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | S2L_UNIT | zu verwendende ME | 20001213 |
Method USED_UOM on class IF_UNIT_CONVERTER_S2L has no exception.
History
| Last changed by/on | SAP | 20050301 |
| SAP Release Created in |