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 CE_NHI_ACTIVATION_MODE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 CL_NHI_OBJECT_ID_AND_CAPTION Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_NHI_OBJECT_TYPE_DESCRIPTION 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 CP_SYS_BIC Constant Private Type reference (TYPE) STRING '_SYS_BIC' 20130517
2 CP_S_ERROR_CODES Constant Private See coding 20130218
3 N_PACKAGE Instance attribute Public Type reference (TYPE) STRING 20130620
4 PC_TENANT Constant Private Type reference (TYPE) STRING '' 20130218
5 PC_WORKSPACE Constant Private Type reference (TYPE) STRING '' 20130218
6 P_R_INACTIVE_SESSION Instance attribute Private Object reference (TYPE REF TO) CL_NHI_INACTIVE_SESSION 20130218
7 S_OWNER Static Attribute Private Type reference (TYPE) STRING 20130218
8 S_PACKAGE Static Attribute Private Type reference (TYPE) STRING 20130218
9 S_R_NHI_OBJECT Static Attribute Private Object reference (TYPE REF TO) IF_NHI_OBJECT 20130225
10 S_R_NHI_PACKAGE Static Attribute Private Object reference (TYPE REF TO) IF_NHI_PACKAGE 20130225
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_NHI_OBJ_EXIST Instance method Public Method Check if Repository Object exists 20130218
2 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20130218
3 CONSTRUCTOR Instance method Public Constructor 20130618
4 DELETE_NHI_OBJ Instance method Public Method Delete Repository Object 20130218
5 DELETE_PACKAGE Instance method Public Method Delete HANA content package 20130225
6 DEPLOY_NHI_OBJ Instance method Public Method Write and activate Repository Object 20130218
7 GET_NHI_OBJ_ID Instance method Public Method get ID Object required by other methods 20130218
8 GET_PACKAGE_TYPES Instance method Public Method Returns a list of object types of the package 20130225
9 GET_REPOSITORY_INFO Instance method Public Method get Object XML, dependencies 20130521
10 __ACTIVATE Instance method Private Method 20130517
11 __CHECK_NHI_RESPONSE Static method Private Method Check if NHI Reponse is error message 20130226
12 __CHECK_PACKAGE Instance method Private Method Check if target package exists; if not create it 20130218
13 __GET_INACTIVE_SESSION Instance method Private Method 20130218
14 __GET_XREFS Instance method Private Method 20130517
15 __IS_ERROR_CODE_EXCEPTION Static method Private Method 20130218
16 __NHI_CHECK_RESULT_2_RS_MSG Static method Private Method Transform Check Result to RS Message 20130218
17 __NHI_ERROR_2_ANV_ERROR 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 Importing I_R_NHI_OBJ_ID Call by reference Object reference (TYPE REF TO) CL_NHI_OBJECT_ID 20130218
2 Returning R_EXISTS Value transfer Type reference (TYPE) RS_BOOL 20130218
# Exception Resumable Description Created on
1 CX_RS2HANA_VIEW_NHI 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 Importing I_NAMESPACE Call by reference Type reference (TYPE) STRING 20130630
2 Importing 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 Exporting E_TS_AFFECTED_XREFS Call by reference Type reference (TYPE) NT_TS_XREFS 20130517
2 Importing I_R_NHI_OBJ_ID Call by reference Object reference (TYPE REF TO) CL_NHI_OBJECT_ID 20130218
# Exception Resumable Description Created on
1 CX_RS2HANA_VIEW_NHI 20130218

Method DELETE_PACKAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PACKAGE Call by reference Type reference (TYPE) RS2HANA_VIEW_PACKAGE HANA Content Package for HANA Views 20130225
# Exception Resumable Description Created on
1 CX_RS2HANA_VIEW_NHI HANA Repository Exception 20130226

