Skip to content

/AWS1/CL_PTSSOLUTIONSORT

Configures the solutions' response sorting that enables partners to order solutions based on specified attributes.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_sortorder TYPE /AWS1/PTSSORTORDER /AWS1/PTSSORTORDER

Specifies the sorting order, either Ascending or Descending. The default is Descending.

iv_sortby TYPE /AWS1/PTSSOLUTIONSORTNAME /AWS1/PTSSOLUTIONSORTNAME

Specifies the attribute to sort by, such as Name, CreatedDate, or Status.


Queryable Attributes

SortOrder

Specifies the sorting order, either Ascending or Descending. The default is 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

SortBy

Specifies the attribute to sort by, such as Name, CreatedDate, or Status.

Accessible with the following methods

Method Description
GET_SORTBY() Getter for SORTBY, with configurable default
ASK_SORTBY() Getter for SORTBY w/ exceptions if field has no value
HAS_SORTBY() Determine if SORTBY has a value