Skip to content

/AWS1/CL_CUSDIVERSITYCONFIG

Configuration that controls diversity of recommendation results by capping the representation of specified item columns.

CONSTRUCTOR

IMPORTING

Optional arguments:

it_diversitycolumns TYPE /AWS1/CL_CUSDIVERSITYCOLUMN=>TT_DIVERSITYCOLUMNSLIST TT_DIVERSITYCOLUMNSLIST

A list of up to two diversity columns. Each column defines a cap on the number or percentage of recommended items that share the same value for that column.


Queryable Attributes

DiversityColumns

A list of up to two diversity columns. Each column defines a cap on the number or percentage of recommended items that share the same value for that column.

Accessible with the following methods

Method Description
GET_DIVERSITYCOLUMNS() Getter for DIVERSITYCOLUMNS, with configurable default
ASK_DIVERSITYCOLUMNS() Getter for DIVERSITYCOLUMNS w/ exceptions if field has no va
HAS_DIVERSITYCOLUMNS() Determine if DIVERSITYCOLUMNS has a value