Method DEPLOY_NHI_OBJ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_AFFECTED_XREFS Call by reference Type reference (TYPE) NT_TS_XREFS 20130517
2 Exporting E_T_MSG Call by reference Type reference (TYPE) RS2HANA_VIEW_T_MSG 20130620
3 Exporting E_T_RSMSG Call by reference Type reference (TYPE) RS_T_MSG 20130218
4 Importing I_ACTIVATION_MODE Call by reference Object reference (TYPE REF TO) CE_NHI_ACTIVATION_MODE CE_NHI_ACTIVATION_MODE=>ACTIVATION_PESSIMISTIC 20130218
5 Importing I_DETLEVEL Call by reference Type reference (TYPE) BALLEVEL 20130620
6 Importing I_R_NHI_OBJ_ID Call by reference Object reference (TYPE REF TO) CL_NHI_OBJECT_ID 20130218
7 Importing I_XML_STRING Call by reference Type reference (TYPE) STRING 20130218
# Exception Resumable Description Created on
1 CX_RS2HANA_VIEW_NHI 20130218

Method GET_NHI_OBJ_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTIVE_VERSION Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE 20130325
2 Importing I_ID Call by reference Type reference (TYPE) STRING 20130218
3 Importing I_R_TYPE Call by reference Object reference (TYPE REF TO) CE_NHI_OBJECT_TYPE 20130218
4 Returning 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 Returning R_T_OBJECT_TYPE_LIST Value transfer Type reference (TYPE) CL_NHI_OBJECT_TYPE_DESCRIPTION=>TY_OBJECTTYPES 20130225
# Exception Resumable Description Created on
1 CX_RS2HANA_VIEW_NHI HANA Repository Exception 20130225

Method GET_REPOSITORY_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_INCOMING Call by reference Type reference (TYPE) NT_TS_XREFS 20130521
2 Exporting E_TS_OUTGOING Call by reference Type reference (TYPE) NT_TS_XREFS 20130521
3 Exporting E_XML_STRING Call by reference Type reference (TYPE) STRING 20130521
4 Importing I_R_NHI_OBJ_ID Call by reference Object reference (TYPE REF TO) CL_NHI_OBJECT_ID 20130521
# Exception Resumable Description Created on
1 CX_RS2HANA_VIEW_NHI 20130521

Method __ACTIVATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_AFFECTED_XREFS Call by reference Type reference (TYPE) NT_TS_XREFS 20130517
2 Exporting E_T_MSG Call by reference Type reference (TYPE) RS2HANA_VIEW_T_MSG 20130620
3 Exporting E_T_RSMSG Call by reference Type reference (TYPE) RS_T_MSG 20130517
4 Importing I_DETLEVEL Call by reference Type reference (TYPE) BALLEVEL 20130620
5 Importing I_FORCE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20130517
6 Importing I_R_METADATA Call by reference Object reference (TYPE REF TO) CL_NHI_METADATA 20130517
7 Importing I_R_NHI_OBJ_ID Call by reference Object reference (TYPE REF TO) CL_NHI_OBJECT_ID 20130517
8 Importing I_TS_XREFS Call by reference Type reference (TYPE) NT_TS_XREFS 20130517
# Exception Resumable Description Created on
1 CX_NHI_HANA_REPOSITORY 20130517
2 CX_RS2HANA_VIEW_NHI 20130517

Method __CHECK_NHI_RESPONSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 CX_RS2HANA_VIEW_NHI 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 CX_RS2HANA_VIEW_NHI HANA Repository Exception 20130226

Method __GET_INACTIVE_SESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning 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 Exporting E_TS_XREFS Call by reference Type reference (TYPE) NT_TS_XREFS 20130517
2 Importing 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 Importing I_ERROR_CODE Call by reference Type reference (TYPE) STRING 20130226
2 Returning 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 Exporting E_T_MSG Call by reference Type reference (TYPE) RS2HANA_VIEW_T_MSG 20130620
2 Exporting E_T_RSMSG Call by reference Type reference (TYPE) RS_T_MSG 20130620
3 Importing I_DETLEVEL Call by reference Type reference (TYPE) BALLEVEL 20130620
4 Importing 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 Importing I_R_NHI_ERROR Call by reference Object reference (TYPE REF TO) CL_NHI_ERROR 20130218
2 Returning 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