Skip to content

/AWS1/CL_GERROUTEMATRIXENTRY

The calculated route matrix containing the results for all pairs of Origins to Destination positions. Each row corresponds to one entry in Origins. Each entry in the row corresponds to the route from that entry in Origins to an entry in Destination positions.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_distance TYPE /AWS1/GERDISTANCEMETERS /AWS1/GERDISTANCEMETERS

The total distance of travel for the route.

iv_duration TYPE /AWS1/GERDURATIONSECONDS /AWS1/GERDURATIONSECONDS

The expected duration of travel for the route.

Unit: seconds

Optional arguments:

iv_error TYPE /AWS1/GERROUTEMATRIXERRORCODE /AWS1/GERROUTEMATRIXERRORCODE

Error code that occurred during calculation of the route.


Queryable Attributes

Distance

The total distance of travel for the route.

Accessible with the following methods

Method Description
GET_DISTANCE() Getter for DISTANCE

Duration

The expected duration of travel for the route.

Unit: seconds

Accessible with the following methods

Method Description
GET_DURATION() Getter for DURATION

Error

Error code that occurred during calculation of the route.

Accessible with the following methods

Method Description
GET_ERROR() Getter for ERROR, with configurable default
ASK_ERROR() Getter for ERROR w/ exceptions if field has no value
HAS_ERROR() Determine if ERROR 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_ROUTEMATRIX

TYPES TT_ROUTEMATRIX TYPE STANDARD TABLE OF /AWS1/CL_GERROUTEMATRIXENTRY=>TT_ROUTEMATRIXROW WITH DEFAULT KEY
.

TT_ROUTEMATRIXROW

TYPES TT_ROUTEMATRIXROW TYPE STANDARD TABLE OF REF TO /AWS1/CL_GERROUTEMATRIXENTRY WITH DEFAULT KEY
.