SAP ABAP Interface IF_HDB_SERVICE (Interface for BAdI: HDB_SERVICE)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
CA (Application Component) Cross-Application Components
⤷
HDB (Package) ERP Accelerators
⤷
⤷
Properties
| Interface | IF_HDB_SERVICE | |
| Short Description | Interface for BAdI: HDB_SERVICE |
General Data
| Package | HDB | ERP Accelerators |
| Created | 20120912 | SAP |
| Last changed | 20130531 | SAP |
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | ADBC | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_BADI_INTERFACE | Tag Interface for BAdIs | 20120926 |
Friends
Interface IF_HDB_SERVICE has no friend.
Attributes
Interface IF_HDB_SERVICE has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Use of Alternative DB Spec. for Optimized Program Paths | 20120926 | |
| 2 | Instance method | Public | Method | Execution of any DDL Instructions | 20120926 | |
| 3 | Instance method | Public | Method | Change to Tables | 20120926 | |
| 4 | Instance method | Public | Method | Creation of Tables and Views | 20120926 | |
| 5 | Instance method | Public | Method | Deletion of Tables and Views | 20120926 | |
| 6 | Instance method | Public | Method | List of all Tables and Views | 20120926 | |
| 7 | Instance method | Public | Method | Meta Information for Tables and Views | 20120926 | |
| 8 | Instance method | Public | Method | Generation of OLAP Views | 20120926 |
Events
Interface IF_HDB_SERVICE has no event.
Types
Interface IF_HDB_SERVICE has no local type.
Method Signatures
Method DBCON_GET_APPL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGE | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20120926 | |||
| 2 | E_DBCON_NAME | Call by reference | Type reference (TYPE) | DBCON_NAME | Logical name for a database connection | 20120926 | |||
| 3 | E_HDB_IS_PRIMARY_DB | Call by reference | Type reference (TYPE) | FLAG | HDB is the primary DB | 20120926 | |||
| 4 | IT_PARAMETER | Call by reference | Type reference (TYPE) | HDB_T_PARAMETERS | Check additional Restrictions and Statuus | 20120926 | |||
| 5 | IT_REQUIRED_TABLE | Call by reference | Type reference (TYPE) | HDB_T_TABLE | Required tables and views for application context | 20120926 | |||
| 6 | I_APPLICATION | Call by reference | Type reference (TYPE) | HDB_APPLICATION | Application (Default: Cross application) | 20120926 | |||
| 7 | I_CHECK_CONNECTION | Call by reference | Type reference (TYPE) | FLAG | Check connection to HDB | 20120926 | |||
| 8 | I_KEY_VALUE | Call by reference | Type reference (TYPE) | HDB_KEY_VALUE | Key Value | 20120926 | |||
| 9 | I_SUBAPPLICATION | Call by reference | Type reference (TYPE) | HDB_SUBAPPLICATION | Subapplication | 20120926 | |||
| 10 | I_UNAME | Call by reference | Type reference (TYPE) | SY-UNAME | Check whether (batch) user is excluded in cross-application | 20120926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | HDB Connection Cannot be Reached or Used | 20120926 | ||
| 2 | HDB Connection Does Not Exist | 20120926 | ||
| 3 | HDB Connection should not be used in this context (see HDBC) | 20120926 |
Method DDL_EXECUTE_FROM_TEMPLATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SCALAR_VARIABLES | Call by reference | Type reference (TYPE) | HDB_TT_SCALAR_VARIABLE | Table of Scalar Variables | 20120926 | |||
| 2 | IT_TABULAR_VARIABLES | Call by reference | Type reference (TYPE) | HDB_TT_TABULAR_VARIABLE | Table of Tabular Variables | 20120926 | |||
| 3 | I_TEMPLATE | Call by reference | Type reference (TYPE) | PROGNAME | Name of generation template | 20120926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | HDB SQL Error | 20120926 | ||
| 2 | Generation template not well-formed | 20120926 | ||
| 3 | Generation template not found | 20120926 |
Method OBJECT_ALTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_LIKE_ERP_TABLE | Call by reference | Type reference (TYPE) | TABNAME | Add / Drop columns according to ERP table | 20120926 | |||
| 2 | I_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120926 | |||
| 3 | XT_ADD_COLUMN | Call by reference | Type reference (TYPE) | HDB_T_DDFIELD | Add columns to table on HDB | 20120926 | |||
| 4 | XT_DROP_COLUMN | Call by reference | Type reference (TYPE) | HDB_T_DDFIELD | Drop columns to table on HDB | 20120926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Table definition not available or incorrect | 20120926 | ||
| 2 | HDB SQL Error | 20120926 | ||
| 3 | Table not exits on HDB | 20120926 |
Method OBJECT_CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DDFIELD | Call by reference | Type reference (TYPE) | HDB_T_DDFIELD | Definition either from DDIC or from T_DDFIELD | 20120926 | |||
| 2 | I_AS_ROW_STORE | Call by reference | Type reference (TYPE) | FLAG | Create a Row store (default Column store) | 20120926 | |||
| 3 | I_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | 'T' | (T)able or (V)iew | 20120926 | ||
| 4 | I_OTHER_TABNAME_ON_ERP | Call by reference | Type reference (TYPE) | TABNAME | Read definition from other ERP Table | 20120926 | |||
| 5 | I_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Table definition not available or incorrect | 20120926 | ||
| 2 | HDB SQL Error | 20120926 | ||
| 3 | Table already exists on HDB | 20120926 |
Method OBJECT_DROP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DROP_WITH_DATA | Call by reference | Type reference (TYPE) | FLAG | allgemeines flag | 20120926 | |||
| 2 | I_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | 'T' | (T)able or (V)iew | 20120926 | ||
| 3 | I_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20120926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | HDB SQL Error | 20120926 | ||
| 2 | Table contains data | 20120926 |
Method OBJECT_GET_ALL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TABLE | Call by reference | Type reference (TYPE) | HDB_T_TABLE | List of Tables or Views | 20120926 | |||
| 2 | IT_PRESELECTION | Call by reference | Type reference (TYPE) | ADBC_NAME_RGTAB | 20120926 | ||||
| 3 | I_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | 'T' | (T)able or (V)iew | 20120926 | ||
| 4 | I_ONLY_ERP_TABLES | Call by reference | Type reference (TYPE) | FLAG | allgemeines flag | 20120926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | HDB SQL Error | 20120926 |
Method OBJECT_GET_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ALL_INFO_TABLE | Call by reference | Type reference (TYPE) | HDB_S_TABLE_DETAIL | Table Details | 20120926 | |||
| 2 | ES_ALL_INFO_VIEW | Call by reference | Type reference (TYPE) | HDB_S_VIEW_DETAIL | View details | 20120926 | |||
| 3 | ET_FCAT_COMPARE | Call by reference | Type reference (TYPE) | HDB_T_COLUM_DESCR | Column Compare ERP HDB | 20120926 | |||
| 4 | E_COL_CREATE_TIME | Call by reference | Type reference (TYPE) | HDB_TIMESTAMP | Only for ColStore: Created time | 20120926 | |||
| 5 | E_COL_IS_LOADED | Call by reference | Type reference (TYPE) | FLAG | Only for ColStore: 'True' if some or all columns loaded into | 20120926 | |||
| 6 | E_COL_LAST_MERGE_TIME | Call by reference | Type reference (TYPE) | HDB_TIMESTAMP | Only for ColStore: Last Merge time | 20120926 | |||
| 7 | E_COL_MODIFY_TIME | Call by reference | Type reference (TYPE) | HDB_TIMESTAMP | Only for ColStore: Modified time | 20120926 | |||
| 8 | E_ERP_DDTEXT | Call by reference | Type reference (TYPE) | DDTEXT | Explanatory Short Text | 20120926 | |||
| 9 | E_ERP_EXIST | Call by reference | Type reference (TYPE) | FLAG | Exists on ERP | 20120926 | |||
| 10 | E_ERP_IDENTICAL | Call by reference | Type reference (TYPE) | FLAG | Fieldcatalog Identical on HDB and ERP | 20120926 | |||
| 11 | E_HDB_EXIST | Call by reference | Type reference (TYPE) | FLAG | Exists on HDB | 20120926 | |||
| 12 | E_IS_COLUMN_TABLE | Call by reference | Type reference (TYPE) | FLAG | Is a Column Store Table | 20120926 | |||
| 13 | E_RECORD_COUNT | Call by reference | Type reference (TYPE) | HDB_CNT | Record Count on HDB | 20120926 | |||
| 14 | E_TABLE_SIZE | Call by reference | Type reference (TYPE) | HDB_CNT | Total Table Size on HDB | 20120926 | |||
| 15 | I_FORCE_SELECT_COUNT | Call by reference | Type reference (TYPE) | FLAG | Perform a select count( * ) to get exact number of entries | 20120926 | |||
| 16 | I_LANGU | Call by reference | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20120926 | |||
| 17 | I_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | 'T' | (T)able or (V)iew | 20120926 | ||
| 18 | I_OTHER_TABNAME_ON_ERP | Call by reference | Type reference (TYPE) | TABNAME | Compare with other ERP Table | 20120926 | |||
| 19 | I_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20120926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DDIC error | 20120926 | ||
| 2 | HDB SQL Error | 20120926 |
Method OLAP_CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ATTRIBUTE | Call by reference | Type reference (TYPE) | HDB_T_OLAP_ATTRIBUTE | Attributes | 20120926 | |||
| 2 | IT_JOIN | Call by reference | Type reference (TYPE) | HDB_T_OLAP_JOIN | Joined Attribute Tables | 20120926 | |||
| 3 | IT_KEYFIGURE | Call by reference | Type reference (TYPE) | HDB_T_OLAP_KEYFIGURE | Keyfigures (Fields from Fact Table of Formular) | 20120926 | |||
| 4 | I_FACT_TABLE | Call by reference | Type reference (TYPE) | TABNAME | "Fact Table" on HDB | 20120926 | |||
| 5 | I_VIEWNAME | Call by reference | Type reference (TYPE) | TABNAME | Name of OLAP View | 20120926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Table definition not available or incorrect | 20120926 | ||
| 2 | HDB SQL Error | 20120926 | ||
| 3 | View already exists on HDB | 20120926 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |