Skip to content

/AWS1/CL_SGFBATCHWRITERECDRROR

The error that has occurred when attempting to write a record in a batch.

CONSTRUCTOR

IMPORTING

Required arguments:

io_entry TYPE REF TO /AWS1/CL_SGFBATCHWRITERECENTRY /AWS1/CL_SGFBATCHWRITERECENTRY

The entry that failed to be written.

iv_errorcode TYPE /AWS1/SGFVALUEASSTRING /AWS1/SGFVALUEASSTRING

The error code for the failed record write.

iv_errormessage TYPE /AWS1/SGFMESSAGE /AWS1/SGFMESSAGE

The error message for the failed record write.


Queryable Attributes

Entry

The entry that failed to be written.

Accessible with the following methods

Method Description
GET_ENTRY() Getter for ENTRY

ErrorCode

The error code for the failed record write.

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

The error message for the failed record write.

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_BATCHWRITERECORDERRORS

TYPES TT_BATCHWRITERECORDERRORS TYPE STANDARD TABLE OF REF TO /AWS1/CL_SGFBATCHWRITERECDRROR WITH DEFAULT KEY
.