Skip to content

/AWS1/CL_PP2RCSMESSAGECONTENT

The content of an RCS message, containing the message body (text, file, rich card, or carousel) and optional message-level suggested actions.

CONSTRUCTOR

IMPORTING

Required arguments:

io_content TYPE REF TO /AWS1/CL_PP2RCSCONTENT /AWS1/CL_PP2RCSCONTENT

The content of the RCS message. Exactly one content type must be specified: TextMessage, FileMessage, RichCard, or Carousel.

Optional arguments:

it_suggestions TYPE /AWS1/CL_PP2RCSSUGGESTEDACTION=>TT_RCSSUGGESTEDACTIONLIST TT_RCSSUGGESTEDACTIONLIST

Message-level suggested actions displayed to the recipient. Maximum 11 suggestions per message.


Queryable Attributes

Content

The content of the RCS message. Exactly one content type must be specified: TextMessage, FileMessage, RichCard, or Carousel.

Accessible with the following methods

Method Description
GET_CONTENT() Getter for CONTENT

Suggestions

Message-level suggested actions displayed to the recipient. Maximum 11 suggestions per message.

Accessible with the following methods

Method Description
GET_SUGGESTIONS() Getter for SUGGESTIONS, with configurable default
ASK_SUGGESTIONS() Getter for SUGGESTIONS w/ exceptions if field has no value
HAS_SUGGESTIONS() Determine if SUGGESTIONS has a value