Skip to content

/AWS1/CL_SUSEMISSIONS

Represents a carbon emissions quantity with its value and unit of measurement.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_value TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The numeric value of the emissions quantity.

iv_unit TYPE /AWS1/SUSEMISSIONSUNIT /AWS1/SUSEMISSIONSUNIT

The unit of measurement for the emissions value.


Queryable Attributes

Value

The numeric value of the emissions quantity.

Accessible with the following methods

Method Description
GET_VALUE() Getter for VALUE, with configurable default
ASK_VALUE() Getter for VALUE w/ exceptions if field has no value
STR_VALUE() String format for VALUE, with configurable default
HAS_VALUE() Determine if VALUE has a value

Unit

The unit of measurement for the emissions value.

Accessible with the following methods

Method Description
GET_UNIT() Getter for UNIT, with configurable default
ASK_UNIT() Getter for UNIT w/ exceptions if field has no value
HAS_UNIT() Determine if UNIT has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_EMISSIONSMAP

TYPES TT_EMISSIONSMAP TYPE HASHED TABLE OF /AWS1/CL_SUSEMISSIONS=>TS_EMISSIONSMAP_MAPROW WITH UNIQUE KEY key
.

TS_EMISSIONSMAP_MAPROW

TYPES: BEGIN OF TS_EMISSIONSMAP_MAPROW,
  key TYPE /AWS1/SUSEMISSIONSTYPE,
  value TYPE REF TO /AWS1/CL_SUSEMISSIONS,
END OF TS_EMISSIONSMAP_MAPROW.