Skip to content

/AWS1/CL_APCATTRIBUTEVALUE

A value for a feature flag attribute. Only one of the members can be set.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_stringvalue TYPE /AWS1/APCATTRIBUTESTRING /AWS1/APCATTRIBUTESTRING

A string value for the attribute.

iv_numbervalue TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

A numeric value for the attribute.

iv_booleanvalue TYPE /AWS1/APCBOOLEAN /AWS1/APCBOOLEAN

A Boolean value for the attribute.

it_stringarray TYPE /AWS1/CL_APCSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

An array of string values for the attribute.

it_numberarray TYPE /AWS1/CL_APCNUMBERLIST_W=>TT_NUMBERLIST TT_NUMBERLIST

An array of numeric values for the attribute.


Queryable Attributes

StringValue

A string value for the attribute.

Accessible with the following methods

Method Description
GET_STRINGVALUE() Getter for STRINGVALUE, with configurable default
ASK_STRINGVALUE() Getter for STRINGVALUE w/ exceptions if field has no value
HAS_STRINGVALUE() Determine if STRINGVALUE has a value

NumberValue

A numeric value for the attribute.

Accessible with the following methods

Method Description
GET_NUMBERVALUE() Getter for NUMBERVALUE, with configurable default
ASK_NUMBERVALUE() Getter for NUMBERVALUE w/ exceptions if field has no value
STR_NUMBERVALUE() String format for NUMBERVALUE, with configurable default
HAS_NUMBERVALUE() Determine if NUMBERVALUE has a value

BooleanValue

A Boolean value for the attribute.

Accessible with the following methods

Method Description
GET_BOOLEANVALUE() Getter for BOOLEANVALUE, with configurable default
ASK_BOOLEANVALUE() Getter for BOOLEANVALUE w/ exceptions if field has no value
HAS_BOOLEANVALUE() Determine if BOOLEANVALUE has a value

StringArray

An array of string values for the attribute.

Accessible with the following methods

Method Description
GET_STRINGARRAY() Getter for STRINGARRAY, with configurable default
ASK_STRINGARRAY() Getter for STRINGARRAY w/ exceptions if field has no value
HAS_STRINGARRAY() Determine if STRINGARRAY has a value

NumberArray

An array of numeric values for the attribute.

Accessible with the following methods

Method Description
GET_NUMBERARRAY() Getter for NUMBERARRAY, with configurable default
ASK_NUMBERARRAY() Getter for NUMBERARRAY w/ exceptions if field has no value
HAS_NUMBERARRAY() Determine if NUMBERARRAY has a value

Public Local Types In This Class

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

TS_ATTRIBUTEVALUEMAP_MAPROW

TYPES: BEGIN OF TS_ATTRIBUTEVALUEMAP_MAPROW,
  key TYPE /AWS1/APCATTRIBUTEKEY,
  value TYPE REF TO /AWS1/CL_APCATTRIBUTEVALUE,
END OF TS_ATTRIBUTEVALUEMAP_MAPROW.

TT_ATTRIBUTEVALUEMAP

TYPES TT_ATTRIBUTEVALUEMAP TYPE HASHED TABLE OF /AWS1/CL_APCATTRIBUTEVALUE=>TS_ATTRIBUTEVALUEMAP_MAPROW WITH UNIQUE KEY key
.