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
⤷
⤷
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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | 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 | Instance attribute | Public | Attribute reference (LIKE) | 20050126 | |||||
| 2 | Constant | Public | Type reference (TYPE) | SYMSGNO | 135 | Message Number | 20090112 | ||
| 3 | Constant | Public | Type reference (TYPE) | SYMSGNO | 139 | Message Number | 20090113 | ||
| 4 | Constant | Public | Type reference (TYPE) | SYMSGNO | 138 | Message Number | 20090113 | ||
| 5 | Constant | Public | Type reference (TYPE) | SYMSGNO | 140 | Message Number | 20090113 | ||
| 6 | Constant | Public | Type reference (TYPE) | SYMSGNO | 136 | Message Number | 20090112 | ||
| 7 | Constant | Public | Type reference (TYPE) | SYMSGNO | 464 | Message Number | 20100611 | ||
| 8 | Constant | Public | Type reference (TYPE) | SYMSGNO | 137 | Message Number: No Gateway Resources | 20090112 | ||
| 9 | Constant | Public | Type reference (TYPE) | SYMSGNO | 134 | Message Number: System Error When Getting Resources | 20090112 | ||
| 10 | Constant | Public | Type reference (TYPE) | CHAR8 | '60000' | Character Field, 8 Characters Long | 20041221 | ||
| 11 | Constant | Private | Type reference (TYPE) | SYSUBRC | 22703 | Return Value of ABAP Statements | 20090113 | ||
| 12 | Constant | Private | Type reference (TYPE) | SYSUBRC | 22702 | Return Value of ABAP Statements | 20090113 | ||
| 13 | Constant | Private | Type reference (TYPE) | SYSUBRC | 22701 | Return Value of ABAP Statements | 20090113 | ||
| 14 | Static Attribute | Private | Type reference (TYPE) | I | Validity of Resource (Inbound) | 20050216 | |||
| 15 | Static Attribute | Private | Type reference (TYPE) | I | Validity of Resource (Outbound) | 20050216 | |||
| 16 | Static Attribute | Private | Type reference (TYPE) | BGRFC_GATEWAY_RESOURCES | Share of Inbound Gateway Resources (Percentage) | 20050209 | |||
| 17 | Static Attribute | Private | Type reference (TYPE) | BGRFC_GATEWAY_RESOURCES | Maximum Percentage of Usable Gateway Resources | 20050209 | |||
| 18 | Static Attribute | Public | Type reference (TYPE) | ABAP_BOOL | Use RFC to Get Outbound Resources (for Veris) | 20050223 | |||
| 19 | Static Attribute | Private | Type reference (TYPE) | MSNAME2 | Application Server Name | 20050719 | |||
| 20 | Static Attribute | Private | Type reference (TYPE) | T_DESTIONATION_RESOURCE_TABLE | Resources for RFC Server Group (Group in Transaction RZ12) | 20041215 | |||
| 21 | Static Attribute | Private | Type reference (TYPE) | RFC_SYSTEM_IDENTITY | System Identification | 20050223 | |||
| 22 | Instance attribute | Public | Attribute reference (LIKE) | 20050125 | |||||
| 23 | Instance attribute | Public | Attribute reference (LIKE) | 20050125 | |||||
| 24 | Instance attribute | Public | Attribute reference (LIKE) | 20050125 | |||||
| 25 | Static Attribute | Private | Object reference (TYPE REF TO) | LIF_RESOURCE_REQUEST | 20130725 | ||||
| 26 | Static Attribute | Private | Object reference (TYPE REF TO) | LIF_ZDT_UTILITIES | Query API for Zero Down Time | 20130731 | |||
| 27 | Instance attribute | Private | See coding | 20130903 | |||||
| 28 | Instance attribute | Private | Type reference (TYPE) | RFCTYPE | Type of RFC Connection | 20041215 | |||
| 29 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | RFC Destination with Load Balancing? | 20050117 | |||
| 30 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Load Balancing Supported? | 20050117 | |||
| 31 | Instance attribute | Private | Type reference (TYPE) | RFCOPT | Last RFC Options Sent to Application | 20050622 | |||
| 32 | Instance attribute | Private | Type reference (TYPE) | MSNAME2 | Application Server Name | 20090216 | |||
| 33 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_BGRFC_LOGGER | tRFC/qRFC Logging | 20130726 | |||
| 34 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Outbound bgRFC Processing | 20050115 | |||
| 35 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Did Resource Check Run? | 20050113 | |||
| 36 | Instance attribute | Private | Type reference (TYPE) | RFCHOST_EXT | Name of Target Host | 20050117 | |||
| 37 | Instance attribute | Private | Type reference (TYPE) | RFCOPT | RFC Options | 20041221 | |||
| 38 | Instance attribute | Private | Type reference (TYPE) | RFCTYPE | Type of RFC Connection | 20050125 | |||
| 39 | Instance attribute | Private | Type reference (TYPE) | RFC_SYSTEM_IDENTITY | System Identification | 20050117 | |||
| 40 | Instance attribute | Private | Type reference (TYPE) | SYSUUID_C | Task Name for Getting Resources | 20041215 | |||
| 41 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Wait for Response of Asynchronous RFC | 20041215 | |||
| 42 | Instance attribute | Public | Attribute reference (LIKE) | 20050126 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20050207 | |
| 2 | Static method | Public | Method | Get Resources for Local Application Server | 20041215 | |
| 3 | Static method | Public | Method | Get Resources for RFC Destination | 20041215 | |
| 4 | Instance method | Private | Method | Get Current Gateway Resources | 20081024 | |
| 5 | Instance method | Private | Method | Determine the optimal resource (ZDT support) | 20130725 | |
| 6 | Instance method | Public | Method | 20041215 | ||
| 7 | Instance method | Private | Method | Get Resources from Cache | 20041215 | |
| 8 | Instance method | Public | Method | Find Resources for Inbound Destinations | 20050118 | |
| 9 | Instance method | Public | Method | Find Resources for Outbound Destinations | 20050118 | |
| 10 | Instance method | Public | Method | Get Response from Resource Finder | 20041216 | |
| 11 | Instance method | Public | Method | Get Response from Resource Finder | 20050113 | |
| 12 | Instance method | Private | Method | Switch Load Balancing to Target Host | 20041215 | |
| 13 | 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 | DESTINATION_NAME | Call by reference | Type reference (TYPE) | BGRFC_DEST_NAME_INBOUND | Name der Destination im Inbound Fall | 20041220 | |||
| 2 | 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 | Falsche Parameterangabe | 20050117 |
Method CREATE_OUTBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DESTINATION_NAME | Call by reference | Type reference (TYPE) | BGRFC_DEST_NAME_OUTBOUND | Name der Destination im Outbound Fall | 20041215 | |||
| 2 | DESTINATION_RESOURCE | Call by reference | Object reference (TYPE REF TO) | IF_BGRFC_DESTINATION_RESOURCES | Ermittlung von RFC-Resourcen für RFC-Destinationen | 20041215 | |||
| 3 | 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 | Falsche Parameterangabe | 20041216 |
Method GET_LOCAL_GATEWAY_RESOURCES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MAX_CONNECTIONS | Call by reference | Type reference (TYPE) | I | 20081024 | ||||
| 2 | OVERFLOW_SIZE | Call by reference | Type reference (TYPE) | I | 20081024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_RESOURCES | Call by reference | Type reference (TYPE) | BGRFC_DESTINATION_RESOURCES | Resourcenverwaltung im Hintergrund RFC | 20130725 | |||
| 2 | ORG_SERVER_GROUP | Call by reference | Type reference (TYPE) | RLFW_SERVER_GROUP | Gruppen-ID für Application Server | 20130726 | |||
| 3 | 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 | IV_ZDT_SUB_SYSTEM | Call by reference | Type reference (TYPE) | RLFW_SERVER_GROUP | Gruppen-ID für Application Server | 20130812 | |||
| 2 | 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 | RFC-Kommunikationsprobleme bei Ressourcen-Ermittlung | 20041221 | ||
| 2 | Destinationsprobleme | 20041216 | ||
| 3 | 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 | IV_ZDT_SUB_SYSTEM | Call by reference | Type reference (TYPE) | RLFW_SERVER_GROUP | Gruppen-ID für Application Server | 20130812 | |||
| 2 | RESOURCE | Call by reference | Type reference (TYPE) | BGRFC_DESTINATION_RESOURCE | Resourcenverwaltung beim Hintergrund RFC | 20050118 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | RFC-Destination ist bei Resourceermittlung nicht unterstützt | 20050118 | ||
| 2 | RFC-Kommunikationsprobleme bei Ressourcen-Ermittlung | 20050118 | ||
| 3 | Vorläufige Ressourcen-Probleme bei bgRFC | 20050118 | ||
| 4 | RFC-Systemprobleme bei Ressourcen-Ermittlung | 20050118 | ||
| 5 | 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 | RESOURCE | Call by reference | Type reference (TYPE) | BGRFC_DESTINATION_RESOURCE | Resourcenverwaltung beim Hintergrund RFC | 20050118 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | RFC-Destination ist bei Resourceermittlung nicht unterstützt | 20050118 | ||
| 2 | RFC-Kommunikationsprobleme bei Ressourcen-Ermittlung | 20050118 | ||
| 3 | Vorläufige Ressourcen-Probleme bei bgRFC | 20050118 | ||
| 4 | RFC-Systemprobleme bei Ressourcen-Ermittlung | 20050118 | ||
| 5 | 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 | 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 | 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 | 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 | COMMUNICATION_FAILURE | Call by reference | Type reference (TYPE) | STRING | Nachricht des Kommunikationsfehlers | 20041217 | |||
| 2 | GROUP_RESOURCES | Call by reference | Type reference (TYPE) | RFC_SERVER_GROUP_RESOURCE | Ressourcen für RFC-Servergruppe (Gruppe in Transaktion RZ12) | 20041216 | |||
| 3 | SYSTEM_FAILURE | Call by reference | Type reference (TYPE) | STRING | Nachricht des Systemfehlers | 20041217 | |||
| 4 | SYSTEM_IDENTITY | Call by reference | Type reference (TYPE) | RFC_SYSTEM_IDENTITY | Identifikation des Systems | 20041216 | |||
| 5 | 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 |