SAP ABAP Class CL_BSP_ELEMENT_CT_ATTR_VALID (Compile Time Attribute Validation)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BSP (Application Component) Business Server Pages
⤷
SBSP_EXTENSIONS (Package) BSP Extensions
⤷
⤷
Properties
| Class | CL_BSP_ELEMENT_CT_ATTR_VALID | |
| Short Description | Compile Time Attribute Validation | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | SBSP_EXTENSIONS | BSP Extensions |
| Created | 20011027 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_BSP_ELEMENT_CT_ATTR_VALID has no interface implemented.
Friends
Class CL_BSP_ELEMENT_CT_ATTR_VALID has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | STRING | '%_CHECKS_DONE_%' | 20030326 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | XFELD | Checkbox | 20011106 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | XFELD | Checkbox | 20011028 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_BSP_COMPILER_MESSAGES | BSP Validation Messages | 20011027 | |||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_BSP_ELEMENT_DATA | BSP Element Data | 20011027 | |||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_BSP_ELEMENT_INFO | BSP Element Info | 20011027 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | XFELD | Checkbox Field | 20020329 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | XFELD | Checkbox | 20011027 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | XFELD | Checkbox | 20011106 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | XFELD | Checkbox | 20011027 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor | 20011027 | |
| 2 | Instance method | Public | Method | Errors | 20011027 | |
| 3 | Instance method | Public | Method | Validate ID Attributes | 20020530 | |
| 4 | Instance method | Public | Method | Reset M_ALL_VALUE_VALID | 20011108 | |
| 5 | Instance method | Private | Method | Model binding not supported for attribute | 20030326 | |
| 6 | Instance method | Public | Method | Convert a string value to a Boolean value | 20011112 | |
| 7 | Instance method | Public | Method | Convert a string value to a date value | 20011112 | |
| 8 | Instance method | Public | Method | Convert a string value to an enum value | 20011027 | |
| 9 | Instance method | Public | Method | Convert a string value to an enum value | 20030506 | |
| 10 | Instance method | Public | Method | Convert a string value to a float value | 20011027 | |
| 11 | Instance method | Public | Method | Covert a string value to an integer value | 20011027 | |
| 12 | Instance method | Public | Method | 20030502 | ||
| 13 | Instance method | Public | Method | Validation of Attribute Width | 20111130 |
Events
Class CL_BSP_ELEMENT_CT_ATTR_VALID has no event.
Types
Class CL_BSP_ELEMENT_CT_ATTR_VALID has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ELEMENT_INFO | Call by reference | Object reference (TYPE REF TO) | CL_BSP_ELEMENT_INFO | BSP-Element-Info | 20011027 |
Method CONSTRUCTOR on class CL_BSP_ELEMENT_CT_ATTR_VALID has no exception.
Method ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MSG | Call by reference | Type reference (TYPE) | CSEQUENCE | Fehlermeldung | 20011027 | |||
| 2 | NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | Name des Attributes | 20011027 | |||
| 3 | REPLACE_A | Call by reference | Type reference (TYPE) | CSEQUENCE | $A$ Wert | 20011027 | |||
| 4 | REPLACE_B | Call by reference | Type reference (TYPE) | CSEQUENCE | $B$ Wert | 20011027 | |||
| 5 | REPLACE_C | Call by reference | Type reference (TYPE) | CSEQUENCE | $C$ Wert | 20011027 |
Method ERROR on class CL_BSP_ELEMENT_CT_ATTR_VALID has no exception.
Method ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | 'id' | 20030507 | |||
| 2 | REQUIRED | Call by reference | Type reference (TYPE) | XFELD | 'X' | Minimum | 20020530 | ||
| 3 | STRICT | Call by reference | Type reference (TYPE) | XFELD | SPACE | 20030505 |
Method ID on class CL_BSP_ELEMENT_CT_ATTR_VALID has no exception.
Method INITIALIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_COMPILER_MESSAGES | Call by reference | Object reference (TYPE REF TO) | CL_BSP_COMPILER_MESSAGES | Validierungsmeldungen | 20011109 | |||
| 2 | P_ELEMENT_DATA | Call by reference | Object reference (TYPE REF TO) | CL_BSP_ELEMENT_DATA | BSP-Elementdaten | 20011108 |
Method INITIALIZE on class CL_BSP_ELEMENT_CT_ATTR_VALID has no exception.
Method INITIAL_CHECKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | 20030326 | ||||
| 2 | VALUE | Value transfer | Type reference (TYPE) | STRING | 20030326 |
Method INITIAL_CHECKS on class CL_BSP_ELEMENT_CT_ATTR_VALID has no exception.
Method TO_BOOLEAN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | Name des Attributes | 20011112 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | BOOLEAN | Boolescher Wert des Attributes | 20011112 |
Method TO_BOOLEAN on class CL_BSP_ELEMENT_CT_ATTR_VALID has no exception.
Method TO_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | Name des Attributes | 20011112 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | D | Date Wert des Attributes | 20011112 |
Method TO_DATE on class CL_BSP_ELEMENT_CT_ATTR_VALID has no exception.
Method TO_ENUM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEFAULT | Call by reference | Type reference (TYPE) | STRING | Falls keine Wert angegeben ist | 20020507 | |||
| 2 | ENUMS | Call by reference | Type reference (TYPE) | STRING | Enum-Werte als String | 20011027 | |||
| 3 | NAME | Call by reference | Type reference (TYPE) | STRING | Name des Attributes | 20011027 | |||
| 4 | REQUIRED | Call by reference | Type reference (TYPE) | XFELD | 'X' | Wert muss angegeben werden (oder default) | 20020507 | ||
| 5 | RESULT | Value transfer | Type reference (TYPE) | STRING | Wert als Enum-Wert | 20011027 | |||
| 6 | SEPARATOR | Call by reference | Type reference (TYPE) | C | Erlaub mehr als eine enum getrent mit separator (+) | 20020427 |
Method TO_ENUM on class CL_BSP_ELEMENT_CT_ATTR_VALID has no exception.
Method TO_ENUM_FROM_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AS_INDEX | Call by reference | Type reference (TYPE) | XFELD | SPACE | 20030506 | |||
| 2 | ENUMS | Call by reference | Type reference (TYPE) | STRING_TABLE | Enum-Werte als String | 20030506 | |||
| 3 | NAME | Call by reference | Type reference (TYPE) | STRING | Name des Attributes | 20030506 | |||
| 4 | RESULT | Value transfer | Type reference (TYPE) | STRING | Wert als Enum-Wert | 20030506 |
Method TO_ENUM_FROM_TABLE on class CL_BSP_ELEMENT_CT_ATTR_VALID has no exception.
Method TO_FLOAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MAXIMUM | Call by reference | Type reference (TYPE) | F | Maximum | 20011027 | |||
| 2 | MINIMUM | Call by reference | Type reference (TYPE) | F | Minimum | 20011027 | |||
| 3 | NAME | Call by reference | Type reference (TYPE) | STRING | Name des Attributes | 20011027 | |||
| 4 | RESULT | Value transfer | Type reference (TYPE) | F | Floatwert des Attributes | 20011027 |
Method TO_FLOAT on class CL_BSP_ELEMENT_CT_ATTR_VALID has no exception.
Method TO_INTEGER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MAXIMUM | Call by reference | Type reference (TYPE) | I | Maximum | 20011027 | |||
| 2 | MINIMUM | Call by reference | Type reference (TYPE) | I | Minimum | 20011027 | |||
| 3 | NAME | Call by reference | Type reference (TYPE) | STRING | Name des Attributes | 20011027 | |||
| 4 | RESULT | Value transfer | Type reference (TYPE) | I | Integerwert des Attributes | 20011027 |
Method TO_INTEGER on class CL_BSP_ELEMENT_CT_ATTR_VALID has no exception.
Method WARNING_DEPRECATED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | Name des Attributes | 20030502 |
Method WARNING_DEPRECATED on class CL_BSP_ELEMENT_CT_ATTR_VALID has no exception.
Method WIDTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | 20111130 |
Method WIDTH on class CL_BSP_ELEMENT_CT_ATTR_VALID has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 620 |