Skip to content

/AWS1/CL_APCTREATMENTINPUT

Input structure for defining a treatment when creating or updating an experiment definition.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_weight TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING

The traffic allocation weight for this treatment.

io_flagvalue TYPE REF TO /AWS1/CL_APCFLAGVALUE /AWS1/CL_APCFLAGVALUE

The feature flag value to serve to users assigned to this treatment.

Optional arguments:

iv_description TYPE /AWS1/APCDESCRIPTION /AWS1/APCDESCRIPTION

A description of the treatment.


Queryable Attributes

Weight

The traffic allocation weight for this treatment.

Accessible with the following methods

Method Description
GET_WEIGHT() Getter for WEIGHT
ASK_WEIGHT() Getter for WEIGHT w/ exceptions if field has no value
STR_WEIGHT() String format for WEIGHT

Description

A description of the treatment.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

FlagValue

The feature flag value to serve to users assigned to this treatment.

Accessible with the following methods

Method Description
GET_FLAGVALUE() Getter for FLAGVALUE

Public Local Types In This Class

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

TT_TREATMENTINPUTLIST

TYPES TT_TREATMENTINPUTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_APCTREATMENTINPUT WITH DEFAULT KEY
.