Skip to content

/AWS1/CL_PTTERRORDETAIL

Contains detailed information about an error that occurred during an operation.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_locale TYPE /AWS1/PTTSTRING /AWS1/PTTSTRING

The locale or language code for the error message.

iv_message TYPE /AWS1/PTTSTRING /AWS1/PTTSTRING

A human-readable description of the error.

iv_reason TYPE /AWS1/PTTPFLVLDTNERRORREASON /AWS1/PTTPFLVLDTNERRORREASON

A machine-readable code or reason for the error.


Queryable Attributes

Locale

The locale or language code for the error message.

Accessible with the following methods

Method Description
GET_LOCALE() Getter for LOCALE, with configurable default
ASK_LOCALE() Getter for LOCALE w/ exceptions if field has no value
HAS_LOCALE() Determine if LOCALE has a value

Message

A human-readable description of the error.

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

Reason

A machine-readable code or reason for the error.

Accessible with the following methods

Method Description
GET_REASON() Getter for REASON, with configurable default
ASK_REASON() Getter for REASON w/ exceptions if field has no value
HAS_REASON() Determine if REASON 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_ERRORDETAILLIST

TYPES TT_ERRORDETAILLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_PTTERRORDETAIL WITH DEFAULT KEY
.