SAP ABAP Class CL_SAIS_RFCCHK (API for Checking RFC Connections)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SEC (Application Component) Security
     SECC (Package) Basis Security (Kernel Components)
Properties
Class CL_SAIS_RFCCHK  
Short Description API for Checking RFC Connections    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SECC   Basis Security (Kernel Components) 
Created 20121007   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ICON Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_SAIS_RFCCHK has no interface implemented.
Friends
Class CL_SAIS_RFCCHK has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_CONN_TST_I Constant Private Type reference (TYPE) LVC_FNAME 'RFC_CONN_TST_I' ALV Control: Field Name of Internal Table Field 20121007
2 GC_CONN_TST_T Constant Private Type reference (TYPE) LVC_FNAME 'RFC_CONN_TST_T' ALV Control: Field Name of Internal Table Field 20121007
3 GC_ICON_FAIL Constant Public Type reference (TYPE) SALV_DE_TREE_IMAGE ICON_FAILURE Image for Tree Hierarchy 20121008
4 GC_ICON_OK Constant Public Type reference (TYPE) SALV_DE_TREE_IMAGE ICON_CHECKED Image for Tree Hierarchy 20121008
5 GC_ICON_UNDONE Constant Public Type reference (TYPE) SALV_DE_TREE_IMAGE ICON_HINT Image for Tree Hierarchy 20121008
6 GC_RFC_US_EMPTY Constant Private Type reference (TYPE) RFCUSER '%_LOG01%' Logical information 20121007
7 GD_CNT_FAILED Instance attribute Private Type reference (TYPE) SY-TABIX Number of failed connection tests 20121007
8 GD_CNT_LINES Instance attribute Private Type reference (TYPE) SY-TABIX Number of result rows 20121007
9 GD_CNT_NO_AUTH Instance attribute Private Type reference (TYPE) SY-TABIX Number of deselected destinations due to missing auths 20121007
10 GD_CONN_TST Instance attribute Private Type reference (TYPE) BOOLE_D Connection test active = X 20121007
11 GD_ERR Instance attribute Private Type reference (TYPE) SY-SUBRC Highest error code 20121007
12 GD_MAXTIM Instance attribute Private Type reference (TYPE) SY-TABIX Maximum runtime for connection test 20121007
13 GD_REPID Static Attribute Private Type reference (TYPE) SY-REPID 20121011
14 GD_WO_PASSW Instance attribute Private Type reference (TYPE) BOOLE_D Also evaluate destinations without passwords 20121007
15 GR_ALV Instance attribute Private Object reference (TYPE REF TO) CL_SALV_TABLE Base class for tables 20121007
16 GT_LIST Instance attribute Private Type reference (TYPE) TT_LIST Results List 20121007
17 GT_LOG Instance attribute Private Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20121007
18 GT_R_EXCL Instance attribute Private Type reference (TYPE) TT_R_RFCDEST Exclusion table for connection test 20121007
19 GT_R_RFC Instance attribute Private Type reference (TYPE) TT_R_RFCDEST Range table for RFCDEST 20121007
20 GT_R_TYPE Instance attribute Private Type reference (TYPE) TT_R_RFCTYP Range table for RFCTYPE 20121007
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_RFC_DESTINATIONS Instance method Public Method Check RFC destinations in accordance with selection 20121009
2 CONSTRUCTOR Instance method Public Constructor Initialize connection analysis 20121007
3 DOUBLE_CLICK Instance method Private Event handling method Event handling for double-click 20121007
4 GET_DETAILS_FOR_ONE_DEST Instance method Private Method Transfer RFCDES content in the output format 20121007
5 GET_RESULT_LIST Instance method Public Method Returns list of analyzed RFC connections 20121009
6 GET_TEXT_AND_HISTORY Instance method Private Method Load additional information about list 20121007
7 LOG_COLLECT_MSG Instance method Public Method Copy a message to the application log 20121007
8 LOG_GET_CONTENT Instance method Public Method Export contents of the application log 20121007
9 LOG_SHOW_CONTENT Instance method Public Method Display contents of the application log 20121007
10 PROGRESS_INDICATOR Static method Public Method General progress information 20121007
11 RUN_CONNECTION_TEST_AUTH_CHK Instance method Private Method Authorization check for connection test 20121007
12 RUN_CONNECTION_TEST_HTTP Instance method Private Method Connection test (HTTP-based RFC connections) 20121008
13 RUN_CONNECTION_TEST_HTTP_IF_WS Instance method Private Method Check if destination is Web service 20121008
14 RUN_CONNECTION_TEST_RFCP Instance method Private Method Connection test (classic RFC connections) 20121008
15 SALV_SHOW_RESULT Instance method Public Method Display the result set as an ALV list 20121007
16 SALV_SHOW_RESULT_SET_COLUMNS Instance method Private Method Set column attributes 20121007
17 SALV_SHOW_RESULT_SET_HEADER Instance method Private Method Generate list headers 20121007
18 SALV_SHOW_RESULT_SET_STATUS Instance method Private Method Set screen status and functions 20121007
19 SHOW_DOKU_POPUP Static method Public Method Display predefined documentation module 20121008
Events
Class CL_SAIS_RFCCHK has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_LIST Public See coding Structure of a result row 20121007 BEGIN OF ts_list, rfctype TYPE rfctype_d, rfctytext TYPE rfctytext, rfcdest TYPE rfcdest, rfcdoc1 TYPE rfcdoc_d, muname TYPE modusrname, mudate TYPE rdir_udate, mutime TYPE syuzeit, muclient TYPE symandt, cuname TYPE creusrname, cudate TYPE rdir_cdate, cutime TYPE syuzeit, cuclient TYPE symandt, rfchost TYPE rfchost, rfcservice TYPE rfcservice, rfcclient TYPE rfcclient, rfcsameusr TYPE rfcsameusr, "1274857 rfcuser TYPE rfcalias, " rfcuser, rfclang TYPE rfclang, rfcauth TYPE rfcauth, rfclogon TYPE rfclogon, "1274857 rfctsysopt TYPE rfctsysopt, "1274857 rfcsnc TYPE rfcsnc, "1274857 authority TYPE destauth, rfc_conn_tst_i TYPE icon_text, rfc_conn_tst_t TYPE c LENGTH 60, END OF ts_list
2 TT_LIST Public See coding Definition of a result row 20121007 TT_LIST type STANDARD TABLE OF ts_list
3 TT_R_RFCDEST Public See coding Range table for RFCDEST 20121007 TT_R_RFCDEST TYPE range of rfcdes-rfcdest
4 TT_R_RFCTYP Public See coding Range table for RFCTYPE 20121007 TT_R_RFCTYP TYPE range of rfcdes-rfctype
Method Signatures

