SAP ABAP Class CL_FDT_UT_XML_UTILITIES (utilities)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
⤷
SFDT_TEST (Package) BRFplus: Global Test Classes
⤷
⤷
Properties
| Class | CL_FDT_UT_XML_UTILITIES | |
| Short Description | utilities | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SFDT_TEST | BRFplus: Global Test Classes |
| Created | 20110311 | 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... |
Interfaces
Class CL_FDT_UT_XML_UTILITIES has no interface implemented.
Friends
Class CL_FDT_UT_XML_UTILITIES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | I | 20110311 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | 20110311 | ||
| 2 | Static method | Private | Method | 20110311 | ||
| 3 | Static method | Public | Method | exports an test case depending on the test_case_id | 20110912 | |
| 4 | Static method | Public | Method | 20110915 | ||
| 5 | Static method | Public | Method | imports a test case with expected values | 20110912 | |
| 6 | Static method | Public | Method | 20110602 | ||
| 7 | Static method | Public | Method | 20110602 | ||
| 8 | Static method | Public | Method | 20110602 | ||
| 9 | Instance method | Public | Method | 20110311 | ||
| 10 | Instance method | Public | Method | 20110311 | ||
| 11 | Static method | Private | Method | 20110311 | ||
| 12 | Static method | Public | Method | Update test case in database | 20110915 |
Events
Class CL_FDT_UT_XML_UTILITIES has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_CONTEXT_DATA | Public | Type reference (TYPE) | FDT_TEST_XML_CON | 20110602 | |
|
| 2 | T_CONTEXT_DATA | Public | See coding | 20110602 | t_CONTEXT_DATA type STANDARD TABLE OF s_context_data
|
Method Signatures
Method DELETE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DELETED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110311 | ||||
| 2 | IV_CHANGE_INDEX | Call by reference | Type reference (TYPE) | I | 20110311 | ||||
| 3 | IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20110311 | |||
| 4 | IV_TEST_CASE_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20110322 |
Method DELETE_DATA on class CL_FDT_UT_XML_UTILITIES has no exception.
Method DESERIALIZE_DATA_SNAPSHOT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETS_CONTEXT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | 20110321 | ||||
| 2 | ETS_RESULT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | Object IDs as sorted table | 20110321 | |||
| 3 | ET_CONTEXT_SNAPSHOT | Call by reference | Type reference (TYPE) | ABAP_TRANS_SRCBIND_TAB | 20110321 | ||||
| 4 | ET_RESULT_SNAPSHOT | Call by reference | Type reference (TYPE) | ABAP_TRANS_SRCBIND_TAB | 20110321 | ||||
| 5 | IV_XML_CONTEXT_IDS | Call by reference | Type reference (TYPE) | XSTRING | 20110321 | ||||
| 6 | IV_XML_CONTEXT_SNAPSHOT | Call by reference | Type reference (TYPE) | XSTRING | 20110321 | ||||
| 7 | IV_XML_RESULT_IDS | Call by reference | Type reference (TYPE) | XSTRING | 20110321 | ||||
| 8 | IV_XML_RESULT_SNAPSHOT | Call by reference | Type reference (TYPE) | XSTRING | 20110321 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110311 |
Method EXPORT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_XML | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20110914 | |||
| 2 | EV_STRING | Call by reference | Type reference (TYPE) | STRING | 20110912 | ||||
| 3 | IV_TEST_CASE | Call by reference | Type reference (TYPE) | FDT_UUID | FDT: Universal Unique Identifier | 20110912 |
Method EXPORT_DATA on class CL_FDT_UT_XML_UTILITIES has no exception.
Method GET_FUNCTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETS_FUNCTION | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | Object IDs as sorted table | 20110915 | |||
| 2 | IV_TEST_CASE | Value transfer | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20110915 |
Method GET_FUNCTION on class CL_FDT_UT_XML_UTILITIES has no exception.
Method IMPORT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_INCREASE | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20110914 | |||
| 2 | IV_OVERWRITE | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20110914 | |||
| 3 | IV_STRING | Call by reference | Type reference (TYPE) | STRING | 20110912 |
Method IMPORT_DATA on class CL_FDT_UT_XML_UTILITIES has no exception.
Method IS_VALID_SET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CHANGE_INDEX | Call by reference | Type reference (TYPE) | I | 20110602 | ||||
| 2 | IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20110602 | |||
| 3 | RV_VALID | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110602 |
Method IS_VALID_SET on class CL_FDT_UT_XML_UTILITIES has no exception.
Method IS_VALID_TEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_APPL_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20110602 | |||
| 2 | RV_VALID | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110602 |
Method IS_VALID_TEST on class CL_FDT_UT_XML_UTILITIES has no exception.
Method READ_CONTEXT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CON_DATA | Call by reference | Type reference (TYPE) | T_CONTEXT_DATA | Context and Result Value for UT based on XML | 20110602 | |||
| 2 | IV_TEST_CASE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20110602 |
Method READ_CONTEXT_DATA on class CL_FDT_UT_XML_UTILITIES has no exception.
Method READ_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETS_CONTEXT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | 20110321 | ||||
| 2 | ETS_RESULT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | Object IDs as sorted table | 20110321 | |||
| 3 | ET_CONTEXT_SNAPSHOT | Call by reference | Type reference (TYPE) | ABAP_TRANS_SRCBIND_TAB | 20110321 | ||||
| 4 | ET_RESULT_SNAPSHOT | Call by reference | Type reference (TYPE) | ABAP_TRANS_SRCBIND_TAB | 20110321 | ||||
| 5 | IV_CHANGE_INDEX | Call by reference | Type reference (TYPE) | I | 20110311 | ||||
| 6 | IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | 20110311 | ||||
| 7 | IV_TEST_CASE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20110322 |
Method READ_DATA on class CL_FDT_UT_XML_UTILITIES has no exception.
Method SAVE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_CONTEXT_SNAPSHOT | Call by reference | Type reference (TYPE) | ABAP_TRANS_SRCBIND_TAB | 20110321 | ||||
| 2 | IT_RESULT_SNAPSHOT | Call by reference | Type reference (TYPE) | ABAP_TRANS_SRCBIND_TAB | 20110321 | ||||
| 3 | IV_CHANGE_INDEX | Call by reference | Type reference (TYPE) | I | 20110311 | ||||
| 4 | IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | 20110311 | ||||
| 5 | IV_TEST_CASE_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20110322 |
Method SAVE_DATA on class CL_FDT_UT_XML_UTILITIES has no exception.
Method SERIALIZE_DATA_SNAPSHOT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_XML_CONTEXT_IDS | Call by reference | Type reference (TYPE) | XSTRING | 20110321 | ||||
| 2 | EV_XML_CONTEXT_SNAPSHOT | Call by reference | Type reference (TYPE) | XSTRING | 20110321 | ||||
| 3 | EV_XML_RESULT_IDS | Call by reference | Type reference (TYPE) | XSTRING | 20110321 | ||||
| 4 | EV_XML_RESULT_SNAPSHOT | Call by reference | Type reference (TYPE) | XSTRING | 20110321 | ||||
| 5 | IT_CONTEXT_SNAPSHOT | Call by reference | Type reference (TYPE) | ABAP_TRANS_SRCBIND_TAB | 20110321 | ||||
| 6 | IT_RESULT_SNAPSHOT | Call by reference | Type reference (TYPE) | ABAP_TRANS_SRCBIND_TAB | 20110321 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110311 |
Method TESTCASE_DB_WRITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20120105 | |||
| 2 | IV_TC_EXECUTABLE | Call by reference | Type reference (TYPE) | FDT_TEST_XML-EXECUTABLE | ABAP_TRUE | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20120105 | ||
| 3 | IV_TC_REBUILD | Call by reference | Type reference (TYPE) | FDT_TEST_XML-RE_BUILD | ABAP_FALSE | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20120105 | ||
| 4 | IV_TEST_CASE | Call by reference | Type reference (TYPE) | FDT_UUID | FDT: Universal Unique Identifier | 20110915 |
Method TESTCASE_DB_WRITE on class CL_FDT_UT_XML_UTILITIES has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 731 |