Skip to content

/AWS1/CL_LKFERRORDETAIL

Contains details about an error.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_errorcode TYPE /AWS1/LKFNAMESTRING /AWS1/LKFNAMESTRING

The code associated with this error.

iv_errormessage TYPE /AWS1/LKFDESCRIPTIONSTRING /AWS1/LKFDESCRIPTIONSTRING

A message describing the error.


Queryable Attributes

ErrorCode

The code associated with this error.

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 message describing the error.

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