Skip to content

/AWS1/CL_PP2REGFIELDDEFINITION

Provides a description of the specified field.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_sectionpath TYPE /AWS1/PP2SECTIONPATH /AWS1/PP2SECTIONPATH

The section path of the field.

iv_fieldpath TYPE /AWS1/PP2FIELDPATH /AWS1/PP2FIELDPATH

The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.

iv_fieldtype TYPE /AWS1/PP2FIELDTYPE /AWS1/PP2FIELDTYPE

The type of field.

iv_fieldrequirement TYPE /AWS1/PP2FIELDREQUIREMENT /AWS1/PP2FIELDREQUIREMENT

Specifies if the field for the registration form is required, conditional or optional.

io_displayhints TYPE REF TO /AWS1/CL_PP2REGFIELDDSPHINTS /AWS1/CL_PP2REGFIELDDSPHINTS

An array of RegistrationFieldDisplayHints objects for the field.

Optional arguments:

io_selectvalidation TYPE REF TO /AWS1/CL_PP2SELECTVALIDATION /AWS1/CL_PP2SELECTVALIDATION

The validation rules for a select field.

io_textvalidation TYPE REF TO /AWS1/CL_PP2TEXTVALIDATION /AWS1/CL_PP2TEXTVALIDATION

The validation rules for a text field.

io_conditionalbehavior TYPE REF TO /AWS1/CL_PP2CONDBEHAVIOR /AWS1/CL_PP2CONDBEHAVIOR

The conditional behavior rules for this field. Only present when FieldRequirement is CONDITIONAL. Rules are evaluated in order and the first matching rule determines the field's resolved requirement. If no rule matches, the DefaultBehavior applies.


Queryable Attributes

SectionPath

The section path of the field.

Accessible with the following methods

Method Description
GET_SECTIONPATH() Getter for SECTIONPATH, with configurable default
ASK_SECTIONPATH() Getter for SECTIONPATH w/ exceptions if field has no value
HAS_SECTIONPATH() Determine if SECTIONPATH has a value

FieldPath

The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.

Accessible with the following methods

Method Description
GET_FIELDPATH() Getter for FIELDPATH, with configurable default
ASK_FIELDPATH() Getter for FIELDPATH w/ exceptions if field has no value
HAS_FIELDPATH() Determine if FIELDPATH has a value

FieldType

The type of field.

Accessible with the following methods

Method Description
GET_FIELDTYPE() Getter for FIELDTYPE, with configurable default
ASK_FIELDTYPE() Getter for FIELDTYPE w/ exceptions if field has no value
HAS_FIELDTYPE() Determine if FIELDTYPE has a value

FieldRequirement

Specifies if the field for the registration form is required, conditional or optional.

Accessible with the following methods

Method Description
GET_FIELDREQUIREMENT() Getter for FIELDREQUIREMENT, with configurable default
ASK_FIELDREQUIREMENT() Getter for FIELDREQUIREMENT w/ exceptions if field has no va
HAS_FIELDREQUIREMENT() Determine if FIELDREQUIREMENT has a value

SelectValidation

The validation rules for a select field.

Accessible with the following methods

Method Description
GET_SELECTVALIDATION() Getter for SELECTVALIDATION

TextValidation

The validation rules for a text field.

Accessible with the following methods

Method Description
GET_TEXTVALIDATION() Getter for TEXTVALIDATION

DisplayHints

An array of RegistrationFieldDisplayHints objects for the field.

Accessible with the following methods

Method Description
GET_DISPLAYHINTS() Getter for DISPLAYHINTS

ConditionalBehavior

The conditional behavior rules for this field. Only present when FieldRequirement is CONDITIONAL. Rules are evaluated in order and the first matching rule determines the field's resolved requirement. If no rule matches, the DefaultBehavior applies.

Accessible with the following methods

Method Description
GET_CONDITIONALBEHAVIOR() Getter for CONDITIONALBEHAVIOR

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_REGFIELDDEFINITIONLIST

TYPES TT_REGFIELDDEFINITIONLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_PP2REGFIELDDEFINITION WITH DEFAULT KEY
.