Skip to Content
author's profile photo Former Member
Former Member

Wait for RFC

Hi,

We are experiencing RFC connection issues between two SAP instances. When putting a trace in place in ST12 in the destination instance, we see that a large % of ABAP time is spent in "wait for RFC" and looking at the code we see program SAPMSSY1. How do we go about finding out what the problem is? When we put a breakpoint in place, we find that the user is not appearing in SM66 or SM50 / SM51 so that we can't debug the RFC call. Any ideas that will help us figure out what arguments are being passed that result in the "Wait for RFC"?

Thank you,

Mike

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 06, 2009 at 10:15 PM

    Not sure, this tip may helps u that, go to MENU >System debuggin ->update debugging in debugging session.

    Or go to SMQ1, then select your qeue and then go to MENU-->Debugging

    By the way, the user is a DST_RFC_USER / WF_BATCH?

    thanq

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2010 at 02:26 PM

    Hi Michal Szopinski

    Please share with me , how did you resolve this issue?

    I am facing the same issue.

    Regards,

    Karthick Eswaran

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Michael,

      You can debug RFC with a simple trick.

      Please use the following code for debugging ther RFC and then call the RFC from the remote system and then use the TCODE :SM50 (Select your session)--> Program/Session --> Program (Debugging).

      Then change the value of the variable of Var to 1 or else it will be in infinite loop.

      Then you can start debugging the RFC.

      DATA : VAR TYPE i.

      DO.

      IF VAR = '1'.

      EXIT.

      ENDIF.

      ENDDO.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.