SAP ABAP Class CL_BGRFC_HEALTH_CHECK (Implementation of bgRFC Health Checks)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-MID-RFC-BG (Application Component) Background RFC (bgRFC)
     SQRFC2 (Package) ABAP Development for bgRFC
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BGRFC_HEALTH_CHECK Interface for Health Checks 20080710
Properties
Class CL_BGRFC_HEALTH_CHECK  
Short Description Implementation of bgRFC Health Checks    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SQRFC2   ABAP Development for bgRFC 
Created 20080710   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_BGRFC_HEALTH_CHECK Interface for Health Checks 20080710
Friends
Class CL_BGRFC_HEALTH_CHECK has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CB_CNT Instance attribute Private Type reference (TYPE) I 0 20080717
2 CB_PING_DEST_TAB Instance attribute Private See coding 20080717
3 CB_TIMEOUT Instance attribute Public Type reference (TYPE) I 3 Timeout for RFC_PING 20080717
4 C_MSG_ID_BGRFC Constant Private Type reference (TYPE) SYMSGID 'BGRFC' Message Class 20080718
5 C_MSG_TY_ERR Constant Private Type reference (TYPE) SYMSGTY 'E' Message Type 20080718
6 C_MSG_TY_INF Constant Private Type reference (TYPE) SYMSGTY 'I' Message Type 20080718
7 C_MSG_TY_WAR Constant Private Type reference (TYPE) SYMSGTY 'W' Message Type 20080718
Methods
# Method Level Visibility Method type Description Created on
1 ADD_RESULT_EX Instance method Private Method Inserts a Check Result in the Results List 20080717
2 ADD_RESULT_MSG Instance method Private Method Inserts a Check Result in the Results List 20080717
3 CB_PING_DEST Instance method Public Method Callback Method for Asynchronous RFCPING Call 20080717
4 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20080729
5 CONFIG_CHECK_INBOUND Instance method Private Method Health Check for Inbound Destination Configuration 20080711
6 CONFIG_CHECK_INB_DEST_SET Instance method Private Method Health Check for Inbound Scheduler Configuration 20080711
7 CONFIG_CHECK_OUTB_DEST_SET Instance method Private Method Health Check for Outbound Scheduler Configuration 20080711
8 CONFIG_CHECK_SERVER_SET Instance method Private Method Health Check for the Server Configurations 20080711
9 CONFIG_CHECK_SUPERVISOR Instance method Private Method Health Check for Supervisor Destination 20080711
10 CONFIG_CHECK_SYSTEM Instance method Private Method Health Check for System Scheduler Configuration 20080711
11 GET_MAX_AND_AVG_TIME Instance method Private Method Calculates maximum and average time 20080715
12 GET_MAX_UNIT_SIZE Instance method Private Method Gets maximum unit size for a destination 20080722
13 RT_CHECK_CONVERSION_ERROR Instance method Private Method Runtime Check for Conversion Errors 20080715
14 RT_CHECK_DESTINATIONS Instance method Private Method Runtime check on locked or error destinations 20080715
15 RT_CHECK_ERRONEOUS_UNITS Instance method Private Method Runtime check for error units 20080715
16 RT_CHECK_NUMBER_OF_SCHEDULER Instance method Private Method Runtime Check for Number of Schedulers 20080715
17 RT_CHECK_PING_DEST Instance method Private Method Runtime check on whether destination is pingable 20080711
18 RT_CHECK_PROCESSED_UNITS Instance method Private Method Runtime Check for Processed Units Within 5 Minutes 20080711
19 RT_CHECK_PROMOTED_UNITS Instance method Private Method Runtime Check for Promoted Units Within 5 Minutes 20080711
20 RT_CHECK_RESOUCES_DMAP Instance method Private Method Mapping of Logical Destination for Resource Check 20080728
21 RT_CHECK_RESOURCES Instance method Private Method Runime Check for System Resources 20080715
22 RT_CHECK_RESOURCES_DEST Instance method Private Method Runtime Check for Resources of a Destination 20080721
23 RT_CHECK_RUNABLE_TIME Instance method Private Method Runtime check for wait time in executable state 20080715
24 RT_CHECK_SCHEDULER Instance method Private Method Runtime Check for Running Scheduler 20080715
Events
Class CL_BGRFC_HEALTH_CHECK has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 CB_PING_DEST_TYPE Private See coding 20080717 BEGIN OF cb_ping_dest_type, dest TYPE bgrfc_dest_name_outbound, task TYPE c LENGTH 8, mess TYPE c LENGTH 80, status TYPE c LENGTH 1, END OF cb_ping_dest_type
2 M_DESTMAP_ENTRY Private See coding 20080728 BEGIN OF m_destmap_entry, dest TYPE bgrfc_dest_name_outbound, mappedto TYPE bgrfc_dest_name_outbound, END OF m_destmap_entry
3 M_DESTMAP_TAB Private See coding 20080728 m_destmap_tab TYPE STANDARD TABLE OF m_destmap_entry
4 M_RESOURCE_WAIT_TAB Private See coding 20080722 m_resource_wait_tab TYPE STANDARD TABLE OF m_resource_wait_type
5 M_RESOURCE_WAIT_TYPE Private See coding 20080722 BEGIN OF m_resource_wait_type, dest_name TYPE bgrfc_dest_name_outbound, dest_resource TYPE REF TO if_bgrfc_destination_resources, resource TYPE bgrfc_destination_resource, END OF m_resource_wait_type
6 M_RUNNABLE_UNIT_TAB Private See coding 20080722 m_runnable_unit_tab TYPE STANDARD TABLE OF m_runnable_unit_type
7 M_RUNNABLE_UNIT_TYPE Private See coding 20080722 BEGIN OF m_runnable_unit_type, dest_name TYPE bgrfc_dest_name_outbound, unit_id TYPE bgrfc_unit_id, END OF m_runnable_unit_type
Method Signatures

