SAP ABAP Class CL_CNV_MBT_TECH_DEST (Technical Destination)
Hierarchy
DMIS (Software Component) DMIS 2011_1
   CA-EUR (Application Component) European Monetary Union: Euro
     CNV_MBT_PCL_CL (Package) PCL Class Layer
Properties
Class CL_CNV_MBT_TECH_DEST  
Short Description Technical Destination    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CNV_MBT_PCL_CL   PCL Class Layer 
Created 20110217   SAP 
Last change 20141030    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_CNV_MBT_TECH_DEST has no forward declaration.
Interfaces
Class CL_CNV_MBT_TECH_DEST has no interface implemented.
Friends
Class CL_CNV_MBT_TECH_DEST has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CONNECTION_OK Instance attribute Private Type reference (TYPE) CHAR1 'N' Possible values Y = yes; N = No 20110217
2 C_NO Constant Public Type reference (TYPE) CHAR1 ' ' Not OK 20110217
3 C_YES Constant Public Type reference (TYPE) CHAR1 'X' OK 20110217
4 DESTINATION_ID Instance attribute Private Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20110217
5 PREFIX Constant Private Type reference (TYPE) CHAR4 'MBT_' Prefix of DMIS destination id 20110519
6 RFCDES Instance attribute Private Type reference (TYPE) RFCDES Destination table for Remote Function Call 20110217
7 RFCDISPLAY Instance attribute Private Type reference (TYPE) RFCDISPLAY Display structure for RFCDES maintenance 20110217
8 RFCDISPLAZ Instance attribute Private Type reference (TYPE) RFCDISPLAZ Supplement for RFCDISPLAY structure (for docu) 20110401
9 SUFFIX Constant Private Type reference (TYPE) CHAR4 '_MBT'. Suffix of DMIS destination id 20110519
10 S_DESTSTATE Instance attribute Public Type reference (TYPE) CNVMBTDESTSTATE Connection state of a RFC Destination 20130307
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_AUTHORIZATION Instance method Public Method Check the authorizations 20110217
2 CHECK_CONNECTION Instance method Public Method Check the connection 20110217
3 CHECK_EXISTENCE Static method Public Method Check existence of a rfc destination 20110318
4 CHECK_NONE Static method Public Method Checking destination NONE 20130822
5 COMPARE_RFCDES Static method Public Method Compare two destinations 20110520
6 CONSTRUCTOR Instance method Public Constructor 20110217
7 CREATE_DESTINATION Static method Public Method Creates a destination (change is also possible) 20110225
8 CREATE_OBJECT Static method Public Method Returns an instance of this class 20110225
9 GET_CONNECTION_STATUS Instance method Public Method Get connection status of this destination 20110323
10 GET_DESTINATION Static method Public Method 20110217
11 GET_DESTINATION_DETAILS Instance method Public Method Get destination data in structure rfcdisplay 20110317
12 GET_DESTINATION_ID Static method Public Method Get a destination id that is in our namespace 20110519
13 GET_HOST_FROM_IP Static method Public Method Determine host name from IP number 20110225
14 GET_IP_FROM_HOST Static method Public Method Determine IP number from host name 20110225
15 GET_RFCDES Instance method Public Method Get rfcdes 20110318
16 GET_RFCDISPLAY Instance method Public Method Get rfc destination in structure rfcdisplay 20110405
17 GET_RFCDISPLAZ Instance method Public Method Get rfc destination info in structure rfcdisplaz 20110405
18 GET_USER_OF_RFCDES Static method Public Method Returns the RFC user of a destination 20110601
19 LOCK_DESTINATION Instance method Public Method Lock a RFC Destination 20110331
20 PREPARE_RFCDES_FOR_UNICODE Static method Public Method Set in RFC options unicode flag or remote it (not on DB) 20110520
21 SET_CORRECT_UNICODE_FLAG Static method Public Method Set the correct unicode flag 20110520
22 SET_DEST_STATE Instance method Public Method Set RFC destination state for a destination 20130314
23 UNLOCK_DESTINATION Instance method Public Method Unlock a RFC Destination 20110331
Events
Class CL_CNV_MBT_TECH_DEST has no event.
Types
Class CL_CNV_MBT_TECH_DEST has no local type.
Method Signatures

