Skip to content

/AWS1/CL_PTSENGAGEMENTCTXDETS

Provides detailed context information for an Engagement. This structure allows for specifying the type of context and its associated payload.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_type TYPE /AWS1/PTSENGAGEMENTCONTEXTTYPE /AWS1/PTSENGAGEMENTCONTEXTTYPE

Specifies the type of Engagement context. Valid values are "CustomerProject" or "Document", indicating whether the context relates to a customer project or a document respectively.

Optional arguments:

io_payload TYPE REF TO /AWS1/CL_PTSENGAGEMENTCTXPAY00 /AWS1/CL_PTSENGAGEMENTCTXPAY00

Contains the specific details of the Engagement context. The structure of this payload varies depending on the Type field.


Queryable Attributes

Type

Specifies the type of Engagement context. Valid values are "CustomerProject" or "Document", indicating whether the context relates to a customer project or a document respectively.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

Payload

Contains the specific details of the Engagement context. The structure of this payload varies depending on the Type field.

Accessible with the following methods

Method Description
GET_PAYLOAD() Getter for PAYLOAD

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_ENGAGEMENTCONTEXTS

TYPES TT_ENGAGEMENTCONTEXTS TYPE STANDARD TABLE OF REF TO /AWS1/CL_PTSENGAGEMENTCTXDETS WITH DEFAULT KEY
.