Skip to content

/AWS1/CL_PTSENGMTPROSPCTRESULT

Contains the result of processing a single engagement within a prospecting task. Each engagement is processed independently, so individual engagements can succeed or fail regardless of other engagements in the same task.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_engagementidentifier TYPE /AWS1/PTSENGAGEMENTIDENTIFIER /AWS1/PTSENGAGEMENTIDENTIFIER

The unique identifier of the engagement that was processed.

iv_status TYPE /AWS1/PTSPROSPECTINGTASKSTATUS /AWS1/PTSPROSPECTINGTASKSTATUS

The processing status of this specific engagement. Possible values are PENDING, IN_PROGRESS, COMPLETED, and FAILED.

Optional arguments:

iv_engagementcontextid TYPE /AWS1/PTSSTRING /AWS1/PTSSTRING

The identifier of the prospecting context created for this engagement. This field is only populated when the engagement was processed successfully (status is COMPLETED). Use this identifier to reference the prospecting context in subsequent operations.

iv_reasoncode TYPE /AWS1/PTSSTRING /AWS1/PTSSTRING

An enumerated code indicating the reason this engagement failed to process. This field is only populated when Status is FAILED.

iv_message TYPE /AWS1/PTSSTRING /AWS1/PTSSTRING

A human-readable description of the failure for this engagement, including suggested recovery steps. This field is only populated when Status is FAILED.


Queryable Attributes

EngagementIdentifier

The unique identifier of the engagement that was processed.

Accessible with the following methods

Method Description
GET_ENGAGEMENTIDENTIFIER() Getter for ENGAGEMENTIDENTIFIER, with configurable default
ASK_ENGAGEMENTIDENTIFIER() Getter for ENGAGEMENTIDENTIFIER w/ exceptions if field has n
HAS_ENGAGEMENTIDENTIFIER() Determine if ENGAGEMENTIDENTIFIER has a value

EngagementContextId

The identifier of the prospecting context created for this engagement. This field is only populated when the engagement was processed successfully (status is COMPLETED). Use this identifier to reference the prospecting context in subsequent operations.

Accessible with the following methods

Method Description
GET_ENGAGEMENTCONTEXTID() Getter for ENGAGEMENTCONTEXTID, with configurable default
ASK_ENGAGEMENTCONTEXTID() Getter for ENGAGEMENTCONTEXTID w/ exceptions if field has no
HAS_ENGAGEMENTCONTEXTID() Determine if ENGAGEMENTCONTEXTID has a value

Status

The processing status of this specific engagement. Possible values are PENDING, IN_PROGRESS, COMPLETED, and FAILED.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

ReasonCode

An enumerated code indicating the reason this engagement failed to process. This field is only populated when Status is FAILED.

Accessible with the following methods

Method Description
GET_REASONCODE() Getter for REASONCODE, with configurable default
ASK_REASONCODE() Getter for REASONCODE w/ exceptions if field has no value
HAS_REASONCODE() Determine if REASONCODE has a value

Message

A human-readable description of the failure for this engagement, including suggested recovery steps. This field is only populated when Status is FAILED.

Accessible with the following methods

Method Description
GET_MESSAGE() Getter for MESSAGE, with configurable default
ASK_MESSAGE() Getter for MESSAGE w/ exceptions if field has no value
HAS_MESSAGE() Determine if MESSAGE has a value

Public Local Types In This Class

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

TT_ENGAGEMENTPROSPCTRESULTLIST

TYPES TT_ENGAGEMENTPROSPCTRESULTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_PTSENGMTPROSPCTRESULT WITH DEFAULT KEY
.