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

Checking RFC destination availability

Hello,

In a transaction I'm working on, I loop at a table containing RFC destinations, and I call the same function module on each of these destinations. What I would like to do is, prior to the call, test if the system behind the RFC destination is available (neither completely crashed, nor just blocked by an administrator).

I tried to do this by simply calling any BAPI on the remote system, and check if there was a connection error. But the problem is, if the system is not down but just blocked by an administrator, the transaction suddenly displays the logon page of the remote system.

Do you know of a simple way to do this ?

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2007 at 02:03 PM

    Ok I will try. In the meantime, to avoid the sudden display of the logon page of the remote system, I had the idea of executing an RFC in background task. The problem I have with this method is that I don't know how to check how the RFC happened when I execute it in the background. Do you have an idea ?

    Thanks a lot for your help.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 08, 2007 at 01:46 PM

    Hello Thomas

    You can use function modules <b>RFCPING</b> and <b>RFC_PING</b> to check the connection and and authority (see also report RSRFCPIN).

    Regards

    Uwe

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2007 at 01:55 PM

    Hello, sorry for the previous question, I have just understood the thing...

    But does it resolve the case when the system is reachable (meaning the logon screen can be accessed), but with all functions blocked by an administrator ?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2007 at 01:38 PM

    In a RFC destination, you require to give logon credentials of a system.

    user and password.

    UNDER logon/ security tab.

    Do you have same credentials for every system?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2007 at 01:44 PM

    Yes I have, all the RFC destinations contained in the table are defined in the system on which the transaction is used. I don't know if all these user/passwords are the same (I think so though). Why is it important ?

    Message was edited by:

    Thomas Debouverie

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2007 at 01:50 PM

    Hello, thank you for your answers.

    I have taken a look a the two function modules you gave, and have found their source code completely empty.

    Add a comment
    10|10000 characters needed characters exceeded

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.