Method ADD_RESULT_EX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CUSTOMIZE_EXCEPTION Call by reference Object reference (TYPE REF TO) CX_BGRFC_CUSTOMIZE Ausnahmeklasse Customizing 20080717
2 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080717

Method ADD_RESULT_EX on class CL_BGRFC_HEALTH_CHECK has no exception.

Method ADD_RESULT_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MSG_ID Call by reference Type reference (TYPE) SYMSGID Nachrichtenklasse 20080717
2 Importing MSG_NUMBER Call by reference Type reference (TYPE) SYMSGNO Nachrichtennummer 20080717
3 Importing MSG_TYPE Call by reference Type reference (TYPE) SYMSGTY Nachrichtentyp 20080717
4 Importing MSG_V1 Call by reference Type reference (TYPE) ANY Nachrichtenvariable 20080717
5 Importing MSG_V2 Call by reference Type reference (TYPE) ANY Nachrichtenvariable 20080717
6 Importing MSG_V3 Call by reference Type reference (TYPE) ANY Nachrichtenvariable 20080717
7 Importing MSG_V4 Call by reference Type reference (TYPE) ANY Nachrichtenvariable 20080717
8 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080717

Method ADD_RESULT_MSG on class CL_BGRFC_HEALTH_CHECK has no exception.

Method CB_PING_DEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_TASK Call by reference Type reference (TYPE) C Taskname 20080717

Method CB_PING_DEST on class CL_BGRFC_HEALTH_CHECK has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_BGRFC_HEALTH_CHECK has no parameter.
Method CLASS_CONSTRUCTOR on class CL_BGRFC_HEALTH_CHECK has no exception.

Method CONFIG_CHECK_INBOUND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080711

Method CONFIG_CHECK_INBOUND on class CL_BGRFC_HEALTH_CHECK has no exception.

Method CONFIG_CHECK_INB_DEST_SET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080711

Method CONFIG_CHECK_INB_DEST_SET on class CL_BGRFC_HEALTH_CHECK has no exception.

Method CONFIG_CHECK_OUTB_DEST_SET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080711

Method CONFIG_CHECK_OUTB_DEST_SET on class CL_BGRFC_HEALTH_CHECK has no exception.

Method CONFIG_CHECK_SERVER_SET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080711

Method CONFIG_CHECK_SERVER_SET on class CL_BGRFC_HEALTH_CHECK has no exception.

Method CONFIG_CHECK_SUPERVISOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080711

Method CONFIG_CHECK_SUPERVISOR on class CL_BGRFC_HEALTH_CHECK has no exception.

Method CONFIG_CHECK_SYSTEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB 20080711

Method CONFIG_CHECK_SYSTEM on class CL_BGRFC_HEALTH_CHECK has no exception.

