Skip to content

/AWS1/CL_PPTEVENTITEMRESPONSE

Provides the status code and message that result from processing an event.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_message TYPE /AWS1/PPT__STRING /AWS1/PPT__STRING

A custom message that's returned in the response as a result of processing the event.

iv_statuscode TYPE /AWS1/PPT__INTEGER /AWS1/PPT__INTEGER

The status code that's returned in the response as a result of processing the event. Possible values are: 202, for events that were accepted; and, 400, for events that weren't valid.


Queryable Attributes

Message

A custom message that's returned in the response as a result of processing the event.

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

StatusCode

The status code that's returned in the response as a result of processing the event. Possible values are: 202, for events that were accepted; and, 400, for events that weren't valid.

Accessible with the following methods

Method Description
GET_STATUSCODE() Getter for STATUSCODE, with configurable default
ASK_STATUSCODE() Getter for STATUSCODE w/ exceptions if field has no value
HAS_STATUSCODE() Determine if STATUSCODE 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_MAPOFEVENTITEMRESPONSE

TYPES TT_MAPOFEVENTITEMRESPONSE TYPE HASHED TABLE OF /AWS1/CL_PPTEVENTITEMRESPONSE=>TS_MAPOFEVENTITEMRSP_MAPROW WITH UNIQUE KEY key
.

TS_MAPOFEVENTITEMRSP_MAPROW

TYPES: BEGIN OF TS_MAPOFEVENTITEMRSP_MAPROW,
  key TYPE /AWS1/PPT__STRING,
  value TYPE REF TO /AWS1/CL_PPTEVENTITEMRESPONSE,
END OF TS_MAPOFEVENTITEMRSP_MAPROW.