Skip to content

/AWS1/CL_QSTKNWLDGBASESORTBY

The sort configuration for searching knowledge bases.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_sortbyfield TYPE /AWS1/QSTKNWLDGBASESORTBYFIELD /AWS1/QSTKNWLDGBASESORTBYFIELD

The field to sort by.

iv_sortorder TYPE /AWS1/QSTSORTORDER /AWS1/QSTSORTORDER

The sort order (ascending or descending).


Queryable Attributes

sortByField

The field to sort by.

Accessible with the following methods

Method Description
GET_SORTBYFIELD() Getter for SORTBYFIELD, with configurable default
ASK_SORTBYFIELD() Getter for SORTBYFIELD w/ exceptions if field has no value
HAS_SORTBYFIELD() Determine if SORTBYFIELD has a value

sortOrder

The sort order (ascending or descending).

Accessible with the following methods

Method Description
GET_SORTORDER() Getter for SORTORDER, with configurable default
ASK_SORTORDER() Getter for SORTORDER w/ exceptions if field has no value
HAS_SORTORDER() Determine if SORTORDER has a value