Method CHECK_AUTHORIZATION Signature

Method CHECK_AUTHORIZATION on class CL_CNV_MBT_TECH_DEST has no parameter.
Method CHECK_AUTHORIZATION on class CL_CNV_MBT_TECH_DEST has no exception.

Method CHECK_CONNECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CHECK_LOCK Value transfer Type reference (TYPE) CNV_MBT_FLAG Flag (X = yes, initial = no) 20110712
2 Exporting CONNECTION_OK Value transfer Type reference (TYPE) CHAR1 Single-Character Flag 20110217
# Exception Resumable Description Created on
1 CONNECTION_FAILED No connection possible 20110217
2 NAME_OR_PASSWORD_INCORRECT User name or password are not correct 20110217
3 UNKNOWN_ERROR Unknown error 20110217

Method CHECK_EXISTENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EP_EXIST Value transfer Type reference (TYPE) CNV_MBT_FLAG Flag (X = yes, initial = no) 20110318
2 Importing IP_DESTINATION_ID Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20110318
# Exception Resumable Description Created on
1 AUTHORITY_NOT_AVAILABLE User hasn´t got the right authorizations to read rfc dest. 20110318
2 READ_DESTINATION_FAILED There was an error when reading the rfc destination 20110318

Method CHECK_NONE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_EXIST Value transfer Type reference (TYPE) CNV_MBT_FLAG X = exit; ' ' = no exist 20130822
2 Exporting EXP_RFC_TYPE Value transfer Type reference (TYPE) RFCTYPE_D Type of entry in RFCDES 20130822
3 Exporting EXS_RFCDISPLAY Value transfer Type reference (TYPE) RFCDISPLAY 20130822

Method CHECK_NONE on class CL_CNV_MBT_TECH_DEST has no exception.

Method COMPARE_RFCDES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing B_IS_LOCAL Call by reference Type reference (TYPE) CNV_MBT_FLAG Destination RFCDES_B is local Destination 20130118
2 Exporting EPT_MSG Call by reference Type reference (TYPE) CNV_MBT_TMSMSGS TMS Internal: Message Table for Collection 20110520
3 Importing RFCDES_A Call by reference Type reference (TYPE) RFCDES 20110520
4 Importing RFCDES_B Call by reference Type reference (TYPE) RFCDES 20110520

Method COMPARE_RFCDES on class CL_CNV_MBT_TECH_DEST has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CHECK_LOCK Value transfer Type reference (TYPE) CNV_MBT_FLAG Flag (X = yes, initial = no) 20110712
2 Importing DESTINATION_ID Value transfer Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20110217
3 Importing NO_CONNECTION_CHECK Value transfer Type reference (TYPE) CNV_MBT_FLAG X = no connection check 20130123
# Exception Resumable Description Created on
1 DESTINATION_NOT_EXIST Destination does not exist 20110323
2 GET_DESTINATION_FAILED Reading the destinaton failed 20110322

