SAP ABAP Class /SAPCND/CL_CT_FIELDS_SRV (Class for CT abap unit tests)
Hierarchy
☛
SAP_AP (Software Component) SAP Application Platform
⤷
AP-PRC-CON (Application Component) Condition Technique
⤷
/SAPCND/TEST_T (Package) Test tools for condition technique
⤷
⤷
Properties
| Class | /SAPCND/CL_CT_FIELDS_SRV | |
| Short Description | Class for CT abap unit tests | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /SAPCND/TEST_T | Test tools for condition technique |
| Created | 20090303 | SAP |
| Last change | 20091125 | 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 /SAPCND/CL_CT_FIELDS_SRV has no interface implemented.
Friends
Class /SAPCND/CL_CT_FIELDS_SRV has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | /SAPCND/IF_EX_TST_UNIT_APP | Business add-in interface /SAPCND/IF_EX_TST_UNIT_APP | 20090303 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | /SAPCND/IF_EX_TST_APPL_FLD | Business add-in interface /SAPCND/IF_EX_TST_APPL_FLD | 20090303 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | /SAPCND/IF_EX_TST_UNIT_USG | Business add-in interface /SAPCND/IF_EX_TST_UNIT_USG | 20090303 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | /SAPCND/WORKING_SET_NAMES | Name of Structures/Table Types for Conditions Records | 20090303 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20090303 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | GTTY_TST_DB_INSERTED_VALUES | 20090303 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | /SAPCND/MAINT_GROUP | Condition Maintenance Group | 20090303 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | /SAPCND/APPLICATION | Application as Condition Technique | 20090303 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | /SAPCND/FIELDNAME | Field name | 20090303 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | /SAPCND/ATTRIB_VALUE_INTERNAL | Internal Representation of Attribute Value | 20090303 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | /SAPCND/BOOLEAN | Boolean Variable | 20090303 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | /SAPCND/COND_TABLE_ID | Condition Table | 20090303 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | /SAPCND/COND_TYPE | Condition Type | 20090303 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | /SAPCND/MAINT_GROUP | Condition Maintenance Group | 20090303 | |||
| 15 | Instance attribute | Public | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20090303 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | /SAPCND/MAINT_SESSION_ID | Maintenance Session ID | 20090303 | |||
| 17 | Instance attribute | Public | Type reference (TYPE) | /SAPCND/BOOLEAN | Boolean Variable | 20090303 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | /SAPCND/TIMESTAMP | Time Stamp | 20090303 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | /SAPCND/USAGE | Usage for Condition Technique | 20090303 | |||
| 20 | Instance attribute | Public | Object reference (TYPE REF TO) | DATA | 20090303 | ||||
| 21 | Instance attribute | Private | Type reference (TYPE) | /SAPCND/COND_TABLE_ID | Condition Table | 20090303 | |||
| 22 | Instance attribute | Private | Type reference (TYPE) | /SAPCND/COND_TYPE | Condition Type | 20090303 | |||
| 23 | Instance attribute | Private | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20090303 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | checks the condindx consistency with the actual rec. | 20090303 | |
| 2 | Instance method | Public | Method | Checks the CT key fields consistency in condition records | 20090303 | |
| 3 | Instance method | Public | Method | Checks the valididty window consistency in cond recs | 20090303 | |
| 4 | Instance method | Public | Constructor | 20090303 | ||
| 5 | Instance method | Private | Method | Removes the expected errors from the BAPIret table. | 20090303 | |
| 6 | Instance method | Private | Method | Removes the test ws item from DB if exists. | 20090303 | |
| 7 | Instance method | Public | Method | Teardown | 20090303 |
Events
Class /SAPCND/CL_CT_FIELDS_SRV has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | GTTY_TST_DB_INSERTED_VALUES | Private | See coding | 20090303 | gtty_tst_db_inserted_values type STANDARD TABLE OF gty_tst_db_inserted_values
|
||
| 2 | GTY_TST_DB_INSERTED_VALUES | Private | See coding | 20090303 | begin of gty_tst_db_inserted_values.
types rollname type rollname.
types attrib_value type /sapcnd/t_attrib_value_int.
types end of gty_tst_db_inserted_values
|
Method Signatures
Method CHECK_CONDINDX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_BAPIRET | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20090303 | |||
| 2 | EV_RESULT | Call by reference | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20090303 |
Method CHECK_CONDINDX on class /SAPCND/CL_CT_FIELDS_SRV has no exception.
Method CHECK_CT_KEY_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_BAPIRET | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20090303 | |||
| 2 | EV_RESULT | Call by reference | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20090303 |
Method CHECK_CT_KEY_FIELDS on class /SAPCND/CL_CT_FIELDS_SRV has no exception.
Method CHECK_VALIDITY_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_BAPIRET | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20090303 | |||
| 2 | EV_RESULT | Call by reference | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20090303 |
Method CHECK_VALIDITY_PERIOD on class /SAPCND/CL_CT_FIELDS_SRV has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BAPI_FLAG | Call by reference | Type reference (TYPE) | /SAPCND/BOOLEAN | 'X' | Boolean Variable | 20090303 |
Method CONSTRUCTOR on class /SAPCND/CL_CT_FIELDS_SRV has no exception.
Method REMOVE_EXPECTED_ERRORS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_BAPIRET | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20090303 | |||
| 2 | IV_MSGNO | Call by reference | Type reference (TYPE) | SY-MSGNO | Message Number | 20090303 |
Method REMOVE_EXPECTED_ERRORS on class /SAPCND/CL_CT_FIELDS_SRV has no exception.
Method REMOVE_TEST_WS_ITEM_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_BAPIRET | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20090303 | |||
| 2 | EV_RESULT | Call by reference | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20090303 | |||
| 3 | IT_ATTRIB_VAL_INT | Call by reference | Type reference (TYPE) | /SAPCND/T_ATTRIB_VALUE_INT | Attribute Value Pair in Internal Display | 20090303 |
Method REMOVE_TEST_WS_ITEM_DB on class /SAPCND/CL_CT_FIELDS_SRV has no exception.
Method TEARDOWN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_BAPIRET | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20090303 |
Method TEARDOWN on class /SAPCND/CL_CT_FIELDS_SRV has no exception.
History
| Last changed by/on | SAP | 20091125 |
| SAP Release Created in |