Skip to content

/AWS1/CL_CNKFIELDOPTSCASERULE

Rules that control which options are available in a child field based on the selected value in a parent field.

CONSTRUCTOR

IMPORTING

Required arguments:

it_parentchildfieldoptsmaps TYPE /AWS1/CL_CNKPARENTCHILDFIELD00=>TT_PARENTCHILDFIELDOPTSMAPLIST TT_PARENTCHILDFIELDOPTSMAPLIST

A mapping between a parent field option value and child field option values.

Optional arguments:

iv_parentfieldid TYPE /AWS1/CNKFIELDID /AWS1/CNKFIELDID

The identifier of the parent field that controls options.

iv_childfieldid TYPE /AWS1/CNKFIELDID /AWS1/CNKFIELDID

The identifier of the child field whose options are controlled.


Queryable Attributes

parentFieldId

The identifier of the parent field that controls options.

Accessible with the following methods

Method Description
GET_PARENTFIELDID() Getter for PARENTFIELDID, with configurable default
ASK_PARENTFIELDID() Getter for PARENTFIELDID w/ exceptions if field has no value
HAS_PARENTFIELDID() Determine if PARENTFIELDID has a value

childFieldId

The identifier of the child field whose options are controlled.

Accessible with the following methods

Method Description
GET_CHILDFIELDID() Getter for CHILDFIELDID, with configurable default
ASK_CHILDFIELDID() Getter for CHILDFIELDID w/ exceptions if field has no value
HAS_CHILDFIELDID() Determine if CHILDFIELDID has a value

parentChildFieldOptionsMappings

A mapping between a parent field option value and child field option values.

Accessible with the following methods

Method Description
GET_PARENTCHILDFIELDOPTSMAPS() Getter for PARENTCHILDFIELDOPTIONSMAPS, with configurable de
ASK_PARENTCHILDFIELDOPTSMAPS() Getter for PARENTCHILDFIELDOPTIONSMAPS w/ exceptions if fiel
HAS_PARENTCHILDFIELDOPTSMAPS() Determine if PARENTCHILDFIELDOPTIONSMAPS has a value