SAP ABAP Class /SDF/CL_TC_TOOLS_ABAP (Transactional correctness check tools for ABAP)
Hierarchy
☛
ST-PI (Software Component) SAP Solution Tools Plug-In
⤷
SV-SMG-SDD (Application Component) Service Data Download
⤷
/SDF/STPI_6X (Package) Release 6.XX dependent Basis Addon SLM
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | /SDF/CL_TC_TOOLS_ABAP_ACC | Transactional correctness check tools for ABAP - new st05 | 20090420 |
| 2 | Inheritance (c INHERITING FROM c_ref) | /SDF/CL_TC_TOOLS_ABAP_OLD | Transactional correctness check tools for ABAP - old st05 | 20090420 |
Properties
| Class | /SDF/CL_TC_TOOLS_ABAP | |
| Short Description | Transactional correctness check tools for ABAP | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /SDF/STPI_6X | Release 6.XX dependent Basis Addon SLM |
| Created | 20090420 | SAP |
| Last change | 20140121 | 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 /SDF/CL_TC_TOOLS_ABAP has no interface implemented.
Friends
Class /SDF/CL_TC_TOOLS_ABAP has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | CHAR4 | 'C310' | Background color for warning in ALV | 20090731 | ||
| 2 | Constant | Protected | Type reference (TYPE) | CHAR8 | 'COMMIT' | Commit statement | 20090420 | ||
| 3 | Constant | Protected | Type reference (TYPE) | CHAR8 | 'DELETE' | Delete statement | 20090420 | ||
| 4 | Constant | Private | Type reference (TYPE) | CHAR4 | 'C601' | Font color for highlight in ALV | 20090615 | ||
| 5 | Constant | Protected | Type reference (TYPE) | CHAR8 | 'INSERT' | Insert statement | 20090420 | ||
| 6 | Constant | Protected | Type reference (TYPE) | CHAR8 | 'OTHERS' | Other statement | 20091109 | ||
| 7 | Constant | Protected | Type reference (TYPE) | CHAR8 | 'ROLLBACK' | Rollback statement | 20090420 | ||
| 8 | Constant | Protected | Type reference (TYPE) | CHAR8 | 'SELECT' | Select statement | 20120611 | ||
| 9 | Constant | Protected | Type reference (TYPE) | CHAR8 | 'UPDATE' | Update statement | 20090420 | ||
| 10 | Instance attribute | Protected | Type reference (TYPE) | /SDF/DCC_TC_WARNING_TAB | Warnings regarding transactional correctness | 20090714 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | ITY_TRACE_RECORDS | Checked trace records | 20090615 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Add warning regarding transactional correctness | 20090714 | |
| 2 | Instance method | Public | Method | Check transactional correctness | 20090420 | |
| 3 | Instance method | Private | Method | Check TC rule 1: No COMMITs between changes in main program | 20090729 | |
| 4 | Instance method | Private | Method | Check TC rule2: No COMMITs between changes in tRFC/qRFC | 20090729 | |
| 5 | Instance method | Private | Method | Check TC rule3: No changes in sRFC/aRFC | 20090729 | |
| 6 | Instance method | Private | Method | Check TC rule4: Explicit COMMIT for changes in update task | 20090729 | |
| 7 | Instance method | Private | Method | Check TC rule5: Include all changes in update task | 20090729 | |
| 8 | Instance method | Private | Method | Convert checked st05 trace records for display | 20090729 | |
| 9 | Instance method | Private | Method | Convert checked st05 trace records for export | 20090729 | |
| 10 | Instance method | Public | Method | Display transactional correctness check results | 20090420 | |
| 11 | Static method | Public | Method | Get texts of all transactional correctness check rule | 20090724 | |
| 12 | Static method | Public | Method | Get text of single transactional correctness check rule | 20090724 | |
| 13 | Instance method | Private | Method | Get warnings regarding transactional correctness | 20090724 | |
| 14 | Instance method | Protected | Method | Select and prepare st05 trace records to be checked | 20090420 |
Events
Class /SDF/CL_TC_TOOLS_ABAP has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | ITY_TRACE_RECORD | Protected | See coding | 20090420 | |
||
| 2 | ITY_TRACE_RECORDS | Protected | See coding | 20090420 | |
Method Signatures
Method ADD_WARNING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TC_WARNING_ID | Call by reference | Type reference (TYPE) | INT4 | Warning ID to be added | 20090714 | |||
| 2 | IV_TRECNUMBER | Call by reference | Type reference (TYPE) | INT4 | Trace record number for which the comment is added | 20090714 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions transactional correctness check tools for ABAP | 20090714 |
Method CHECK_TC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CHECK_RESULT | Call by reference | Type reference (TYPE) | /SDF/DCC_TC_EXPORT_TAB | Export table for transactional correctness check ABAP | 20090420 | |||
| 2 | ET_TC_WARNINGS | Call by reference | Type reference (TYPE) | /SDF/DCC_TC_WARNING_TAB | Table of transactional correctness warnings | 20090724 | |||
| 3 | IV_CONN_CNT | Call by reference | Type reference (TYPE) | INT4 | Connection counter for trace record selection | 20090420 | |||
| 4 | IV_CONN_ID | Call by reference | Type reference (TYPE) | CHAR32 | Connection ID for trace record selection | 20090420 | |||
| 5 | IV_END_DATE | Call by reference | Type reference (TYPE) | SYSTDATUT | End date for trace record selection | 20090420 | |||
| 6 | IV_END_TIME | Call by reference | Type reference (TYPE) | SYSTTIMUT | End time for trace record selection | 20090420 | |||
| 7 | IV_RFC_TYPE | Call by reference | Type reference (TYPE) | CHAR04 | RFC type for check | 20090615 | |||
| 8 | IV_ROOT_ID | Call by reference | Type reference (TYPE) | CHAR32 | Root ID for trace record selection | 20090420 | |||
| 9 | IV_START_DATE | Call by reference | Type reference (TYPE) | SYSTDATUT | Start date for trace record selection | 20090420 | |||
| 10 | IV_START_TIME | Call by reference | Type reference (TYPE) | SYSTTIMUT | Start time for trace record selection | 20090420 | |||
| 11 | IV_TRANSID | Call by reference | Type reference (TYPE) | CHAR32 | Transaction ID for trace record selection | 20100122 | |||
| 12 | IV_USER | Call by reference | Type reference (TYPE) | SYUNAME | User for trace record selection | 20090730 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions transactional correctness check tools for ABAP | 20090420 |
Method CHECK_TC_RULE1 Signature
Method CHECK_TC_RULE1 on class /SDF/CL_TC_TOOLS_ABAP has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions transactional correctness check tools for ABAP | 20090729 | ||
| 2 | System-Exceptions bei Teilfeldzugriff außerhalb der Grenzen | 20100119 |
Method CHECK_TC_RULE2 Signature
Method CHECK_TC_RULE2 on class /SDF/CL_TC_TOOLS_ABAP has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions transactional correctness check tools for ABAP | 20090729 | ||
| 2 | System Exceptions Accessing Subfields Beyond Boundary | 20100119 |
Method CHECK_TC_RULE3 Signature
Method CHECK_TC_RULE3 on class /SDF/CL_TC_TOOLS_ABAP has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions transactional correctness check tools for ABAP | 20090729 |
Method CHECK_TC_RULE4 Signature
Method CHECK_TC_RULE4 on class /SDF/CL_TC_TOOLS_ABAP has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions transactional correctness check tools for ABAP | 20090729 | ||
| 2 | System Exceptions Accessing Subfields Beyond Boundary | 20100119 |
Method CHECK_TC_RULE5 Signature
Method CHECK_TC_RULE5 on class /SDF/CL_TC_TOOLS_ABAP has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions transactional correctness check tools for ABAP | 20090729 | ||
| 2 | System Exceptions Accessing Subfields Beyond Boundary | 20100119 |
Method CONVERT_TRACE_RECORDS_DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CHECK_RESULT | Call by reference | Type reference (TYPE) | /SDF/DCC_TC_DISPLAY_TAB | Display table type for transactional correctness check ABAP | 20090729 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions transactional correctness check tools for ABAP | 20090729 |
Method CONVERT_TRACE_RECORDS_EXPORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CHECK_RESULT | Call by reference | Type reference (TYPE) | /SDF/DCC_TC_EXPORT_TAB | Export table type for transactional correctness check ABAP | 20090729 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions transactional correctness check tools for ABAP | 20090729 |
Method DISPLAY_TC_CHECK_RESULTS Signature
Method DISPLAY_TC_CHECK_RESULTS on class /SDF/CL_TC_TOOLS_ABAP has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions transactional correctness check tools for ABAP | 20090420 |
Method GET_RULE_TEXTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RULES | Call by reference | Type reference (TYPE) | /SDF/DCC_TC_RULE_TAB | Transactional Correctness Rules | 20090724 | |||
| 2 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | LANG | 'E' | Language ID | 20090724 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions transactional correctness check tools for ABAP | 20090729 |
Method GET_SINGLE_RULE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_RULE_TEXT | Call by reference | Type reference (TYPE) | /SDF/DCC_TC_RULE_TEXT | Transactional Correctness Rule Text | 20090724 | |||
| 2 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | R/3 System, current language | 20090724 | |||
| 3 | IV_RULE_NO | Call by reference | Type reference (TYPE) | /SDF/DCC_TC_RULE_NO | Transactional Correctness Rule Number | 20090724 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions transactional correctness check tools for ABAP | 20090729 |
Method GET_WARNINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TC_WARNINGS | Call by reference | Type reference (TYPE) | /SDF/DCC_TC_WARNING_TAB | Table of Transactional Correctness Warnings | 20090724 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions transactional correctness check tools for ABAP | 20090729 |
Method SELECT_PREPARE_TRACE_RECORDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CONN_CNT | Call by reference | Type reference (TYPE) | INT4 | Connection counter for trace record selection | 20090730 | |||
| 2 | IV_CONN_ID | Call by reference | Type reference (TYPE) | CHAR32 | Connection ID for trace record selection | 20090730 | |||
| 3 | IV_END_DATE | Call by reference | Type reference (TYPE) | SYSTDATUT | End date in UTC for trace record selection | 20090420 | |||
| 4 | IV_END_TIME | Call by reference | Type reference (TYPE) | SYSTTIMUT | End time in UTC for trace record selection | 20090420 | |||
| 5 | IV_ROOT_ID | Call by reference | Type reference (TYPE) | CHAR32 | Root ID for trace record selection | 20090730 | |||
| 6 | IV_START_DATE | Call by reference | Type reference (TYPE) | SYSTDATUT | Start date in UTC for trace record selection | 20090420 | |||
| 7 | IV_START_TIME | Call by reference | Type reference (TYPE) | SYSTTIMUT | Start time in UTC for trace record selection | 20090420 | |||
| 8 | IV_TRANSID | Call by reference | Type reference (TYPE) | CHAR32 | Transaction ID for trace record selection | 20090730 | |||
| 9 | IV_USER | Call by reference | Type reference (TYPE) | SYUNAME | User for trace record selection | 20090730 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions transactional correctness check tools for ABAP | 20090420 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 2005_1_620 |