Method GET_MAX_AND_AVG_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting AVG_TIME Call by reference Type reference (TYPE) I Durchschnittliche Zeit in Sekunden 20080715
2 Exporting MAX_TIME Call by reference Type reference (TYPE) I MAximale Zeit in Sekunden 20080715
3 Importing TIMES Call by reference Type reference (TYPE) STANDARD TABLE Tabelle mit timestampl 20080715

Method GET_MAX_AND_AVG_TIME on class CL_BGRFC_HEALTH_CHECK has no exception.

Method GET_MAX_UNIT_SIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DEST_NAME Call by reference Type reference (TYPE) BGRFC_DEST_NAME_OUTBOUND Name der Destination im Outbound Fall 20080722
2 Importing IS_INBOUND Call by reference Type reference (TYPE) C 20080722
3 Importing ITABLE Call by reference Type reference (TYPE) M_RUNNABLE_UNIT_TAB 20080722
4 Returning SIZE Value transfer Type reference (TYPE) INT4 Natürliche Zahl 20080722

Method GET_MAX_UNIT_SIZE on class CL_BGRFC_HEALTH_CHECK has no exception.

Method RT_CHECK_CONVERSION_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080715

Method RT_CHECK_CONVERSION_ERROR on class CL_BGRFC_HEALTH_CHECK has no exception.

Method RT_CHECK_DESTINATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080715

Method RT_CHECK_DESTINATIONS on class CL_BGRFC_HEALTH_CHECK has no exception.

Method RT_CHECK_ERRONEOUS_UNITS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080715

Method RT_CHECK_ERRONEOUS_UNITS on class CL_BGRFC_HEALTH_CHECK has no exception.

Method RT_CHECK_NUMBER_OF_SCHEDULER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080715

Method RT_CHECK_NUMBER_OF_SCHEDULER on class CL_BGRFC_HEALTH_CHECK has no exception.

Method RT_CHECK_PING_DEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080711

Method RT_CHECK_PING_DEST on class CL_BGRFC_HEALTH_CHECK has no exception.

Method RT_CHECK_PROCESSED_UNITS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080711

Method RT_CHECK_PROCESSED_UNITS on class CL_BGRFC_HEALTH_CHECK has no exception.

Method RT_CHECK_PROMOTED_UNITS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080711

Method RT_CHECK_PROMOTED_UNITS on class CL_BGRFC_HEALTH_CHECK has no exception.

Method RT_CHECK_RESOUCES_DMAP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing DESTMAP Call by reference Type reference (TYPE) M_DESTMAP_TAB Table mit Destiantion mapping 20080728
2 Importing ITABLE Call by reference Type reference (TYPE) M_RUNNABLE_UNIT_TAB 20080728
3 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle mit Meldungen des bgRFC 20080728

Method RT_CHECK_RESOUCES_DMAP on class CL_BGRFC_HEALTH_CHECK has no exception.

Method RT_CHECK_RESOURCES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080715

Method RT_CHECK_RESOURCES on class CL_BGRFC_HEALTH_CHECK has no exception.

Method RT_CHECK_RESOURCES_DEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DEST_NAME Call by reference Type reference (TYPE) BGRFC_DEST_NAME_OUTBOUND Name der Destination im Outbound Fall 20080721
2 Importing DEST_RESOURCES Call by reference Object reference (TYPE REF TO) IF_BGRFC_DESTINATION_RESOURCES Ermittlung von RFC-Resourcen für RFC-Destinationen 20080721
3 Changing RESOURCE Call by reference Type reference (TYPE) BGRFC_DESTINATION_RESOURCE Resourcenverwaltung beim Hintergrund RFC 20080722
4 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle mit Meldungen des bgRFC 20080721
5 Changing WAIT_LIST Call by reference Type reference (TYPE) M_RESOURCE_WAIT_TAB 20080722

Method RT_CHECK_RESOURCES_DEST on class CL_BGRFC_HEALTH_CHECK has no exception.

Method RT_CHECK_RUNABLE_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080715

Method RT_CHECK_RUNABLE_TIME on class CL_BGRFC_HEALTH_CHECK has no exception.

Method RT_CHECK_SCHEDULER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RESULTS Call by reference Type reference (TYPE) BGRFC_MESSAGE_TAB Tabelle für Health check ergebnisse 20080715

Method RT_CHECK_SCHEDULER on class CL_BGRFC_HEALTH_CHECK has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 712