SAP ABAP Class CL_CRR_VALIDATION (Validation of Tables)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-UPG-TLS (Application Component) Upgrade Tools
⤷
SCRR_UFO (Package) CRR Utility Objects
⤷
⤷
Properties
| Class | CL_CRR_VALIDATION | |
| Short Description | Validation of Tables | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SCRR_UFO | CRR Utility Objects |
| Created | 20110919 | SAP |
| Last change | 20140120 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_CRR_VALIDATION has no interface implemented.
Friends
Class CL_CRR_VALIDATION has no friend class.
Attributes
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Compare big tables by fields. No messages. | 20110919 | |
| 2 | Static method | Public | Method | Compare big tables by fields with messages | 20121206 | |
| 3 | Static method | Public | Method | Compare tab/log with MOVE-CORRESPONDING. Target has no index | 20130305 | |
| 4 | Static method | Public | Method | Compare by fields. Source and target struct aren't identical | 20130513 | |
| 5 | Static method | Public | Method | Compare with MOVE-CORRESPONDING | 20130116 | |
| 6 | Static method | Public | Method | Compare with MOVE-CORRESPONDING. Target has no index. | 20130118 | |
| 7 | Static method | Private | Method | 20130118 | ||
| 8 | Static method | Private | Method | 20130221 | ||
| 9 | Static method | Private | Method | 20110919 |
Events
Class CL_CRR_VALIDATION has no event.
Types
Class CL_CRR_VALIDATION has no local type.
Method Signatures
Method COMPARE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_REC_SRC_MISS_IN_TGT | Call by reference | Type reference (TYPE) | ANY TABLE | 20110919 | ||||
| 2 | ET_REC_SRC_WITH_FIELD_DIFF | Call by reference | Type reference (TYPE) | ANY TABLE | 20110919 | ||||
| 3 | ET_REC_TGT_MISS_IN_SRC | Call by reference | Type reference (TYPE) | ANY TABLE | 20110919 | ||||
| 4 | ET_REC_TGT_WITH_FIELD_DIFF | Call by reference | Type reference (TYPE) | ANY TABLE | 20110919 | ||||
| 5 | E_MAX_NUMBER_OF_ERRORS_REACHED | Call by reference | Type reference (TYPE) | XFELD | Checkbox | 20110919 | |||
| 6 | E_NUM_IDENTICAL_REC | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20110919 | |||
| 7 | E_NUM_REC_SRC | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20110919 | |||
| 8 | E_NUM_REC_TGT | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20110919 | |||
| 9 | I_DBTAB_NAME_SRC | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20110919 | |||
| 10 | I_DBTAB_NAME_TGT | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20110919 | |||
| 11 | I_MAX_NUMBER_OF_ERRORS | Call by reference | Type reference (TYPE) | INT4 | 1000 | Natural number | 20110919 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Technical CRR Exception | 20121214 |
Method COMPARE_AND_GET_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_MAX_NUMBER_OF_ERRORS_REACHED | Call by reference | Type reference (TYPE) | XFELD | Checkbox | 20121206 | |||
| 2 | E_MESSAGES | Call by reference | Type reference (TYPE) | CRR_MESSAGE_T | CRR Message Table | 20121206 | |||
| 3 | E_TABLE_IDENTICAL | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20121206 | ||||
| 4 | I_DBTAB_NAME_SRC | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20121206 | |||
| 5 | I_DBTAB_NAME_TGT | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20121206 | |||
| 6 | I_MAX_NUMBER_OF_ERRORS | Call by reference | Type reference (TYPE) | INT4 | 1000 | Natural number | 20121206 | ||
| 7 | I_MESSAGE_LEVEL | Call by reference | Type reference (TYPE) | DCRR_MSG_LEVEL | Single-Character Flag | 20121206 |
Method COMPARE_AND_GET_MESSAGES on class CL_CRR_VALIDATION has no exception.
Method COMPARE_DB_TAB_AND_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ERROR_RECORD_INDEX_SRC | Call by reference | Type reference (TYPE) | SY-INDEX | ABAP System Field: Loop Index | 20130607 | |||
| 2 | E_TABLE_IDENTICAL | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130305 | ||||
| 3 | I_DBTAB_NAME_SRC | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130305 | |||
| 4 | I_DBTAB_NAME_TGT | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Technical CRR Exception | 20130423 |
Method COMPARE_MODIFIED_STRUCT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ERROR_RECORD_INDEX_TGT | Call by reference | Type reference (TYPE) | SY-INDEX | ABAP System Field: Loop Index | 20130513 | |||
| 2 | E_TABLE_IDENTICAL | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130513 | ||||
| 3 | I_DBTAB_NAME_SRC | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130513 | |||
| 4 | I_DBTAB_NAME_TGT | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130513 |
Method COMPARE_MODIFIED_STRUCT on class CL_CRR_VALIDATION has no exception.
Method COMPARE_QUICK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ERROR_RECORD_INDEX | Call by reference | Type reference (TYPE) | SY-INDEX | ABAP System Field: Loop Index | 20130513 | |||
| 2 | E_TABLE_IDENTICAL | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130116 | ||||
| 3 | I_DBTAB_NAME_SRC | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130116 | |||
| 4 | I_DBTAB_NAME_TGT | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130116 |
Method COMPARE_QUICK on class CL_CRR_VALIDATION has no exception.
Method COMPARE_QUICK_INACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ERROR_RECORD_INDEX_TGT | Call by reference | Type reference (TYPE) | SY-INDEX | ABAP System Field: Loop Index | 20130207 | |||
| 2 | E_TABLE_IDENTICAL | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130118 | ||||
| 3 | I_DBTAB_NAME_SRC | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130118 | |||
| 4 | I_DBTAB_NAME_TGT | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130118 |
Method COMPARE_QUICK_INACTIVE on class CL_CRR_VALIDATION has no exception.
Method GENERIC_READ_DB_TAB_WITH_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_STRUCT | Call by reference | Type reference (TYPE) | ANY | 20130118 | ||||
| 2 | I_STRUCT_WITH_KEY_VAL | Call by reference | Type reference (TYPE) | ANY | 20130118 | ||||
| 3 | I_TABLE_NAME | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20130118 |
Method GENERIC_READ_DB_TAB_WITH_KEY on class CL_CRR_VALIDATION has no exception.
Method GENERIC_READ_LOG_TAB_WITH_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_RECORD_FOUND | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20130221 | |||
| 2 | I_LOG_TABLE_NAME | Call by reference | Type reference (TYPE) | TABNAME16 | Find a record in this log table | 20130221 | |||
| 3 | I_RECORD | Call by reference | Type reference (TYPE) | ANY | Find this record in a table | 20130221 | |||
| 4 | I_TABLE_NAME | Call by reference | Type reference (TYPE) | DDOBJNAME | Find a record of this structure in a log table | 20130221 |
Method GENERIC_READ_LOG_TAB_WITH_KEY on class CL_CRR_VALIDATION has no exception.
Method GENERIC_READ_TAB_WITH_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_RECORD_FOUND | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20130423 | |||
| 2 | E_STRUCT | Call by reference | Type reference (TYPE) | ANY | 20110919 | ||||
| 3 | I_STRUCT_WITH_KEY_VAL | Call by reference | Type reference (TYPE) | ANY | 20110919 | ||||
| 4 | I_TABLE_NAME | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20110919 | |||
| 5 | I_TABLE_TO_READ | Call by reference | Type reference (TYPE) | ANY TABLE | 20110919 | ||||
| 6 | I_TABLE_TO_READ_TYPE | Call by reference | Type reference (TYPE) | ABAP_TABLEKIND | 20130321 |
Method GENERIC_READ_TAB_WITH_KEY on class CL_CRR_VALIDATION has no exception.
History
| Last changed by/on | SAP | 20140120 |
| SAP Release Created in | 732 |