SAP ABAP Class CL_FCOM_HDB_SELECT (Data Selection from HDB)
Hierarchy
☛
SAP_FIN (Software Component) SAP_FIN
⤷
CO-PC-IS (Application Component) Product Cost Controlling Information System
⤷
KKB (Package) Reporting for Costing
⤷
⤷
Properties
| Class | CL_FCOM_HDB_SELECT | |
| Short Description | Data Selection from HDB | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | KKB | Reporting for Costing |
| Created | 20111025 | 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) |
Interfaces
Class CL_FCOM_HDB_SELECT has no interface implemented.
Friends
Class CL_FCOM_HDB_SELECT 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) | CL_SQL_CONNECTION | Database Connection Reference | 20111026 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | Reference of output table | 20111031 | |||
| 3 | Instance attribute | Public | Object reference (TYPE REF TO) | CX_SQL_EXCEPTION | Exception Class for SQL Error | 20111026 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SQL_RESULT_SET | Resulting Set of an SQL Query | 20111031 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | ADBC_TABCOL_DESCR_TAB | 20111116 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | FCOM_HDB_T_CEDST | Table type for CEDST | 20111216 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | DBCON-CON_NAME | Name of Database connection | 20111025 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | STRING | Message Text | 20111026 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | I | data package size for select | 20111031 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | STRING | Schema name | 20111025 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | FCOM_HDB_STRING | String type for HDB Selection Criteria | 20111219 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | STRING | Table or View name | 20111025 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | STRING | 'T' for Table or 'V' for View | 20111025 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20111025 | |
| 2 | Instance method | Private | Method | determines where clause | 20111109 | |
| 3 | Instance method | Public | Method | returns data | 20111025 | |
| 4 | Instance method | Public | Method | returns data (in case package size was filled in GET_DATA) | 20111031 | |
| 5 | Instance method | Public | Method | get meta data of output structure | 20111116 | |
| 6 | Instance method | Public | Method | determines output structure and select statement | 20111025 | |
| 7 | Instance method | Private | Method | determines and returns Select statement | 20111025 |
Events
Class CL_FCOM_HDB_SELECT has no event.
Types
Class CL_FCOM_HDB_SELECT has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DB_CONNECTION | Call by reference | Type reference (TYPE) | DBCON-CON_NAME | Logical name for a database connection | 20111025 | |||
| 2 | IV_SCHEMA_NAME | Call by reference | Type reference (TYPE) | FCOM_HDB_STRING | Schema name | 20111025 | |||
| 3 | IV_TABLE_NAME | Call by reference | Type reference (TYPE) | FCOM_HDB_STRING | Table or View name | 20111025 | |||
| 4 | IV_TABLE_TYPE | Call by reference | Type reference (TYPE) | FCOM_HDB_STRING | 'T' | Table ('T') or View ('V') | 20111025 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20111027 |
Method DETERMINE_WHERE_CLAUSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_WHERE_CLAUSE | Value transfer | Type reference (TYPE) | FCOM_HDB_STRING | String type for HDB Selection Criteria | 20111109 | |||
| 2 | IT_SELECTION_TABLE | Call by reference | Type reference (TYPE) | FCOM_HDB_T_CEDST | Table type for CEDST | 20111109 |
Method DETERMINE_WHERE_CLAUSE on class CL_FCOM_HDB_SELECT has no exception.
Method GET_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_OUTPUT | Call by reference | Type reference (TYPE) | TABLE | 20111025 | ||||
| 2 | EV_COUNT_ENTRIES | Call by reference | Type reference (TYPE) | I | Counter of result table | 20111031 | |||
| 3 | IV_PACKAGE_SIZE | Call by reference | Type reference (TYPE) | I | 20111025 | ||||
| 4 | IV_SELECT_STATEMENT | Call by reference | Type reference (TYPE) | FCOM_HDB_STRING | String type for HDB Selection Criteria | 20111025 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20111027 |
Method GET_DATA_PACKAGE_NEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_OUTPUT | Call by reference | Type reference (TYPE) | TABLE | 20111031 | ||||
| 2 | EV_COUNT_ENTRIES | Call by reference | Type reference (TYPE) | I | Counter of result table | 20111031 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20111031 |
Method GET_META_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_META_DATA_INFO | Call by reference | Type reference (TYPE) | ADBC_TABCOL_DESCR_TAB | 20111116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20111116 |
Method GET_OUTPUT_STRUCTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_OUTPUT_STRUCTURE_REF | Call by reference | Object reference (TYPE REF TO) | DATA | 20111025 | ||||
| 2 | ET_META_DATA_INFO | Call by reference | Type reference (TYPE) | ADBC_TABCOL_DESCR_TAB | 20111025 | ||||
| 3 | EV_SELECT_STATEMENT | Call by reference | Type reference (TYPE) | FCOM_HDB_STRING | String type for HDB Selection Criteria | 20111026 | |||
| 4 | IT_SELECTED_FIELDS | Call by reference | Type reference (TYPE) | FCOM_HDB_T_CFBSF01 | Table Type for CFBSF01 | 20111025 | |||
| 5 | IT_SELECTION_TABLE | Call by reference | Type reference (TYPE) | FCOM_HDB_T_CEDST | Table type for CEDST | 20111025 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20111027 |
Method GET_SELECT_STATEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_SELECT_STATEMENT | Call by reference | Type reference (TYPE) | FCOM_HDB_STRING | Select Statement | 20111026 | |||
| 2 | IT_SELECTED_FIELDS | Call by reference | Type reference (TYPE) | FCOM_HDB_T_CFBSF01 | CFBSF01 | 20111025 | |||
| 3 | IT_SELECTION_TABLE | Call by reference | Type reference (TYPE) | FCOM_HDB_T_CEDST | CEDST | 20111025 |
Method GET_SELECT_STATEMENT on class CL_FCOM_HDB_SELECT has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 606 |