Skip to content

/AWS1/CL_IOAMATHACTIVITY

An activity that computes an arithmetic expression using the message's attributes.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_name TYPE /AWS1/IOAACTIVITYNAME /AWS1/IOAACTIVITYNAME

The name of the math activity.

iv_attribute TYPE /AWS1/IOAATTRIBUTENAME /AWS1/IOAATTRIBUTENAME

The name of the attribute that contains the result of the math operation.

iv_math TYPE /AWS1/IOAMATHEXPRESSION /AWS1/IOAMATHEXPRESSION

An expression that uses one or more existing attributes and must return an integer value.

Optional arguments:

iv_next TYPE /AWS1/IOAACTIVITYNAME /AWS1/IOAACTIVITYNAME

The next activity in the pipeline.


Queryable Attributes

name

The name of the math activity.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

attribute

The name of the attribute that contains the result of the math operation.

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

math

An expression that uses one or more existing attributes and must return an integer value.

Accessible with the following methods

Method Description
GET_MATH() Getter for MATH, with configurable default
ASK_MATH() Getter for MATH w/ exceptions if field has no value
HAS_MATH() Determine if MATH has a value

next

The next activity in the pipeline.

Accessible with the following methods

Method Description
GET_NEXT() Getter for NEXT, with configurable default
ASK_NEXT() Getter for NEXT w/ exceptions if field has no value
HAS_NEXT() Determine if NEXT has a value