/AWS1/CL_LOCTRUCKWEIGHT¶
Contains details about the truck's weight specifications. Used to avoid roads that can't support or allow the total weight for requests that specify TravelMode as Truck.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_total TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The total weight of the truck.
For example,
3500.
iv_unit TYPE /AWS1/LOCVEHICLEWEIGHTUNIT /AWS1/LOCVEHICLEWEIGHTUNIT¶
The unit of measurement to use for the truck weight.
Default Value:
Kilograms
Queryable Attributes¶
Total¶
The total weight of the truck.
For example,
3500.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TOTAL() |
Getter for TOTAL, with configurable default |
ASK_TOTAL() |
Getter for TOTAL w/ exceptions if field has no value |
STR_TOTAL() |
String format for TOTAL, with configurable default |
HAS_TOTAL() |
Determine if TOTAL has a value |
Unit¶
The unit of measurement to use for the truck weight.
Default Value:
Kilograms
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 |