Method CHECK_RFC_DESTINATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ED_CNT Value transfer Type reference (TYPE) SY-TABIX Anzahl geprüfter Verbindungen 20121009
2 Importing ID_CONN_TEST Call by reference Type reference (TYPE) BOOLE_D X = Verbindungstest durchführen 20121009
3 Importing ID_MAXTIM Call by reference Type reference (TYPE) SY-TABIX Maximale Zeit für alle Verbindungstest in Sekunden 20121009
4 Importing ID_WO_PASSW Call by reference Type reference (TYPE) BOOLE_D X = Auch Destinationen ohne explizites Kennnwort ermitteln 20121009
5 Importing IT_R_EXCL Call by reference Type reference (TYPE) TT_R_RFCDEST Rangetabelle für nicht zu testende RFC-Destinationen 20121009
6 Importing IT_R_RFCDEST Call by reference Type reference (TYPE) TT_R_RFCDEST Selektionsoption: Namen gesuchter RFC-Verbindungen 20121009
7 Importing IT_R_RFCTYP Call by reference Type reference (TYPE) TT_R_RFCTYP Selektionsoption: Typ gesuchter RFC-Verbindungen 20121009

Method CHECK_RFC_DESTINATIONS on class CL_SAIS_RFCCHK has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_REPID Call by reference Type reference (TYPE) SY-REPID Reportname des Selektionsbildes 20121011

Method CONSTRUCTOR on class CL_SAIS_RFCCHK has no exception.

Method DOUBLE_CLICK Signature

Method DOUBLE_CLICK on class CL_SAIS_RFCCHK has no parameter.
Method DOUBLE_CLICK on class CL_SAIS_RFCCHK has no exception.

Method GET_DETAILS_FOR_ONE_DEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_LIST Call by reference Type reference (TYPE) TS_LIST Struktur einer Ergebniszeile 20121007
2 Importing ID_WO_PASSW Call by reference Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20121007
3 Importing IS_RFCDES Call by reference Type reference (TYPE) RFCDES Destination-Tabelle fuer Remote Function Call 20121007

Method GET_DETAILS_FOR_ONE_DEST on class CL_SAIS_RFCCHK has no exception.

Method GET_RESULT_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LIST Call by reference Type reference (TYPE) TT_LIST Ergebnisliste zur Analyse 20121009

Method GET_RESULT_LIST on class CL_SAIS_RFCCHK has no exception.

Method GET_TEXT_AND_HISTORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_LIST Call by reference Type reference (TYPE) TT_LIST Definition der Ergebnisliste 20121007

Method GET_TEXT_AND_HISTORY on class CL_SAIS_RFCCHK has no exception.

