Você está na página 1de 13

This document contains text automatically extracted from a PDF or image file.

Formatting may have


been lost and not all text may have been recognized.
To remove this note, right-click and select "Delete table".
SAP Note 1118297 - XI runtime: QRFC processing of messages
Note Language: English Version: 7 Validity: Valid Since 05.12.2007
Summary
Symptom
You are using the Exchange Infrastructure and you are processing
asynchronous messages. These messages are scheduled in queues that are no
longer processed. The inbound queue of the qRFC Monitor (transaction SMQ2),
for example, contains entries with the status "Running". However, you
recognize in the process overview (transaction SM50) that there is no
active work process.
More Terms
QRFC, SXMS_ASYNC_EXEC, inbound, running, resource
Cause and Prerequisites
You are using the Exchange Infrastructure and you are processing
asynchronous messages. These message are scheduled in the QRFC and are only
processed slowly or not at all.
Solution
The asynchronous messages are scheduled in the queues.
Check the following points of your middleware.
Queue configuration:
o If the QRFC Inbound Scheduler is configured, see Note
369007.qRFC: Configuration for the QIN Scheduler
o Are the XI queues registered and active? In transaction
SXMB_ADMIN->Administration->Manage Queues, you can register the
queues for the XI runtime.
o If the resources are configured for TRFC/QRFC, note the common
usage of system resources. For further details, see Notes
74141 Resource management for tRFC and aRFC
527481 tRFC or qRFC calls are not processed
For the qRFC resources see Note
1051445 qRFC scheduler does not use all available
resources
For further information see Unit 3.1 of the "SAP Exchange
Infrastructure Tuning Guide", which you can download from the
marketplace.
o In the XI configuration you can set locks for the processing of XI
messages. Note that for many parallel queues there are also
sufficient resources for lock objects. At least one enqueue entry
is required for each queue, depending on the configuration. For
further information see Notes
552289 FAQ: Lock management R/3
654328 Enqueue: System log message GE9
Queue status:
Transaction SMQ2 contains queue entries with the following status
o "Running"

18.01.2010 Page 1 of 4
SAP Note 1118297 - XI runtime: QRFC processing of messages
If the J2EE engine is downloaded in production mode with the
mapping engine or recipient Adapter Framework, processing QRFC
entries may not recognize this and remain in the "Running" status.
A symptom can be, for example, that the RFC destination
"AI_RUNTIME_JCOSERVER" is no longer registered. You can find this
information in the Gateway Monitor (transaction SMGW).
Otherwise, the system may reach this status if the application
server is downloaded in a controlled manner, and long-running
processes can no longer terminate.
The system no longer processes any message. In transaction SMQR,
you can activate the queues manually again. You can also schedule
the report RSQIWKEX, which automatically restarts the queues. For
further information see Notes
620633 Status RUNNING in SMQ2 with XI queues
864333 RSQOWKEX & RSQIWKEX start Running(Executed) queues
o "Sysfail"
A queue entry with the status "Sysfail" can have two possible
causes.
1. Further processing cannot be carried out on the process for
technical reasons (for example, the program terminates with a dump
or a system (mapping or recipient system cannot be reached).
2. Queue processing should be stopped, as the message cannot be
processed, due to a configuration error. Processing is not
permitted for the subsequent messages, as the queue sequence
displays the message sequence. You can use the report
RSXMB_RESTART_MESSAGES to restart the message processing again. See
Note
813029 Automatic processing of failed XI messages
XI-QRFC and IDoc-TRFC processing:
Note that when you use the IDoc adapter this uses the RFC/TRFC resources,
which are used together with the QRFC resources. This means an intensive
usage of the TRFC can influence the performance of the XI queue message
processing. When possible always use the package processing of the IDoc
adapter (transport of several IDocs with an RFC call to the recipient
system):
1. Package created from an IDoc XML payload with several IDocs
2. Packaging, package created with IDoc package filter
3. Package created with message packaging (queue message package)
(as of NW2004s)
For more information about acknowledgements, see also Note:
1111968 IDoc adapter: Parallel processing of acknowledgements
to reduce the number of acknowledgement queues.
Tuning Balancing parameter :
The BALANCING parameter activates the entries for the parameters
B_EO_IN_PARALLEL_SENDER, B_EO_OUT_PARALLEL and B_EO_IN_PARALLEL.
They are used if the number of parallel queues is changed and the messages
are distributed to the new queues. A balancing procedure is already used in
the Standard System to distribute the messages equally to the queues. If
the Balancing parameter is continually active, it has a negative impact on
performance (as queue entries are constantly distributed between the queues

18.01.2010 Page 2 of 4
SAP Note 1118297 - XI runtime: QRFC processing of messages
and this means they cannot be processed). This can cause problems during
queue processing.
Its use in the Tuning Guide is not described clearly.
Oracle database:
When using an Oracle database see Note
742950 Performance affected on Oracle DB with supplement 11
if you discover performance problems when processing queue entries. This
improves the scheduling process only, and not the processing time of a
queue entry.
See also Note
1020260 Delivering Oracle statistics
EO (exactly once) handling of XI-Messages when you restart QRFC entries:
o The XI log guarantees the uniqueness of the transfer between the
client and server. A restart does not trigger a double execution of
messages. Note that a synchronization of the reorganization between
client and server is guaranteed. The EO recognition is executed
with the message ID. The retention time determines the amount of
time this information is retained in the system for.
o The individual messages are saved to the database in the system
with a key from the message ID and version. This prevents a
parallel execution of the same message. A queue entry can be
executed in parallel using the report RSQIWKEX or by carrying out a
manual start from the queue. We recommend to set the parameter
LOCK_MESSAGE (default value is active "1") of the category
"RUNTIME" in the XI configuration to the value '0'. More
information is contained in Note
1058915 Outbound queue remains in status 'SYSFAIL'
Header Data
Release Status: Released for Customer
Released on: 05.12.2007 10:10:34
Master Language: German
Priority: Recommendations/additional info
Category: FAQ
Primary Component BC-XI-IS Integration Server
Valid Releases
Software Component Release From
Release
To
Release
and
Subsequent
SAP_BASIS 60 640 640
SAP_BASIS 70 700 700
Related Notes

18.01.2010 Page 3 of 4
SAP Note 1118297 - XI runtime: QRFC processing of messages
Number Short Text
1147287 XI runtime: Preventing double persistence
1111968 IDoc adapter: Parallel processing of acknowledgments
1058915 Outbound queue remains in status 'SYSFAIL'
1051445 qRFC scheduler does not use all available resourcen
1020260 Delivery of Oracle statistics
864333 RSQOWKEX & RSQIWKEX start Running(Executed) queues
742950 Performance affected on Oracle DB with Supplement 11
654328 Enqueue: System log message GE9
620633 Status RUNNING in SMQ2 with XI queues
552289 FAQ: R/3 Lock management
527481 tRFC or qRFC calls are not processed
369007 qRFC: Configuration for the QIN Scheduler
74141 Resource Management for tRFC and aRFC

18.01.2010 Page 4 of 4

Você também pode gostar