Skip to content

/AWS1/CL_KNDSUGGESTABLECONFIG

Provides the configuration information for a document field/attribute that you want to base query suggestions on.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_attributename TYPE /AWS1/KNDDOCUMENTATTRIBUTEKEY /AWS1/KNDDOCUMENTATTRIBUTEKEY

The name of the document field/attribute.

iv_suggestable TYPE /AWS1/KNDOBJECTBOOLEAN /AWS1/KNDOBJECTBOOLEAN

TRUE means the document field/attribute is suggestible, so the contents within the field can be used for query suggestions.


Queryable Attributes

AttributeName

The name of the document field/attribute.

Accessible with the following methods

Method Description
GET_ATTRIBUTENAME() Getter for ATTRIBUTENAME, with configurable default
ASK_ATTRIBUTENAME() Getter for ATTRIBUTENAME w/ exceptions if field has no value
HAS_ATTRIBUTENAME() Determine if ATTRIBUTENAME has a value

Suggestable

TRUE means the document field/attribute is suggestible, so the contents within the field can be used for query suggestions.

Accessible with the following methods

Method Description
GET_SUGGESTABLE() Getter for SUGGESTABLE, with configurable default
ASK_SUGGESTABLE() Getter for SUGGESTABLE w/ exceptions if field has no value
HAS_SUGGESTABLE() Determine if SUGGESTABLE 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_SUGGESTABLECONFIGLIST

TYPES TT_SUGGESTABLECONFIGLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_KNDSUGGESTABLECONFIG WITH DEFAULT KEY
.