Method LOG_COLLECT_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_CL Call by reference Type reference (TYPE) SYMSGID Nachrichtenklasse 20121007
2 Importing ID_NUM Call by reference Type reference (TYPE) SYMSGNO Nachrichtennummer 20121007
3 Importing ID_PAR1 Call by reference Type reference (TYPE) SY-MSGV1 Nachrichtenvariable 1 20121007
4 Importing ID_PAR2 Call by reference Type reference (TYPE) SY-MSGV2 Nachrichtenvariable 2 20121007
5 Importing ID_PAR3 Call by reference Type reference (TYPE) SY-MSGV3 Nachrichtenvariable 3 20121007
6 Importing ID_PAR4 Call by reference Type reference (TYPE) SY-MSGV4 Nachrichtenvariable 4 20121007
7 Importing ID_TYPE Call by reference Type reference (TYPE) BAPIRETURN-TYPE Meldungstyp: S Success, E Error, W Warning, I Info, A Abort 20121007

Method LOG_COLLECT_MSG on class CL_SAIS_RFCCHK has no exception.

Method LOG_GET_CONTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_LOG Value transfer Type reference (TYPE) BAPIRETTAB Appl.-Log zm Objekt 20121007

Method LOG_GET_CONTENT on class CL_SAIS_RFCCHK has no exception.

Method LOG_SHOW_CONTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ED_RET Value transfer Type reference (TYPE) CHAR01 Charakterfeld der Länge 1 20121007

Method LOG_SHOW_CONTENT on class CL_SAIS_RFCCHK has no exception.

Method PROGRESS_INDICATOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_MODE Call by reference Type reference (TYPE) SY-UCOMM Schlüsselname der Aktivität 20121007
2 Importing ID_SUCCESS Call by reference Type reference (TYPE) SY-TABIX Fortschrittsinfo 20121007
3 Importing ID_VAR Call by reference Type reference (TYPE) ANY ggf. auszugebende Detailinfo 20121007

Method PROGRESS_INDICATOR on class CL_SAIS_RFCCHK has no exception.

Method RUN_CONNECTION_TEST_AUTH_CHK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ED_PASSED Value transfer Type reference (TYPE) BOOLE_D Berechtigungsprüfung erfolgreich = X 20121007
2 Importing IS_DEST Call by reference Type reference (TYPE) TS_LIST Struktur einer Ergebniszeile 20121007

Method RUN_CONNECTION_TEST_AUTH_CHK on class CL_SAIS_RFCCHK has no exception.

Method RUN_CONNECTION_TEST_HTTP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_LIST Call by reference Type reference (TYPE) TS_LIST Struktur einer Ergebniszeile 20121008

Method RUN_CONNECTION_TEST_HTTP on class CL_SAIS_RFCCHK has no exception.

Method RUN_CONNECTION_TEST_HTTP_IF_WS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ED_WS_DEST Value transfer Type reference (TYPE) BOOLE_D X - Wenn Webservice Destination 20121008
2 Importing ID_RFCDEST Call by reference Type reference (TYPE) RFCDEST logische Destination (Wird bei Funktionsaufruf angegeben) 20121008

Method RUN_CONNECTION_TEST_HTTP_IF_WS on class CL_SAIS_RFCCHK has no exception.

Method RUN_CONNECTION_TEST_RFCP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_LIST Call by reference Type reference (TYPE) TS_LIST Struktur einer Ergebniszeile 20121008

Method RUN_CONNECTION_TEST_RFCP on class CL_SAIS_RFCCHK has no exception.

Method SALV_SHOW_RESULT Signature

Method SALV_SHOW_RESULT on class CL_SAIS_RFCCHK has no parameter.
Method SALV_SHOW_RESULT on class CL_SAIS_RFCCHK has no exception.

Method SALV_SHOW_RESULT_SET_COLUMNS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ALV Call by reference Object reference (TYPE REF TO) CL_SALV_TABLE Basisklasse für einfache Tabellen 20121007

Method SALV_SHOW_RESULT_SET_COLUMNS on class CL_SAIS_RFCCHK has no exception.

Method SALV_SHOW_RESULT_SET_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ALV Call by reference Object reference (TYPE REF TO) CL_SALV_TABLE Basisklasse für Tabellen 20121007

Method SALV_SHOW_RESULT_SET_HEADER on class CL_SAIS_RFCCHK has no exception.

Method SALV_SHOW_RESULT_SET_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ALV Call by reference Object reference (TYPE REF TO) CL_SALV_TABLE Basisklasse für einfache Tabellen 20121007

Method SALV_SHOW_RESULT_SET_STATUS on class CL_SAIS_RFCCHK has no exception.

Method SHOW_DOKU_POPUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_NAME Call by reference Type reference (TYPE) DOKHL-OBJECT Dokumentations-Objekt 20121008

Method SHOW_DOKU_POPUP on class CL_SAIS_RFCCHK has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 740