Skip to content

/AWS1/CL_LMWREVISIONERROR

A single error encountered while creating or reading a web function revision. The error describes the affected attribute, an error code, and a human-readable message. This structure is present only when the revision has errors.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_attribute TYPE /AWS1/LMWSTRING /AWS1/LMWSTRING

The name of the revision attribute that the error applies to. Must be between 1 and 64 characters.

iv_errorcode TYPE /AWS1/LMWSTRING /AWS1/LMWSTRING

A short, machine-readable code that identifies the error. Must be between 1 and 64 characters.

iv_errormessage TYPE /AWS1/LMWSTRING /AWS1/LMWSTRING

A human-readable message describing the error. Must be between 1 and 2048 characters.


Queryable Attributes

attribute

The name of the revision attribute that the error applies to. Must be between 1 and 64 characters.

Accessible with the following methods

Method Description
GET_ATTRIBUTE() Getter for ATTRIBUTE, with configurable default
ASK_ATTRIBUTE() Getter for ATTRIBUTE w/ exceptions if field has no value
HAS_ATTRIBUTE() Determine if ATTRIBUTE has a value

errorCode

A short, machine-readable code that identifies the error. Must be between 1 and 64 characters.

Accessible with the following methods

Method Description
GET_ERRORCODE() Getter for ERRORCODE, with configurable default
ASK_ERRORCODE() Getter for ERRORCODE w/ exceptions if field has no value
HAS_ERRORCODE() Determine if ERRORCODE has a value

errorMessage

A human-readable message describing the error. Must be between 1 and 2048 characters.

Accessible with the following methods

Method Description
GET_ERRORMESSAGE() Getter for ERRORMESSAGE, with configurable default
ASK_ERRORMESSAGE() Getter for ERRORMESSAGE w/ exceptions if field has no value
HAS_ERRORMESSAGE() Determine if ERRORMESSAGE 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_REVISIONERRORS

TYPES TT_REVISIONERRORS TYPE STANDARD TABLE OF REF TO /AWS1/CL_LMWREVISIONERROR WITH DEFAULT KEY
.