/AWS1/CL_CNTPRIMARYVALUE¶
Represents a primary key value used to identify a specific record in a data table. Primary values are used in combination to create unique record identifiers when a table has multiple primary attributes.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_attributename TYPE /AWS1/CNTDATATABLENAME /AWS1/CNTDATATABLENAME¶
The name of the primary attribute that this value belongs to.
iv_value TYPE /AWS1/CNTSTRING /AWS1/CNTSTRING¶
The actual value for the primary attribute. Must be provided as a string regardless of the attribute's value type. Primary values cannot be expressions and must be explicitly specified.
Queryable Attributes¶
AttributeName¶
The name of the primary attribute that this value belongs to.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ATTRIBUTENAME() |
Getter for ATTRIBUTENAME, with configurable default |
ASK_ATTRIBUTENAME() |
Getter for ATTRIBUTENAME w/ exceptions if field has no value |
HAS_ATTRIBUTENAME() |
Determine if ATTRIBUTENAME has a value |
Value¶
The actual value for the primary attribute. Must be provided as a string regardless of the attribute's value type. Primary values cannot be expressions and must be explicitly specified.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VALUE() |
Getter for VALUE, with configurable default |
ASK_VALUE() |
Getter for VALUE w/ exceptions if field has no value |
HAS_VALUE() |
Determine if VALUE 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_PRIMARYVALUESSET¶
TYPES TT_PRIMARYVALUESSET TYPE STANDARD TABLE OF REF TO /AWS1/CL_CNTPRIMARYVALUE WITH DEFAULT KEY
.