Skip to content

/AWS1/CL_CUSRECOMMENDATION

Represents a single recommendation generated by the recommender system.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_catalogitem TYPE REF TO /AWS1/CL_CUSCATALOGITEM /AWS1/CL_CUSCATALOGITEM

The catalog item being recommended, including its complete details and attributes.

iv_score TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

Recommendation Score between 0 and 1.


Queryable Attributes

CatalogItem

The catalog item being recommended, including its complete details and attributes.

Accessible with the following methods

Method Description
GET_CATALOGITEM() Getter for CATALOGITEM

Score

Recommendation Score between 0 and 1.

Accessible with the following methods

Method Description
GET_SCORE() Getter for SCORE, with configurable default
ASK_SCORE() Getter for SCORE w/ exceptions if field has no value
STR_SCORE() String format for SCORE, with configurable default
HAS_SCORE() Determine if SCORE has a value

Public Local Types In This Class

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

TT_RECOMMENDATIONS

TYPES TT_RECOMMENDATIONS TYPE STANDARD TABLE OF REF TO /AWS1/CL_CUSRECOMMENDATION WITH DEFAULT KEY
.