Method CREATE_DESTINATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_ACTION Value transfer Type reference (TYPE) RFCDISPLAY-RFCTRACE Create (I) or modify (M) 20110322
2 Importing KEEP_PASSWORD Value transfer Type reference (TYPE) CHAR1 Single-Character Flag 20110225
3 Importing RFCCHECK Value transfer Type reference (TYPE) RFCCHECK Table for asynchronous RFC administration 20110225
4 Importing RFCDISPLAY Value transfer Type reference (TYPE) RFCDISPLAY 20110225
5 Importing RFCDISPLAZ Value transfer Type reference (TYPE) RFCDISPLAZ Supplement for RFCDISPLAY structure (for docu) 20110225
6 Importing RFCDOC Value transfer Type reference (TYPE) RFCDOC Description of Possible RFC Connections (->RFCDES) 20110225
7 Importing RFCOPT Value transfer Type reference (TYPE) RFCOPT RFC options 20110225
8 Importing RFCRAW02 Value transfer Type reference (TYPE) RFCRAW02 2 Bytes used in RFC Fields 20110225
9 Importing RFCRAW04 Value transfer Type reference (TYPE) RFCRAW04 4 Bytes used in RFC Fields 20110225
10 Importing RFCSNCPARA Value transfer Type reference (TYPE) RFCSNCPARA Transfer Structure for SNC Extension of RFC Destinations 20110225
11 Exporting TECH_DEST_OBJECT Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_TECH_DEST Technical Destination 20110225
# Exception Resumable Description Created on
1 AUTHORITY_NOT_AVAILABLE 20110225
2 DESTINATION_ALREADY_EXIST 20110225
3 DESTINATION_ENQUEUE_REJECT 20110225
4 DESTINATION_IS_LOCKED 20110225
5 DESTINATION_NOT_EXIST 20110225
6 INFORMATION_FAILURE 20110225
7 INTERNAL_FAILURE 20110225
8 SNC_INFORMATION_FAILURE 20110225
9 SNC_INTERNAL_FAILURE 20110225
10 TRFC_ENTRY_INVALID 20110225
11 UNKNOWN_ERROR 20110225

Method CREATE_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CHECK_LOCK Value transfer Type reference (TYPE) CNV_MBT_FLAG Flag (X = yes, initial = no) 20110712
2 Importing DESTINATION_ID Value transfer Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20110225
3 Importing NO_CONNECTION_CHECK Value transfer Type reference (TYPE) CNV_MBT_FLAG Flag (X = yes, initial = no) 20130123
4 Exporting TECH_DEST_OBJECT Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_TECH_DEST Technical Destination 20110225
# Exception Resumable Description Created on
1 DESTINATION_NOT_EXIST Destination does not exist 20110323

Method GET_CONNECTION_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EP_CONNECTION_OK Value transfer Type reference (TYPE) CNV_MBT_FLAG Flag (X = yes, initial = no) 20110323

Method GET_CONNECTION_STATUS on class CL_CNV_MBT_TECH_DEST has no exception.

Method GET_DESTINATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DESTINATION_ID Value transfer Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20110217
2 Exporting RFCCHECK Call by reference Type reference (TYPE) RFCCHECK Table for asynchronous RFC administration 20110321
3 Exporting RFCDISPLAY Value transfer Type reference (TYPE) RFCDISPLAY 20110217
4 Exporting RFCDISPLAZ Call by reference Type reference (TYPE) RFCDISPLAZ Supplement for RFCDISPLAY structure (for docu) 20110321
5 Exporting RFCDOC Call by reference Type reference (TYPE) RFCDOC Description of Possible RFC Connections (->RFCDES) 20110321
6 Exporting RFCOPT Call by reference Type reference (TYPE) RFCOPT RFC options 20110321
# Exception Resumable Description Created on
1 AUTHORITY_NOT_AVAILABLE No authority for getting the rfc destination data 20110228
2 DESTINATION_NOT_EXIST Destination does not exist 20110321
3 DESTINATION_READ_FAILED Destination couldn´t be read 20110321
4 FORMAT_ERROR Format for calling rfc display doesn´t match 20110228
5 UNKNOWN_ERROR Unknown error 20110228

Method GET_DESTINATION_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EP_RFCDISPLAY Value transfer Type reference (TYPE) RFCDISPLAY 20110317

Method GET_DESTINATION_DETAILS on class CL_CNV_MBT_TECH_DEST has no exception.

Method GET_DESTINATION_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DESTINATION_ID Value transfer Type reference (TYPE) RFCDEST Destination ID name 20110519
2 Exporting EXIST Call by reference Type reference (TYPE) CNV_MBT_FLAG Flag (X = yes, initial = no) 20110519
3 Importing RFC_CLIENT Call by reference Type reference (TYPE) CHAR3 3-Byte field 20110519
4 Importing RFC_LANG Call by reference Type reference (TYPE) RFCLANG Explicit language 20111207
5 Importing RFC_USER Call by reference Type reference (TYPE) XUBNAME User name 20110519
6 Importing SYSTEM_ID Call by reference Type reference (TYPE) RFCSYSID System ID 20110519
7 Importing SYSTEM_NO Call by reference Type reference (TYPE) RFCSERVICE Service used (TCP service, SAP System number) 20110519
# Exception Resumable Description Created on
1 GET_DESTINATION_FAILED Error while reading the destination id 20110519

