Skip to content

/AWS1/CL_CNTEXTDEFNNOTFNDBEHAV

The behavior configuration when an extraction definition cannot find the target value.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_behavior TYPE /AWS1/CNTNOTFOUNDBEHAVIORTYPE /AWS1/CNTNOTFOUNDBEHAVIORTYPE

The behavior type. USE_DEFAULT_VALUE returns the specified default value. OMIT excludes the field from the output.

Optional arguments:

iv_defaultvalue TYPE /AWS1/CNTNOTFOUNDDEFAULTVALUE /AWS1/CNTNOTFOUNDDEFAULTVALUE

The default value to use when the behavior is USE_DEFAULT_VALUE.


Queryable Attributes

Behavior

The behavior type. USE_DEFAULT_VALUE returns the specified default value. OMIT excludes the field from the output.

Accessible with the following methods

Method Description
GET_BEHAVIOR() Getter for BEHAVIOR, with configurable default
ASK_BEHAVIOR() Getter for BEHAVIOR w/ exceptions if field has no value
HAS_BEHAVIOR() Determine if BEHAVIOR has a value

DefaultValue

The default value to use when the behavior is USE_DEFAULT_VALUE.

Accessible with the following methods

Method Description
GET_DEFAULTVALUE() Getter for DEFAULTVALUE, with configurable default
ASK_DEFAULTVALUE() Getter for DEFAULTVALUE w/ exceptions if field has no value
HAS_DEFAULTVALUE() Determine if DEFAULTVALUE has a value