Skip to content

/AWS1/CL_PP2RCSSTANDALONECARD

A standalone rich card with media, title, description, and suggested actions.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_cardorientation TYPE /AWS1/PP2STRING /AWS1/PP2STRING

The orientation of the rich card. Valid values are HORIZONTAL and VERTICAL.

io_cardcontent TYPE REF TO /AWS1/CL_PP2RCSCARDCONTENT /AWS1/CL_PP2RCSCARDCONTENT

The content of the rich card, including title, description, media, and card-level suggested actions.

Optional arguments:

iv_thumbnailimagealignment TYPE /AWS1/PP2STRING /AWS1/PP2STRING

The alignment of the thumbnail image in a horizontal card. Valid values are LEFT and RIGHT. Only applicable when CardOrientation is HORIZONTAL.


Queryable Attributes

CardOrientation

The orientation of the rich card. Valid values are HORIZONTAL and VERTICAL.

Accessible with the following methods

Method Description
GET_CARDORIENTATION() Getter for CARDORIENTATION, with configurable default
ASK_CARDORIENTATION() Getter for CARDORIENTATION w/ exceptions if field has no val
HAS_CARDORIENTATION() Determine if CARDORIENTATION has a value

ThumbnailImageAlignment

The alignment of the thumbnail image in a horizontal card. Valid values are LEFT and RIGHT. Only applicable when CardOrientation is HORIZONTAL.

Accessible with the following methods

Method Description
GET_THUMBNAILIMAGEALIGNMENT() Getter for THUMBNAILIMAGEALIGNMENT, with configurable defaul
ASK_THUMBNAILIMAGEALIGNMENT() Getter for THUMBNAILIMAGEALIGNMENT w/ exceptions if field ha
HAS_THUMBNAILIMAGEALIGNMENT() Determine if THUMBNAILIMAGEALIGNMENT has a value

CardContent

The content of the rich card, including title, description, media, and card-level suggested actions.

Accessible with the following methods

Method Description
GET_CARDCONTENT() Getter for CARDCONTENT