Skip to content

/AWS1/CL_SISCONDITIONVALUES_W

/AWS1/CL_SISCONDITIONVALUES_W is a "wrapper" for scalar type /AWS1/SISSTRING. This wrapper enables the concept of "value is not set", similar to an Optional<> wrapper in Java. Wrappers are necessary because ABAP strings and other primitives are not nullable. In AWS protocols it is possible for a field to be omitted entirely from a JSON or XML payload, and this needs to be distinguishable from, for example, an "empty string".

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_value TYPE /AWS1/SISSTRING /AWS1/SISSTRING


Queryable Attributes

Optional value

Accessible with the following methods

Method Description
GET_VALUE() Getter for VALUE

Public Local Types In This Class

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

TT_CONDITIONVALUES

TYPES TT_CONDITIONVALUES TYPE STANDARD TABLE OF REF TO /AWS1/CL_SISCONDITIONVALUES_W WITH DEFAULT KEY
.

TT_CONDITIONBLOCK

TYPES TT_CONDITIONBLOCK TYPE HASHED TABLE OF /AWS1/CL_SISCONDITIONVALUES_W=>TS_CONDITIONBLOCK_MAPROW WITH UNIQUE KEY key
.

TT_CONDITION

TYPES TT_CONDITION TYPE HASHED TABLE OF /AWS1/CL_SISCONDITIONVALUES_W=>TS_CONDITION_MAPROW WITH UNIQUE KEY key
.

TS_CONDITION_MAPROW

TYPES: BEGIN OF TS_CONDITION_MAPROW,
  key TYPE /AWS1/SISSTRING,
  value TYPE /AWS1/CL_SISCONDITIONVALUES_W=>TT_CONDITIONVALUES,
END OF TS_CONDITION_MAPROW.

TS_CONDITIONBLOCK_MAPROW

TYPES: BEGIN OF TS_CONDITIONBLOCK_MAPROW,
  key TYPE /AWS1/SISCONDITIONTYPE,
  value TYPE /AWS1/CL_SISCONDITIONVALUES_W=>TT_CONDITION,
END OF TS_CONDITIONBLOCK_MAPROW.