Hierarchy
⤷
⤷
Properties
| Class | CL_SALV_STI_AUNIT_COLTYPES | |
| Short Description | unit tests for columnt types | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | T | Test Program |
| Category | 5 | |
| Package | SALV_STI | ALV Services for Tables: iTab Services impl. |
| Created | 20101221 | SAP |
| Last change | 20130531 | 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) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_SALV_STI_AUNIT_COLTYPES has no interface implemented.
Friends
Class CL_SALV_STI_AUNIT_COLTYPES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | See coding | 20110103 | |||||
| 2 | Constant | Protected | See coding | 20110119 | |||||
| 3 | Constant | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20101221 | |||
| 4 | Constant | Protected | Type reference (TYPE) | STRING | ` |
20110118 | |||
| 5 | Constant | Protected | Type reference (TYPE) | STRING | ` |
20110118 | |||
| 6 | Constant | Protected | Type reference (TYPE) | STRING | ` |
20101222 | |||
| 7 | Constant | Protected | Type reference (TYPE) | STRING | ` |
20101223 | |||
| 8 | Constant | Protected | Type reference (TYPE) | STRING | ` |
20101223 | |||
| 9 | Constant | Protected | Type reference (TYPE) | STRING | ` |
20101223 | |||
| 10 | Constant | Protected | Type reference (TYPE) | STRING | ` |
20101223 | |||
| 11 | Constant | Protected | Type reference (TYPE) | STRING | ` |
20101222 | |||
| 12 | Constant | Protected | Type reference (TYPE) | STRING | ` |
20101222 | |||
| 13 | Constant | Protected | Type reference (TYPE) | STRING | ` |
20101222 | |||
| 14 | Constant | Protected | Type reference (TYPE) | STRING | ` |
20101222 | |||
| 15 | Constant | Protected | Type reference (TYPE) | STRING | ` |
20101223 | |||
| 16 | Constant | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20101221 | |||
| 17 | Constant | Protected | Type reference (TYPE) | STRING | `TESTCOLUMN` | 20101221 | |||
| 18 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20101223 | ||||
| 19 | Static Attribute | Protected | Type reference (TYPE) | I | 20110119 | ||||
| 20 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_SALV_COLUMN_CATALOG | 20101221 | ||||
| 21 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_SALV_ITAB_SERVICES | 20101221 | ||||
| 22 | Instance attribute | Protected | See coding | 20101221 | |||||
| 23 | Instance attribute | Protected | Type reference (TYPE) | YT_TESTDATA | 20101222 | ||||
| 24 | Instance attribute | Protected | Type reference (TYPE) | AUNIT_LEVEL | ABAP Unit: Severity of Check Error | 20101223 | |||
| 25 | Instance attribute | Protected | Type reference (TYPE) | TCP0C-LANGU | 20101221 | ||||
| 26 | Instance attribute | Protected | Type reference (TYPE) | STRING | 20110104 |
Methods
Events
Class CL_SALV_STI_AUNIT_COLTYPES has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | YS_FILTER_VARIANT | Protected | See coding | 20101221 | begin of ys_filter_variant,
name type string,
t_filter type if_salv_service_types=>yt_filter_rule,
end of ys_filter_variant
|
||
| 2 | YS_TESTDATA | Protected | See coding | 20101222 | begin of ys_testdata,
"generic technical fields used by all tests:
orig_tabix type sytabix, "for referencing test data lines in error messages
exp_external type string, "expected external value representation"
exp_sequence type sytabix, "expected sort sequence (duplicate numbers allowed)
exp_filter type yts_filter_variant_name, "filter variants for which the row is expected to be included in result
tol_filter type yts_filter_variant_name, "filter variants for which an error is tolerable
"test-specific fields:
str type string,
c4 type c length 4,
n4 type n length 4,
d type d,
t type t,
i type i,
p5d0 type p length 5 decimals 0,
p5d2 type p length 5 decimals 2,
p5d3 type p length 5 decimals 3,
f type f,
df16 type decfloat16,
df34 type decfloat34,
x5 type x length 5,
xstr type xstring,
tmstmp type timestamp,
cuky type tcurc-waers,
unit type t006-msehi,
end of ys_testdata
|
||
| 3 | YTS_FILTER_VARIANT_NAME | Protected | See coding | 20101221 | yts_filter_variant_name type sorted table of string with unique key table_line
|
||
| 4 | YT_TESTDATA | Protected | See coding | 20101222 | yt_testdata type standard table of ys_testdata with default key
|
||
| 5 | Y_CODE_KIND | Protected | Type reference (TYPE) | CHAR1 | 20110103 | |
Method Signatures
Method ABORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DETAIL | Call by reference | Type reference (TYPE) | CSEQUENCE | Detailed Message | 20101221 | |||
| 2 | MSG | Call by reference | Type reference (TYPE) | CSEQUENCE | Error Message | 20101221 | |||
| 3 | QUIT | Call by reference | Type reference (TYPE) | AUNIT_FLOWCTRL | IF_AUNIT_CONSTANTS=>METHOD | Flow Control in Case of Error | 20101221 |
Method ABORT on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method ADD_FILTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FORMAT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20101222 | ||||
| 2 | HIGH | Call by reference | Type reference (TYPE) | STRING | `` | 20101222 | |||
| 3 | LOW | Call by reference | Type reference (TYPE) | STRING | 20101222 | ||||
| 4 | OP | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_OPTION | IF_SALV_SERVICE_TYPES=>CS_FILTER_OPTION-EQ | 20101222 | |||
| 5 | SIGN | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_SIGN | 'I' | 20101222 | |||
| 6 | SUPPL | Call by reference | Type reference (TYPE) | STRING | `` | 20110119 | |||
| 7 | VARNAME | Call by reference | Type reference (TYPE) | STRING | 20101222 |
Method ADD_FILTER on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method ASSERT_EQUALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACT | Call by reference | Type reference (TYPE) | ANY | Data Object with Current Value | 20101221 | |||
| 2 | ASSERTION_FAILED | Value transfer | Type reference (TYPE) | ABAP_BOOL | Condition not met | 20101221 | |||
| 3 | EXP | Call by reference | Type reference (TYPE) | ANY | Data Object with Expected Type | 20101221 | |||
| 4 | IGNORE_HASH_SEQUENCE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Ignore change sequence in hash tables | 20101221 | ||
| 5 | MSG | Call by reference | Type reference (TYPE) | CSEQUENCE | Message in Case of Error | 20101221 | |||
| 6 | QUIT | Call by reference | Type reference (TYPE) | AUNIT_FLOWCTRL | IF_AUNIT_CONSTANTS=>NO | Flow Control in Case of Error | 20101221 | ||
| 7 | TOL | Call by reference | Type reference (TYPE) | F | Tolerance Range for Floating Point Numbers | 20101221 |
Method ASSERT_EQUALS on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method CLASS_SETUP Signature
Method CLASS_SETUP on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method CLASS_SETUP on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method CONV_FILTERPTRN_2_VARIANTNAMES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETS_VARNAME | Call by reference | Type reference (TYPE) | YTS_FILTER_VARIANT_NAME | 20101222 | ||||
| 2 | PATTERN | Call by reference | Type reference (TYPE) | STRING | 20101222 |
Method CONV_FILTERPTRN_2_VARIANTNAMES on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method CORRECT_EXT_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EXT | Call by reference | Type reference (TYPE) | STRING | 20110120 | ||||
| 2 | R_EXT | Value transfer | Type reference (TYPE) | STRING | 20110120 |
Method CORRECT_EXT_VALUE on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method DATA Signature
Method DATA on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method DATA_REFRESH Signature
Method DATA_REFRESH on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method DATA_REFRESH on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method FAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DETAIL | Call by reference | Type reference (TYPE) | CSEQUENCE | Detailed Message | 20101221 | |||
| 2 | LEVEL | Call by reference | Type reference (TYPE) | AUNIT_LEVEL | ABAP Unit: Severity of Check Error | 20101223 | |||
| 3 | MSG | Call by reference | Type reference (TYPE) | CSEQUENCE | Error Message | 20101221 | |||
| 4 | QUIT | Call by reference | Type reference (TYPE) | AUNIT_FLOWCTRL | IF_AUNIT_CONSTANTS=>NO | Flow Control in Case of Error | 20101221 |
Method FAIL on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method INIT Signature
Method INIT on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method INIT on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method REQUIRE_CUKYS Signature
Method REQUIRE_CUKYS on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method REQUIRE_CUKYS on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method REQUIRE_LOCALE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_LANGU | Call by reference | Type reference (TYPE) | TCP0C-LANGU | 20101222 |
Method REQUIRE_LOCALE on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method REQUIRE_UNITS Signature
Method REQUIRE_UNITS on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method REQUIRE_UNITS on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method SETUP Signature
Method SETUP on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method SETUP on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method TEARDOWN Signature
Method TEARDOWN on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method TEARDOWN on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method TESTCOL_AMOUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CURRENCY_DESCRIPTION_TYPE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 | ||||
| 2 | I_CURRENCY_PRESENTATION_MODE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 | ||||
| 3 | I_FIELD_PATH | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH | 20110105 | ||||
| 4 | I_INITIAL_VALUE_MODE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 | ||||
| 5 | I_REFERENCE_PATH | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH | 20110105 | ||||
| 6 | I_SIGN_POSITION | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 |
Method TESTCOL_AMOUNT on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method TESTCOL_BASIC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CONDENSE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 | ||||
| 2 | I_FIELD_PATH | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH | 20101222 | ||||
| 3 | I_INITIAL_VALUE_MODE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 | ||||
| 4 | I_SIGN_POSITION | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 | ||||
| 5 | I_TEXT_HANDLING | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_PROPERTY_VALUE | 20110105 | ||||
| 6 | I_TIME_FORMAT | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 |
Method TESTCOL_BASIC on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method TESTCOL_CODELIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CODE_KIND | Call by reference | Type reference (TYPE) | Y_CODE_KIND | 20110103 | ||||
| 2 | I_FIELD_PATH | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH | 20101223 | ||||
| 3 | I_PRESENTATION_MODE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 | ||||
| 4 | I_SORT_CRITERION | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_PROPERTY_VALUE | 20110105 | ||||
| 5 | I_TEXT_HANDLING | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_PROPERTY_VALUE | 20110105 |
Method TESTCOL_CODELIST on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method TESTCOL_CONVEXIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CONVEXIT | Call by reference | Type reference (TYPE) | CONVEXIT | Conversion Routine | 20110103 | |||
| 2 | I_FIELD_PATH | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH | 20110103 | ||||
| 3 | I_SORT_CRITERION | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_PROPERTY_VALUE | 20110105 | ||||
| 4 | I_TEXT_HANDLING | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_PROPERTY_VALUE | 20110105 |
Method TESTCOL_CONVEXIT on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method TESTCOL_CURRENCY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DESCRIPTION_TYPE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 | ||||
| 2 | I_FIELD_PATH | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH | 20110105 | ||||
| 3 | I_PRESENTATION_MODE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 |
Method TESTCOL_CURRENCY on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method TESTCOL_QUANTITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FIELD_PATH | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH | 20110105 | ||||
| 2 | I_INITIAL_VALUE_MODE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 | ||||
| 3 | I_REFERENCE_PATH | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH | 20110105 | ||||
| 4 | I_SIGN_POSITION | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 | ||||
| 5 | I_UNIT_DESCRIPTION_TYPE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 | ||||
| 6 | I_UNIT_PRESENTATION_MODE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 |
Method TESTCOL_QUANTITY on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method TESTCOL_UNIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DESCRIPTION_TYPE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 | ||||
| 2 | I_FIELD_PATH | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH | 20110105 | ||||
| 3 | I_PRESENTATION_MODE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE | 20110105 |
Method TESTCOL_UNIT on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method TEST_ALL Signature
Method TEST_ALL on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method TEST_ALL on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method TEST_EXTERNAL Signature
Method TEST_EXTERNAL on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method TEST_EXTERNAL on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method TEST_FILTER Signature
Method TEST_FILTER on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method TEST_FILTER on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method TEST_SORT Signature
Method TEST_SORT on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method TEST_SORT on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
Method TOLERATE_ERRORS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FLAG | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20101223 |
Method TOLERATE_ERRORS on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 703 |