Skip to content

/AWS1/CL_TEXEXPENSEFIELD

Breakdown of detected information, seperated into the catagories Type, LabelDetection, and ValueDetection

CONSTRUCTOR

IMPORTING

Optional arguments:

io_type TYPE REF TO /AWS1/CL_TEXEXPENSETYPE /AWS1/CL_TEXEXPENSETYPE

The implied label of a detected element. Present alongside LabelDetection for explicit elements.

io_labeldetection TYPE REF TO /AWS1/CL_TEXEXPENSEDETECTION /AWS1/CL_TEXEXPENSEDETECTION

The explicitly stated label of a detected element.

io_valuedetection TYPE REF TO /AWS1/CL_TEXEXPENSEDETECTION /AWS1/CL_TEXEXPENSEDETECTION

The value of a detected element. Present in explicit and implicit elements.

iv_pagenumber TYPE /AWS1/TEXUINTEGER /AWS1/TEXUINTEGER

The page number the value was detected on.

io_currency TYPE REF TO /AWS1/CL_TEXEXPENSECURRENCY /AWS1/CL_TEXEXPENSECURRENCY

Shows the kind of currency, both the code and confidence associated with any monatary value detected.

it_groupproperties TYPE /AWS1/CL_TEXEXPENSEGROUPPRP=>TT_EXPENSEGROUPPROPERTYLIST TT_EXPENSEGROUPPROPERTYLIST

Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.


Queryable Attributes

Type

The implied label of a detected element. Present alongside LabelDetection for explicit elements.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE

LabelDetection

The explicitly stated label of a detected element.

Accessible with the following methods

Method Description
GET_LABELDETECTION() Getter for LABELDETECTION

ValueDetection

The value of a detected element. Present in explicit and implicit elements.

Accessible with the following methods

Method Description
GET_VALUEDETECTION() Getter for VALUEDETECTION

PageNumber

The page number the value was detected on.

Accessible with the following methods

Method Description
GET_PAGENUMBER() Getter for PAGENUMBER, with configurable default
ASK_PAGENUMBER() Getter for PAGENUMBER w/ exceptions if field has no value
HAS_PAGENUMBER() Determine if PAGENUMBER has a value

Currency

Shows the kind of currency, both the code and confidence associated with any monatary value detected.

Accessible with the following methods

Method Description
GET_CURRENCY() Getter for CURRENCY

GroupProperties

Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.

Accessible with the following methods

Method Description
GET_GROUPPROPERTIES() Getter for GROUPPROPERTIES, with configurable default
ASK_GROUPPROPERTIES() Getter for GROUPPROPERTIES w/ exceptions if field has no val
HAS_GROUPPROPERTIES() Determine if GROUPPROPERTIES 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_EXPENSEFIELDLIST

TYPES TT_EXPENSEFIELDLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_TEXEXPENSEFIELD WITH DEFAULT KEY
.