-
Technical Assistance
Request product support from SAP
-
Non-Technical Assistance
Request non-product support or provide feedback on SAP Support Portal site
Technical Assistance
Request product support from SAP
Non-Technical Assistance
Request non-product support or provide feedback on SAP Support Portal site
The Background RFC (bgRFC) is offered as a replacement for the classic tRFC and qRFC. It is available with SAP NetWeaver 2004s (SAP Basis 7.0). bgRFC is a superordinate term for the new version of tRFC and qRFC. A parallel run of classic tRFC/qRFC and bgRFC is possible.
The Background RFC works on the basis of units and performs better compared to the classic tRFC and qRFC versions. It comes with a new Application Programming Interface (API) and a new data model.
Terminology:
The bgRFC is based on a scheduler-driven queuing framework. This means that remote function calls are recorded, and execution takes place at a later point in time, which is controlled automatically by a scheduler process. Several schedulers can be started to process bgRFC units.
It supports the following scenarios:
In addition, there is a successor to the qRFC's No-Send scenario, where outbound calls are recorded, but not sent by the outbound scheduler (pull principle). Instead, the receiving system is supposed to fetch its RFC records itself. In the bgRFC context this is called Local Data Queue (LDQ).
The bgRFC provides two qualities of service (QoS) for remote function calls, offering an asynchronous transactional system-to-system communication:
To monitor bgRFC destinations and queues you can use the transactions SBGRFCMON (bgRFC Monitor), SBGRFCHIST (bgRFC Unit History), SBGRFCPERFMON (bgRFC Performance Monitor) and SLDQMON (LDQ Monitor).
Quality of Service | Outbound | Outbound-Inbound | Inbound | No-Send |
---|---|---|---|---|
tRFC (EO) | x | - | x | - |
qRFC (EOIO) | x | x | x | x |
The following technical prerequisites have to be met in order to use the bgRFC Monitoring as of ST-A/PI 01R:
Monitoring Area | Metric Name | Description | MAI Category | Since SP |
---|---|---|---|---|
Backlog Monitoring | Total number of individual queues/destination |
Number of individual bgRFC queues or bgRFC destinations |
Performance |
7.1 SP12 |
Total number of units in all queues/destination |
Total number of all units within either bgRFC queues or bgRFC destinations |
Performance |
7.1 SP12 | |
Age of oldest unit |
Age in minutes of the oldest unit within either bgRFC queues or bgRFC destinations |
Performance |
7.1 SP12 | |
Status monitoring for errors | Number of erroneous queues/destinations |
Number of individual bgRFC queues or bgRFC destinations containing at least one unit in an erroneous state |
Exceptions |
7.1 SP10 |
Total number of erroneous units |
Total number of units in an erroneous state within either bgRFC queues or bgRFC destinations |
Exceptions |
7.1 SP12 | |
Age of oldest unit in error state |
Age in minutes of the oldest unit in an erroneous state within either bgRFC queues or bgRFC destinations |
Exceptions |
7.1 SP10 | |
Status monitoring for locks | Number of queues/destination with locked units |
Number of individual bgRFC queues or bgRFC destinations which contain at least one unit with a lock. |
Exceptions |
7.1 SP12 |
Total number of locked units |
Total number of locked units within either bgRFC queues or bgRFC destinations |
Exceptions |
7.1 SP12 | |
Age of oldest unit with a lock |
Age in minutes of the oldest locked unit within either bgRFC queues or bgRFC destinations |
Exceptions |
7.1 SP12 |
This monitoring template can be used for an automatic monitoring and alerting of bgRFC instead of manually using the standard monitoring transaction SBGRFCMON.
Use transaction SBGRFCMON to check whether there are bgRFC units present in the managed system. Get an understanding what kind of bgRFC units exist in your system, based on destinations, queue names, program names and transaction codes. These application-specific details heavily depend on the used product, the implemented business processes, and of course on the interfaces to other systems and applications. Consult the SAP standard documentation or your project-specific implementation documentation to get information about what kind of bgRFC units (and especially what queue names) are expected.
The various individual status codes or lock reasons for bgRFC are grouped into two different categories: Error states and lock states. With that you can define different thresholds per status category.
The Interface and Connection Monitoring setup can be accessed via SAP Solution Manager Configuration (SOLMAN_SETUP).
To access the Integration Monitoring setup please go to SAP Solution Manager Configuration (SOLMAN_SETUP) → Application Operations → Integration Monitoring → Interface and Connections.
If you didn't perform the infrastructure configuration yet, please follow the Interface and Connection Monitoring Setup with SAP Solution Manager 7.2.
Navigate to the Define Scope step. You can create a new scenario or use an existing one. Make sure the sender and the receiver system are part of the Interface and Connection Monitoring scenario.
Create the Interface Channel:
Maintain the Interface:
Select Metrics:
On the Metrics tab, select the metrics you want to monitor. Please note that the selected metrics are collected for each bgRFC destination entered above.
Each group of metrics (backlog, errors, locks) offers three available metrics: The number of affected queues/destinations, the total number of affected units, and the age of the oldest affected unit. It is recommended to configure at least one metric from each group, but it may be not required to configure all of them. For example you might only be interested in the age of the oldest unit, but not in the amount of units, because temporary backlog peaks are normal in your scenario. Or, as another example, you could be interested in an immediate alert for erroneous units, no matter how old they are.
You can maintain attributes as described in the Interface and Connection Monitoring Setup with SAP Solution Manager 7.2 on the Attributes tab.
Thresholds and the collection schedule are maintained in the next step of the guided procedure. Once you have maintained all your channels, click Next in the main guided procedure to move to the Activation step.
Maintain Thresholds and Schedule:
Configuration Transactions | Description |
---|---|
SBGRFCCONF |
bgRFC Configuration |
SM59 |
RFC Destinations |
Monitoring Transactions | Description |
---|---|
SBGRFCMON |
bgRFC Monitor |
SBGRFCHIST |
bgRFC Unit History |
SBGRFCPERFMON |
bgRFC Performance Monitor |
SLDQMON |
LDQ Monitor |
SLG1 |
Application Log |