SAP ABAP Class CL_RSBCT_XA_DATA_VALIDATION (Checking the file)
Hierarchy
☛
BI_CONT (Software Component) Business Intelligence Content
⤷
BW-BCT-EPM (Application Component) Spend Analytics Content
⤷
RS_BCT_XA_ABAP (Package) xA general ABAP objects
⤷
⤷
Properties
| Class | CL_RSBCT_XA_DATA_VALIDATION | |
| Short Description | Checking the file | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RS_BCT_XA_ABAP | xA general ABAP objects |
| Created | 20070919 | SAP |
| Last change | 20141101 | |
| 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_RSBCT_XA_DATA_VALIDATION has no interface implemented.
Friends
Class CL_RSBCT_XA_DATA_VALIDATION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | RSXSA_CHAR2500 | xSA character 2500 | 20070919 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | RSXSA_CHAR2500 | xSA character 2500 | 20070919 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | RSSLOGSYS | 'XSA_PCFILE' | Source system | 20070920 | ||
| 4 | Instance attribute | Private | Type reference (TYPE) | RSXAROWNO | Number of row | 20070920 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | RSXAFILES_PARAM | Parameter of files | 20070919 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | RS_T_MSG | Table with Messages (Application Log) | 20070919 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | RSXAFILES_T_VALI | Validation Results | 20070921 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | RSXAUPLOAD_ID | Upload ID | 20070919 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Check if the data type is ok and if the length is correct | 20070919 | |
| 2 | Instance method | Private | Method | Check for correct Delimiter | 20070919 | |
| 3 | Instance method | Private | Method | Check for codepage UTF8 | 20070919 | |
| 4 | Instance method | Private | Method | Check if the given object is active | 20070919 | |
| 5 | Instance method | Public | Constructor | Constructor | 20070919 | |
| 6 | Instance method | Public | Method | run the validation/checks per data record | 20070919 | |
| 7 | Instance method | Public | Method | run global validation per file | 20071009 | |
| 8 | Instance method | Public | Method | Get Validation status E,W,S | 20071009 | |
| 9 | Instance method | Public | Method | Write all messages to the log | 20070924 |
Events
Class CL_RSBCT_XA_DATA_VALIDATION has no event.
Types
Class CL_RSBCT_XA_DATA_VALIDATION has no local type.
Method Signatures
Method CHECK_DATATYPE_LENGTH Signature
Method CHECK_DATATYPE_LENGTH on class CL_RSBCT_XA_DATA_VALIDATION has no parameter.
Method CHECK_DATATYPE_LENGTH on class CL_RSBCT_XA_DATA_VALIDATION has no exception.
Method CHECK_DELIMITER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_WRITE_TO_APPLLOG | Call by reference | Type reference (TYPE) | RS_BOOL | Boolean | 20070919 |
Method CHECK_DELIMITER on class CL_RSBCT_XA_DATA_VALIDATION has no exception.
Method CHECK_ENCODING_UTF8 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_WRITE_TO_APPLLOG | Call by reference | Type reference (TYPE) | RS_BOOL | Write Log Entry TRUE/FALSE | 20070919 |
Method CHECK_ENCODING_UTF8 on class CL_RSBCT_XA_DATA_VALIDATION has no exception.
Method CHECK_IS_OBJECT_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OBJECT_NAME | Call by reference | Type reference (TYPE) | RSOBJNM | Object | 20070919 | |||
| 2 | I_OBJECT_TYPE | Call by reference | Type reference (TYPE) | RSTLOGO | BW: Object Type (TLOGO) | 20070919 | |||
| 3 | I_WRITE_TO_APPLLOG | Call by reference | Type reference (TYPE) | RS_BOOL | Write to the application log | 20070919 |
Method CHECK_IS_OBJECT_ACTIVE on class CL_RSBCT_XA_DATA_VALIDATION has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DELETE_VALIDATION_RESULT | Call by reference | Type reference (TYPE) | RS_BOOL | Delete the old validation results. | 20071023 | |||
| 2 | I_FILEID | Call by reference | Type reference (TYPE) | RSXAFILE_ID | xA Filename | 20070919 | |||
| 3 | I_UPLOADID | Call by reference | Type reference (TYPE) | RSXAUPLOAD_ID | Upload ID | 20070919 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | The given FILEID does not exist. | 20070919 |
Method EXECUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20070921 | |||
| 2 | I_DATA | Call by reference | Type reference (TYPE) | RSXSA_CHAR2500 | xSA character 2500 | 20070919 | |||
| 3 | I_ROW_NO | Call by reference | Type reference (TYPE) | RSXAROWNO | Number of row | 20070921 |
Method EXECUTE on class CL_RSBCT_XA_DATA_VALIDATION has no exception.
Method EXECUTE_GLOBAL_VALI Signature
Method EXECUTE_GLOBAL_VALI on class CL_RSBCT_XA_DATA_VALIDATION has no parameter.
Method EXECUTE_GLOBAL_VALI on class CL_RSBCT_XA_DATA_VALIDATION has no exception.
Method GET_VALI_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_VALI_RESULT | Call by reference | Type reference (TYPE) | RSXAVALIDATION_STATUS | Validation Status | 20071009 |
Method GET_VALI_STATUS on class CL_RSBCT_XA_DATA_VALIDATION has no exception.
Method WRITE_MSG_TO_APPL_LOG Signature
Method WRITE_MSG_TO_APPL_LOG on class CL_RSBCT_XA_DATA_VALIDATION has no parameter.
Method WRITE_MSG_TO_APPL_LOG on class CL_RSBCT_XA_DATA_VALIDATION has no exception.
History
| Last changed by/on | SAP | 20141101 |
| SAP Release Created in | 703 |