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.
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.
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
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