Transactional RFC and Common Issues - SAP Blogs
Transactional RFC and Common Issues - SAP Blogs
Products
Products Industries
Industries Support
Support Training
Training Community
Community Developer
Developer Partner
Partner
About
About
Home / Community / Blogs + Actions
ABAP Development
abap
share
0 share
0 tweet share
0
Follow
https://blogs.sap.com/2014/02/12/transactional-rfc-and-common-issues/ 1/8
1/19/2018 Transactional RFC and Common issues | SAP Blogs
1. Transactional RFC
2. tRFC process flow diagram
3. Common issues and trouble shooting
4. Important transaction codes
5. SAP Notes
Transactional RFC
Remote Function Call (RFC) is the standard SAP interface for communication
between SAP systems. RFC calls a function to be executed in a remote system.
In case target system is down, the call remains in the local queue of source
system until a later time. The calling program can proceed without waiting to
see whether or not the remote call was successful. If the target system does not
become active within a certain amount of time, the call is scheduled to run in
batch.
The system logs the remote call request in the database tables ARFCSSTATE
and ARFCSDATA with all of its parameter values. You can display the log file
using transaction SM58. When the calling program reaches a COMMIT WORK,
the remote call is forwarded to the target system.
All tRFCs with a single destination that occur between one COMMIT WORK
and the next belong to a single logical unit of work (LUW).
Disadvantages of tRFC
https://blogs.sap.com/2014/02/12/transactional-rfc-and-common-issues/ 2/8
1/19/2018 Transactional RFC and Common issues | SAP Blogs
‘Transaction recorded’ is the status when the SM58 entry is triggered for
execution at the target and there is no more work process available to process
this request.
https://blogs.sap.com/2014/02/12/transactional-rfc-and-common-issues/ 3/8
1/19/2018 Transactional RFC and Common issues | SAP Blogs
https://blogs.sap.com/2014/02/12/transactional-rfc-and-common-issues/ 4/8
1/19/2018 Transactional RFC and Common issues | SAP Blogs
If you are increasing the max conn value, check that there are enough
resources available. To do this from SMQS, choose “goto” in the Menu and then
“qRFC Resources”:
This issue ‘Transaction recorded’ usually happens for Idoc processing and BW
loads.
‘Transaction executing’ is the status when the SM58 entry is triggered for
execution at the target and the source system is waiting for a response from the
target system. This status can occur when connecting to another R/3 system or
connecting with an external program.
You have to check in target system to see whether there are still running
processes transactions (SM66) for the destination user (this is the user you
have setup in transaction SM59 on the source system for logging on to the
Target system). This user can be found in the”Logon & Security” tab of the
used RFC destination.
https://blogs.sap.com/2014/02/12/transactional-rfc-and-common-issues/ 5/8
1/19/2018 Transactional RFC and Common issues | SAP Blogs
If there is nothing running in the target that corresponds to these SM58 entries
in the source system, is it possible that the network connectivity was lost.
This issue can happen when the applications register a huge number of tRFC
calls in the queue on the same TID; with commit when standard program tries
to fetch the entries from ARFCSDATA to execute the registrations there can be
a state of unavailability of memory.
In SMQ1 you can goto “QRFC” in the Menu and then choose reorganize, this
will delete ALL queues in SMQ1. However, if you want to delete selected
queues then you could choose “Edit” in the menu and then choose “delete
selected objects”.
https://blogs.sap.com/2014/02/12/transactional-rfc-and-common-issues/ 6/8
1/19/2018 Transactional RFC and Common issues | SAP Blogs
Check and enhance the calling program in the source system to prevent large
number of registrations in the queue, probably you can restrict the entries to a
particular number and then do the commit.
SAP Notes
Alert Moderator
https://blogs.sap.com/2014/02/12/transactional-rfc-and-common-issues/ 7/8
1/19/2018 Transactional RFC and Common issues | SAP Blogs
2 Comments
You must be Logged on to comment or reply to a post.
Hi,
The blog title says tRFC but then you are mixing tRFC and qRFC without explaining
what a qRFC is plus the advantages over normal tRFC. I find it a little bit confusing.
Regards,
David.
sap bachu
Regards,
Ratnakar B
https://blogs.sap.com/2014/02/12/transactional-rfc-and-common-issues/ 8/8