Method GET_HOST_FROM_IP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting HOST Call by reference Type reference (TYPE) RFCDISPLAY-RFCHOST Name of target host 20110225
2 Importing IP Call by reference Type reference (TYPE) RFCDISPLAY-RFCHOST Name of target host 20110225
# Exception Resumable Description Created on
1 HOST_FROM_IP_FAILED Could not determine hostname from ip number 20110225

Method GET_IP_FROM_HOST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing HOST Value transfer Type reference (TYPE) RFCDISPLAY-RFCHOST Name of target host 20110225
2 Exporting IP Value transfer Type reference (TYPE) RFCDISPLAY-RFCHOST Name of target host 20110225
# Exception Resumable Description Created on
1 IP_FROM_HOST_FAILED Could not determine IP number from host name 20110225

Method GET_RFCDES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EX_RFCDES Value transfer Type reference (TYPE) RFCDES 20110318

Method GET_RFCDES on class CL_CNV_MBT_TECH_DEST has no exception.

Method GET_RFCDISPLAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RFCDISPLAY Value transfer Type reference (TYPE) RFCDISPLAY 20110405

Method GET_RFCDISPLAY on class CL_CNV_MBT_TECH_DEST has no exception.

Method GET_RFCDISPLAZ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RFCDISPLAZ Value transfer Type reference (TYPE) RFCDISPLAZ 20110405

Method GET_RFCDISPLAZ on class CL_CNV_MBT_TECH_DEST has no exception.

Method GET_USER_OF_RFCDES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DESTINATION_ID Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20110601
2 Returning USER Value transfer Type reference (TYPE) USR02-BNAME User Name in User Master Record 20110601

Method GET_USER_OF_RFCDES on class CL_CNV_MBT_TECH_DEST has no exception.

Method LOCK_DESTINATION Signature

Method LOCK_DESTINATION on class CL_CNV_MBT_TECH_DEST has no parameter.
# Exception Resumable Description Created on
1 LOCK_FAILED Destination couldn´t be locked 20110331

Method PREPARE_RFCDES_FOR_UNICODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DESTINATION_ID Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20110520
2 Exporting RFCDES Call by reference Type reference (TYPE) RFCDES 20110520
3 Importing SETTING_WRONG Value transfer Type reference (TYPE) CNV_MBT_FLAG Unicode setting has to be changed 20110520
4 Changing UNICODE Call by reference Type reference (TYPE) CNV_MBT_FLAG Flag (X = yes, initial = no) 20110520
# Exception Resumable Description Created on
1 DESTINATION_NOT_EXIST Could not find the destination Id in table rfcdes 20110520

Method SET_CORRECT_UNICODE_FLAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DESTINATION_ID Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20110520
# Exception Resumable Description Created on
1 CHECK_UNICODE_FAILED function cnv_mbt_check_unicode_flag returns with exception 20110520
2 NOT_IN_OUR_NAMESPACE Destination is not in our namespace 20110520
3 UPDATE_DESTINATION_FAILED Update destination failed 20110520

Method SET_DEST_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_CONN_STATE Call by reference Type reference (TYPE) CNV_MBT_CONN_STATE Connection state of a RFC Destination 20130314

Method SET_DEST_STATE on class CL_CNV_MBT_TECH_DEST has no exception.

Method UNLOCK_DESTINATION Signature

Method UNLOCK_DESTINATION on class CL_CNV_MBT_TECH_DEST has no parameter.
# Exception Resumable Description Created on
1 UNLOCK_FAILED Not possible to unlock Destination 20110331
History
Last changed by/on SAP  20141030 
SAP Release Created in 2010_1_620