SAP ABAP Class CL_RS2HANA_VIEW_NHI_WRAPPER (SAP HANA Repository Wrapper)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-WHM-MTD-HMOD (Application Component) HANA Model Generation in BW
⤷
RS2HANA_VIEW (Package) SAP HANA Views for BW Objects
⤷
⤷
Properties
| Class | CL_RS2HANA_VIEW_NHI_WRAPPER | |
| Short Description | SAP HANA Repository Wrapper | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RS2HANA_VIEW | SAP HANA Views for BW Objects |
| Created | 20130218 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_RS2HANA_VIEW_NHI_WRAPPER has no interface implemented.
Friends
Class CL_RS2HANA_VIEW_NHI_WRAPPER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | STRING | '_SYS_BIC' | 20130517 | |||
| 2 | Constant | Private | See coding | 20130218 | |||||
| 3 | Instance attribute | Public | Type reference (TYPE) | STRING | 20130620 | ||||
| 4 | Constant | Private | Type reference (TYPE) | STRING | '' | 20130218 | |||
| 5 | Constant | Private | Type reference (TYPE) | STRING | '' | 20130218 | |||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_NHI_INACTIVE_SESSION | 20130218 | ||||
| 7 | Static Attribute | Private | Type reference (TYPE) | STRING | 20130218 | ||||
| 8 | Static Attribute | Private | Type reference (TYPE) | STRING | 20130218 | ||||
| 9 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_NHI_OBJECT | 20130225 | ||||
| 10 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_NHI_PACKAGE | 20130225 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Check if Repository Object exists | 20130218 | |
| 2 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20130218 | |
| 3 | Instance method | Public | Constructor | 20130618 | ||
| 4 | Instance method | Public | Method | Delete Repository Object | 20130218 | |
| 5 | Instance method | Public | Method | Delete HANA content package | 20130225 | |
| 6 | Instance method | Public | Method | Write and activate Repository Object | 20130218 | |
| 7 | Instance method | Public | Method | get ID Object required by other methods | 20130218 | |
| 8 | Instance method | Public | Method | Returns a list of object types of the package | 20130225 | |
| 9 | Instance method | Public | Method | get Object XML, dependencies | 20130521 | |
| 10 | Instance method | Private | Method | 20130517 | ||
| 11 | Static method | Private | Method | Check if NHI Reponse is error message | 20130226 | |
| 12 | Instance method | Private | Method | Check if target package exists; if not create it | 20130218 | |
| 13 | Instance method | Private | Method | 20130218 | ||
| 14 | Instance method | Private | Method | 20130517 | ||
| 15 | Static method | Private | Method | 20130218 | ||
| 16 | Static method | Private | Method | Transform Check Result to RS Message | 20130218 | |
| 17 | Static method | Private | Method | Transform CL_NHI_ERROR to CX_RS2HANA_ANV_NHI exception | 20130218 |
Events
Class CL_RS2HANA_VIEW_NHI_WRAPPER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | NT_S_XREF | Public | See coding | 20130517 | BEGIN OF nt_s_xref,
package TYPE string,
name TYPE string,
type_descr TYPE string,
END OF nt_s_xref
|
||
| 2 | NT_TS_XREFS | Public | See coding | 20130517 | nt_ts_xrefs TYPE SORTED TABLE OF nt_s_xref WITH UNIQUE KEY package name
|
Method Signatures
Method CHECK_NHI_OBJ_EXIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_NHI_OBJ_ID | Call by reference | Object reference (TYPE REF TO) | CL_NHI_OBJECT_ID | 20130218 | ||||
| 2 | R_EXISTS | Value transfer | Type reference (TYPE) | RS_BOOL | 20130218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130218 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_RS2HANA_VIEW_NHI_WRAPPER has no parameter.
Method CLASS_CONSTRUCTOR on class CL_RS2HANA_VIEW_NHI_WRAPPER has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NAMESPACE | Call by reference | Type reference (TYPE) | STRING | 20130630 | ||||
| 2 | I_PACKAGE | Call by reference | Type reference (TYPE) | RS2HANA_VIEW_PACKAGE | 20130618 |
Method CONSTRUCTOR on class CL_RS2HANA_VIEW_NHI_WRAPPER has no exception.
Method DELETE_NHI_OBJ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TS_AFFECTED_XREFS | Call by reference | Type reference (TYPE) | NT_TS_XREFS | 20130517 | ||||
| 2 | I_R_NHI_OBJ_ID | Call by reference | Object reference (TYPE REF TO) | CL_NHI_OBJECT_ID | 20130218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130218 |
Method DELETE_PACKAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PACKAGE | Call by reference | Type reference (TYPE) | RS2HANA_VIEW_PACKAGE | HANA Content Package for HANA Views | 20130225 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | HANA Repository Exception | 20130226 |
Method DEPLOY_NHI_OBJ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TS_AFFECTED_XREFS | Call by reference | Type reference (TYPE) | NT_TS_XREFS | 20130517 | ||||
| 2 | E_T_MSG | Call by reference | Type reference (TYPE) | RS2HANA_VIEW_T_MSG | 20130620 | ||||
| 3 | E_T_RSMSG | Call by reference | Type reference (TYPE) | RS_T_MSG | 20130218 | ||||
| 4 | I_ACTIVATION_MODE | Call by reference | Object reference (TYPE REF TO) | CE_NHI_ACTIVATION_MODE | CE_NHI_ACTIVATION_MODE=>ACTIVATION_PESSIMISTIC | 20130218 | |||
| 5 | I_DETLEVEL | Call by reference | Type reference (TYPE) | BALLEVEL | 20130620 | ||||
| 6 | I_R_NHI_OBJ_ID | Call by reference | Object reference (TYPE REF TO) | CL_NHI_OBJECT_ID | 20130218 | ||||
| 7 | I_XML_STRING | Call by reference | Type reference (TYPE) | STRING | 20130218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130218 |
Method GET_NHI_OBJ_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ACTIVE_VERSION | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_TRUE | 20130325 | |||
| 2 | I_ID | Call by reference | Type reference (TYPE) | STRING | 20130218 | ||||
| 3 | I_R_TYPE | Call by reference | Object reference (TYPE REF TO) | CE_NHI_OBJECT_TYPE | 20130218 | ||||
| 4 | R_R_NHI_OBJECT_ID | Value transfer | Object reference (TYPE REF TO) | CL_NHI_OBJECT_ID | 20130218 |
Method GET_NHI_OBJ_ID on class CL_RS2HANA_VIEW_NHI_WRAPPER has no exception.
Method GET_PACKAGE_TYPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_T_OBJECT_TYPE_LIST | Value transfer | Type reference (TYPE) | CL_NHI_OBJECT_TYPE_DESCRIPTION=>TY_OBJECTTYPES | 20130225 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | HANA Repository Exception | 20130225 |
Method GET_REPOSITORY_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TS_INCOMING | Call by reference | Type reference (TYPE) | NT_TS_XREFS | 20130521 | ||||
| 2 | E_TS_OUTGOING | Call by reference | Type reference (TYPE) | NT_TS_XREFS | 20130521 | ||||
| 3 | E_XML_STRING | Call by reference | Type reference (TYPE) | STRING | 20130521 | ||||
| 4 | I_R_NHI_OBJ_ID | Call by reference | Object reference (TYPE REF TO) | CL_NHI_OBJECT_ID | 20130521 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130521 |
Method __ACTIVATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TS_AFFECTED_XREFS | Call by reference | Type reference (TYPE) | NT_TS_XREFS | 20130517 | ||||
| 2 | E_T_MSG | Call by reference | Type reference (TYPE) | RS2HANA_VIEW_T_MSG | 20130620 | ||||
| 3 | E_T_RSMSG | Call by reference | Type reference (TYPE) | RS_T_MSG | 20130517 | ||||
| 4 | I_DETLEVEL | Call by reference | Type reference (TYPE) | BALLEVEL | 20130620 | ||||
| 5 | I_FORCE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130517 | |||
| 6 | I_R_METADATA | Call by reference | Object reference (TYPE REF TO) | CL_NHI_METADATA | 20130517 | ||||
| 7 | I_R_NHI_OBJ_ID | Call by reference | Object reference (TYPE REF TO) | CL_NHI_OBJECT_ID | 20130517 | ||||
| 8 | I_TS_XREFS | Call by reference | Type reference (TYPE) | NT_TS_XREFS | 20130517 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130517 | |||
| 2 | 20130517 |
Method __CHECK_NHI_RESPONSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_NHI_ERROR | Call by reference | Object reference (TYPE REF TO) | CL_NHI_ERROR | CL_NHI_ERROR | 20130226 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | HANA Repository Exception | 20130226 |
Method __CHECK_PACKAGE Signature
Method __CHECK_PACKAGE on class CL_RS2HANA_VIEW_NHI_WRAPPER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | HANA Repository Exception | 20130226 |
Method __GET_INACTIVE_SESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_R_INACTIVE_SESSION | Value transfer | Object reference (TYPE REF TO) | CL_NHI_INACTIVE_SESSION | CL_NHI_INACTIVE_SESSION | 20130218 |
Method __GET_INACTIVE_SESSION on class CL_RS2HANA_VIEW_NHI_WRAPPER has no exception.
Method __GET_XREFS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TS_XREFS | Call by reference | Type reference (TYPE) | NT_TS_XREFS | 20130517 | ||||
| 2 | I_T_R_REFS | Call by reference | Type reference (TYPE) | CL_NHI_REFERENCE_INFO=>TY_REFERENCES | 20130517 |
Method __GET_XREFS on class CL_RS2HANA_VIEW_NHI_WRAPPER has no exception.
Method __IS_ERROR_CODE_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ERROR_CODE | Call by reference | Type reference (TYPE) | STRING | 20130226 | ||||
| 2 | R_IS_ERROR | Value transfer | Type reference (TYPE) | RS_BOOL | Boolean | 20130226 |
Method __IS_ERROR_CODE_EXCEPTION on class CL_RS2HANA_VIEW_NHI_WRAPPER has no exception.
Method __NHI_CHECK_RESULT_2_RS_MSG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_MSG | Call by reference | Type reference (TYPE) | RS2HANA_VIEW_T_MSG | 20130620 | ||||
| 2 | E_T_RSMSG | Call by reference | Type reference (TYPE) | RS_T_MSG | 20130620 | ||||
| 3 | I_DETLEVEL | Call by reference | Type reference (TYPE) | BALLEVEL | 20130620 | ||||
| 4 | I_R_NHI_CHECK_RESULT | Call by reference | Object reference (TYPE REF TO) | CL_NHI_CHECK_RESULT | 20130218 |
Method __NHI_CHECK_RESULT_2_RS_MSG on class CL_RS2HANA_VIEW_NHI_WRAPPER has no exception.
Method __NHI_ERROR_2_ANV_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_NHI_ERROR | Call by reference | Object reference (TYPE REF TO) | CL_NHI_ERROR | 20130218 | ||||
| 2 | R_R_ANV_NHI_ERROR | Value transfer | Object reference (TYPE REF TO) | CX_RS2HANA_VIEW_NHI | 20130218 |
Method __NHI_ERROR_2_ANV_ERROR on class CL_RS2HANA_VIEW_NHI_WRAPPER has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |