SAP ABAP Class CL_BGRFC_DESTINATION_RESOURCES (Application Server Resources)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-MID-RFC-BG (Application Component) Background RFC (bgRFC)
⤷ SQRFC1 (Package) bgRFC -- Kernel-Related Development
⤷ BC-MID-RFC-BG (Application Component) Background RFC (bgRFC)
⤷ SQRFC1 (Package) bgRFC -- Kernel-Related Development
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_BGRFC_DESTINATION_RESOURCES | Find RFC Resources for RFC Destinations | 20041215 |
Properties
Class | CL_BGRFC_DESTINATION_RESOURCES | |
Short Description | Application Server Resources | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | S | System Program |
Category | 0 | |
Package | SQRFC1 | bgRFC -- Kernel-Related Development |
Created | 20041215 | SAP |
Last change | 20141121 | |
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) |
2 | T | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_BGRFC_DESTINATION_RESOURCES | Find RFC Resources for RFC Destinations | 20041215 |
Friends
Class CL_BGRFC_DESTINATION_RESOURCES has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | BGRFC_IS_SUPPORTED | Instance attribute | Public | Attribute reference (LIKE) | 20050126 | ||||
2 | CO_MSGNO_COMM_FAILURE | Constant | Public | Type reference (TYPE) | SYMSGNO | 135 | Message Number | 20090112 | |
3 | CO_MSGNO_EMPTY_SERVER_GROUP | Constant | Public | Type reference (TYPE) | SYMSGNO | 139 | Message Number | 20090113 | |
4 | CO_MSGNO_GROUP_MAPPING_FAILED | Constant | Public | Type reference (TYPE) | SYMSGNO | 138 | Message Number | 20090113 | |
5 | CO_MSGNO_INVALID_INFORMATION | Constant | Public | Type reference (TYPE) | SYMSGNO | 140 | Message Number | 20090113 | |
6 | CO_MSGNO_NO_CACHE_RESOURCES | Constant | Public | Type reference (TYPE) | SYMSGNO | 136 | Message Number | 20090112 | |
7 | CO_MSGNO_NO_DEST_PERMISSION | Constant | Public | Type reference (TYPE) | SYMSGNO | 464 | Message Number | 20100611 | |
8 | CO_MSGNO_NO_GATEWAY_RESOURCES | Constant | Public | Type reference (TYPE) | SYMSGNO | 137 | Message Number: No Gateway Resources | 20090112 | |
9 | CO_MSGNO_SYSTEM_FAILURE | Constant | Public | Type reference (TYPE) | SYMSGNO | 134 | Message Number: System Error When Getting Resources | 20090112 | |
10 | CO_RFCOPTIONS_SUPPRESS_DIALOG | Constant | Public | Type reference (TYPE) | CHAR8 | '60000' | Character Field, 8 Characters Long | 20041221 | |
11 | CO_RFC_EMPTY_SERVER_GROUP | Constant | Private | Type reference (TYPE) | SYSUBRC | 22703 | Return Value of ABAP Statements | 20090113 | |
12 | CO_RFC_GROUP_MAPPING_FAILED | Constant | Private | Type reference (TYPE) | SYSUBRC | 22702 | Return Value of ABAP Statements | 20090113 | |
13 | CO_RFC_INVALID_INFORMATION | Constant | Private | Type reference (TYPE) | SYSUBRC | 22701 | Return Value of ABAP Statements | 20090113 | |
14 | C_EXPIRATION_TIME_INBOUND | Static Attribute | Private | Type reference (TYPE) | I | Validity of Resource (Inbound) | 20050216 | ||
15 | C_EXPIRATION_TIME_OUTBOUND | Static Attribute | Private | Type reference (TYPE) | I | Validity of Resource (Outbound) | 20050216 | ||
16 | C_GATEWAY_PERCENTAGE_INBOUND | Static Attribute | Private | Type reference (TYPE) | BGRFC_GATEWAY_RESOURCES | Share of Inbound Gateway Resources (Percentage) | 20050209 | ||
17 | C_GATEWAY_PERCENTAGE_OUTBOUND | Static Attribute | Private | Type reference (TYPE) | BGRFC_GATEWAY_RESOURCES | Maximum Percentage of Usable Gateway Resources | 20050209 | ||
18 | C_IGNORE_SYSTEM_IDENTITY | Static Attribute | Public | Type reference (TYPE) | ABAP_BOOL | Use RFC to Get Outbound Resources (for Veris) | 20050223 | ||
19 | C_RDISP_MYNAME | Static Attribute | Private | Type reference (TYPE) | MSNAME2 | Application Server Name | 20050719 | ||
20 | C_RESOURCES | Static Attribute | Private | Type reference (TYPE) | T_DESTIONATION_RESOURCE_TABLE | Resources for RFC Server Group (Group in Transaction RZ12) | 20041215 | ||
21 | C_SYSTEM_IDENTITY | Static Attribute | Private | Type reference (TYPE) | RFC_SYSTEM_IDENTITY | System Identification | 20050223 | ||
22 | DESTINATION_NAME | Instance attribute | Public | Attribute reference (LIKE) | 20050125 | ||||
23 | GROUP_NAME | Instance attribute | Public | Attribute reference (LIKE) | 20050125 | ||||
24 | GROUP_TYPE | Instance attribute | Public | Attribute reference (LIKE) | 20050125 | ||||
25 | MI_SERVER_RESOURCES | Static Attribute | Private | Object reference (TYPE REF TO) | LIF_RESOURCE_REQUEST | 20130725 | |||
26 | MI_ZDT_UTIL | Static Attribute | Private | Object reference (TYPE REF TO) | LIF_ZDT_UTILITIES | Query API for Zero Down Time | 20130731 | ||
27 | MT_LAST_RESOURCE | Instance attribute | Private | See coding | 20130903 | ||||
28 | M_DESTINATION_TYPE | Instance attribute | Private | Type reference (TYPE) | RFCTYPE | Type of RFC Connection | 20041215 | ||
29 | M_IS_DESTINATION_LOAD_BALANCED | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | RFC Destination with Load Balancing? | 20050117 | ||
30 | M_IS_LOAD_BALANCING_SUPPORTED | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Load Balancing Supported? | 20050117 | ||
31 | M_LAST_RFCOPTION_RESOURCE | Instance attribute | Private | Type reference (TYPE) | RFCOPT | Last RFC Options Sent to Application | 20050622 | ||
32 | M_LAST_SERVER_NAME_RESOURCE | Instance attribute | Private | Type reference (TYPE) | MSNAME2 | Application Server Name | 20090216 | ||
33 | M_LOGGER | Instance attribute | Private | Object reference (TYPE REF TO) | CL_BGRFC_LOGGER | tRFC/qRFC Logging | 20130726 | ||
34 | M_OUTBOUND_PROCESSING | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Outbound bgRFC Processing | 20050115 | ||
35 | M_RESOURCE_CHECK | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Did Resource Check Run? | 20050113 | ||
36 | M_RFCHOST | Instance attribute | Private | Type reference (TYPE) | RFCHOST_EXT | Name of Target Host | 20050117 | ||
37 | M_RFCOPTIONS | Instance attribute | Private | Type reference (TYPE) | RFCOPT | RFC Options | 20041221 | ||
38 | M_RFC_TYPE | Instance attribute | Private | Type reference (TYPE) | RFCTYPE | Type of RFC Connection | 20050125 | ||
39 | M_SYSTEM_IDENTITY | Instance attribute | Private | Type reference (TYPE) | RFC_SYSTEM_IDENTITY | System Identification | 20050117 | ||
40 | M_TASK_NAME | Instance attribute | Private | Type reference (TYPE) | SYSUUID_C | Task Name for Getting Resources | 20041215 | ||
41 | M_WAIT_FOR_RESPONSE | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Wait for Response of Asynchronous RFC | 20041215 | ||
42 | SYSTEM_IDENTITY_REQUESTED | Instance attribute | Public | Attribute reference (LIKE) | 20050126 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20050207 |
2 | CREATE_INBOUND | Static method | Public | Method | Get Resources for Local Application Server | 20041215 |
3 | CREATE_OUTBOUND | Static method | Public | Method | Get Resources for RFC Destination | 20041215 |
4 | GET_LOCAL_GATEWAY_RESOURCES | Instance method | Private | Method | Get Current Gateway Resources | 20081024 |
5 | GET_OPTIMAL_RESOURCE | Instance method | Private | Method | Determine the optimal resource (ZDT support) | 20130725 |
6 | GET_RESOURCES | Instance method | Public | Method | 20041215 | |
7 | GET_RESOURCES_FROM_CACHE | Instance method | Private | Method | Get Resources from Cache | 20041215 |
8 | GET_RESOURCES_INBOUND | Instance method | Public | Method | Find Resources for Inbound Destinations | 20050118 |
9 | GET_RESOURCES_OUTBOUND | Instance method | Public | Method | Find Resources for Outbound Destinations | 20050118 |
10 | RECEIVE_RESOURCE_RESULTS | Instance method | Public | Method | Get Response from Resource Finder | 20041216 |
11 | RECEIVE_RESOURCE_RESULTS_BGRFC | Instance method | Public | Method | Get Response from Resource Finder | 20050113 |
12 | SET_RFCOPTIONS | Instance method | Private | Method | Switch Load Balancing to Target Host | 20041215 |
13 | UPDATE_CACHE_RESOURCES | Instance method | Private | Method | Integration of Resource Data into Cache | 20041216 |
Events
Class CL_BGRFC_DESTINATION_RESOURCES has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TS_LAST_RESOURCE | Private | See coding | 20130903 | BEGIN OF ts_last_resource,
zdt_subsystem TYPE rlfw_server_group,
last_server TYPE msname2,
last_rfc_option TYPE rfcopt,
END OF ts_last_resource
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_BGRFC_DESTINATION_RESOURCES has no parameter.
Method CLASS_CONSTRUCTOR on class CL_BGRFC_DESTINATION_RESOURCES has no exception.
Method CREATE_INBOUND Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | DESTINATION_NAME | Call by reference | Type reference (TYPE) | BGRFC_DEST_NAME_INBOUND | Name der Destination im Inbound Fall | 20041220 | ||
2 | Exporting | DESTINATION_RESOURCE | Call by reference | Object reference (TYPE REF TO) | IF_BGRFC_DESTINATION_RESOURCES | Ermittlung von RFC-Resourcen für RFC-Destinationen | 20041215 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BGRFC_DESTINATION_RES_PARAM | Falsche Parameterangabe | 20050117 |
Method CREATE_OUTBOUND Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | DESTINATION_NAME | Call by reference | Type reference (TYPE) | BGRFC_DEST_NAME_OUTBOUND | Name der Destination im Outbound Fall | 20041215 | ||
2 | Exporting | DESTINATION_RESOURCE | Call by reference | Object reference (TYPE REF TO) | IF_BGRFC_DESTINATION_RESOURCES | Ermittlung von RFC-Resourcen für RFC-Destinationen | 20041215 | ||
3 | Exporting | IS_EXTERNAL_DESTINATION | Call by reference | Type reference (TYPE) | ABAP_BOOL | Destination ist eine externe Destination (nur bei Outbound) | 20050118 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BGRFC_DESTINATION_RES_PARAM | Falsche Parameterangabe | 20041216 |
Method GET_LOCAL_GATEWAY_RESOURCES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | MAX_CONNECTIONS | Call by reference | Type reference (TYPE) | I | 20081024 | |||
2 | Exporting | OVERFLOW_SIZE | Call by reference | Type reference (TYPE) | I | 20081024 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BGRFC_DESTINATION_RES_LACK | Vorläufige Ressourcen-Probleme bei bgRFC | 20081024 |
Method GET_OPTIMAL_RESOURCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_RESOURCES | Call by reference | Type reference (TYPE) | BGRFC_DESTINATION_RESOURCES | Resourcenverwaltung im Hintergrund RFC | 20130725 | ||
2 | Importing | ORG_SERVER_GROUP | Call by reference | Type reference (TYPE) | RLFW_SERVER_GROUP | Gruppen-ID für Application Server | 20130726 | ||
3 | Returning | RV_RESOURCE | Value transfer | Type reference (TYPE) | BGRFC_DESTINATION_RESOURCE | Resourcenverwaltung beim Hintergrund RFC | 20130725 |
Method GET_OPTIMAL_RESOURCE on class CL_BGRFC_DESTINATION_RESOURCES has no exception.
Method GET_RESOURCES Signature
Method GET_RESOURCES on class CL_BGRFC_DESTINATION_RESOURCES has no parameter.
Method GET_RESOURCES on class CL_BGRFC_DESTINATION_RESOURCES has no exception.
Method GET_RESOURCES_FROM_CACHE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_ZDT_SUB_SYSTEM | Call by reference | Type reference (TYPE) | RLFW_SERVER_GROUP | Gruppen-ID für Application Server | 20130812 | ||
2 | Changing | RESOURCES | Call by reference | Type reference (TYPE) | BGRFC_DESTINATION_RESOURCES | Ressourcen für RFC-Servergruppe (Gruppe in Transaktion RZ12) | 20041215 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BGRFC_DESTINATION_RES_COMM | RFC-Kommunikationsprobleme bei Ressourcen-Ermittlung | 20041221 | |
2 | CX_BGRFC_DESTINATION_RES_LACK | Destinationsprobleme | 20041216 | |
3 | CX_BGRFC_DESTINATION_RES_SYST | RFC-Systemprobleme bei Ressourcen-Ermittlung | 20041221 |
Method GET_RESOURCES_INBOUND Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_ZDT_SUB_SYSTEM | Call by reference | Type reference (TYPE) | RLFW_SERVER_GROUP | Gruppen-ID für Application Server | 20130812 | ||
2 | Changing | RESOURCE | Call by reference | Type reference (TYPE) | BGRFC_DESTINATION_RESOURCE | Resourcenverwaltung beim Hintergrund RFC | 20050118 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BGRFC_DESTINATION_NOT_SUPP | RFC-Destination ist bei Resourceermittlung nicht unterstützt | 20050118 | |
2 | CX_BGRFC_DESTINATION_RES_COMM | RFC-Kommunikationsprobleme bei Ressourcen-Ermittlung | 20050118 | |
3 | CX_BGRFC_DESTINATION_RES_LACK | Vorläufige Ressourcen-Probleme bei bgRFC | 20050118 | |
4 | CX_BGRFC_DESTINATION_RES_SYST | RFC-Systemprobleme bei Ressourcen-Ermittlung | 20050118 | |
5 | CX_BGRFC_DESTINATION_RES_WAIT | Warte auf den Empfang der Ressourcen | 20050118 |
Method GET_RESOURCES_OUTBOUND Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | RESOURCE | Call by reference | Type reference (TYPE) | BGRFC_DESTINATION_RESOURCE | Resourcenverwaltung beim Hintergrund RFC | 20050118 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BGRFC_DESTINATION_NOT_SUPP | RFC-Destination ist bei Resourceermittlung nicht unterstützt | 20050118 | |
2 | CX_BGRFC_DESTINATION_RES_COMM | RFC-Kommunikationsprobleme bei Ressourcen-Ermittlung | 20050118 | |
3 | CX_BGRFC_DESTINATION_RES_LACK | Vorläufige Ressourcen-Probleme bei bgRFC | 20050118 | |
4 | CX_BGRFC_DESTINATION_RES_SYST | RFC-Systemprobleme bei Ressourcen-Ermittlung | 20050118 | |
5 | CX_BGRFC_DESTINATION_RES_WAIT | Warte auf den Empfang der Ressourcen | 20050118 |
Method RECEIVE_RESOURCE_RESULTS 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) | CLIKE | 20041216 |
Method RECEIVE_RESOURCE_RESULTS on class CL_BGRFC_DESTINATION_RESOURCES has no exception.
Method RECEIVE_RESOURCE_RESULTS_BGRFC 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) | CLIKE | 20050113 |
Method RECEIVE_RESOURCE_RESULTS_BGRFC on class CL_BGRFC_DESTINATION_RESOURCES has no exception.
Method SET_RFCOPTIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | DEST_RESOURCE | Call by reference | Type reference (TYPE) | T_DESTIONATION_RESOURCES | 20041215 |
Method SET_RFCOPTIONS on class CL_BGRFC_DESTINATION_RESOURCES has no exception.
Method UPDATE_CACHE_RESOURCES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | COMMUNICATION_FAILURE | Call by reference | Type reference (TYPE) | STRING | Nachricht des Kommunikationsfehlers | 20041217 | ||
2 | Importing | GROUP_RESOURCES | Call by reference | Type reference (TYPE) | RFC_SERVER_GROUP_RESOURCE | Ressourcen für RFC-Servergruppe (Gruppe in Transaktion RZ12) | 20041216 | ||
3 | Importing | SYSTEM_FAILURE | Call by reference | Type reference (TYPE) | STRING | Nachricht des Systemfehlers | 20041217 | ||
4 | Importing | SYSTEM_IDENTITY | Call by reference | Type reference (TYPE) | RFC_SYSTEM_IDENTITY | Identifikation des Systems | 20041216 | ||
5 | Importing | SYSTEM_SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | Fehlermeldung des ResourcenFB | 20090113 |
Method UPDATE_CACHE_RESOURCES on class CL_BGRFC_DESTINATION_RESOURCES has no exception.
History
Last changed by/on | SAP | 20141121 |
SAP Release Created in | 700 |