Skip to content

/AWS1/CL_QQCRECOMMENDATIONTR00

A recommendation trigger provides context on the event that produced the referenced recommendations. Recommendations are only referenced in recommendationIds by a single RecommendationTrigger.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_id TYPE /AWS1/QQCUUID /AWS1/QQCUUID

The identifier of the recommendation trigger.

iv_type TYPE /AWS1/QQCRECOMMENDATIONTRIGG00 /AWS1/QQCRECOMMENDATIONTRIGG00

The type of recommendation trigger.

iv_source TYPE /AWS1/QQCRECOMMENDATIONSRCTYPE /AWS1/QQCRECOMMENDATIONSRCTYPE

The source of the recommendation trigger.

  • ISSUE_DETECTION: The corresponding recommendations were triggered by a Contact Lens issue.

  • RULE_EVALUATION: The corresponding recommendations were triggered by a Contact Lens rule.

io_data TYPE REF TO /AWS1/CL_QQCRECOMMENDATIONTR01 /AWS1/CL_QQCRECOMMENDATIONTR01

A union type containing information related to the trigger.

it_recommendationids TYPE /AWS1/CL_QQCRECOMMENDATIONID00=>TT_RECOMMENDATIONIDLIST TT_RECOMMENDATIONIDLIST

The identifiers of the recommendations.


Queryable Attributes

id

The identifier of the recommendation trigger.

Accessible with the following methods

Method Description
GET_ID() Getter for ID, with configurable default
ASK_ID() Getter for ID w/ exceptions if field has no value
HAS_ID() Determine if ID has a value

type

The type of recommendation trigger.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

source

The source of the recommendation trigger.

  • ISSUE_DETECTION: The corresponding recommendations were triggered by a Contact Lens issue.

  • RULE_EVALUATION: The corresponding recommendations were triggered by a Contact Lens rule.

Accessible with the following methods

Method Description
GET_SOURCE() Getter for SOURCE, with configurable default
ASK_SOURCE() Getter for SOURCE w/ exceptions if field has no value
HAS_SOURCE() Determine if SOURCE has a value

data

A union type containing information related to the trigger.

Accessible with the following methods

Method Description
GET_DATA() Getter for DATA

recommendationIds

The identifiers of the recommendations.

Accessible with the following methods

Method Description
GET_RECOMMENDATIONIDS() Getter for RECOMMENDATIONIDS, with configurable default
ASK_RECOMMENDATIONIDS() Getter for RECOMMENDATIONIDS w/ exceptions if field has no v
HAS_RECOMMENDATIONIDS() Determine if RECOMMENDATIONIDS 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_RECOMMENDATIONTRIGGERLIST

TYPES TT_RECOMMENDATIONTRIGGERLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_QQCRECOMMENDATIONTR00 WITH DEFAULT KEY
.