Skip to Content
avatar image
Former Member

Custom Report for displaying mass RFC Connection test result

Hi Gurus,

As a daily monitoring job checklist, we have to do the connection test for all the RFCs connections in SM59. Is their any way to test and check status of all the connections of RFCs at once. (In a single time as a mass)

I have already checked SAP standard program RSRFCCHK & RSRFCPIN.

But it doesn't suit my requirement.

As i need to test connection of RFC as a mass with one REPORT.

Can you please help me to build a custom Report for this in ABAP.

Thanks in advance.

Thanks & Regards

Priyabrat Pattanayak

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jun 13, 2017 at 08:01 PM
    1. Read RFC destinations (table RFCDES)
    2. Loop at each RFC destination
    3. Use function module RFC_PING to test each RFC destination
    Add comment
    10|10000 characters needed characters exceeded

  • Jun 14, 2017 at 06:24 AM

    What exactly bothers you about report RSRFCCHK (one report, selection of destination available, mass check, RFC_PING)

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 13, 2017 at 07:50 PM

    You could create a custom program to test the RFC connections. We have one that will check one at a time.

    * Program Title: Z_RFC_TEST -

    * Test RFC destination, raise a background event on failure
    * Description:
    * The program will first check to see if the RFC destination
    * is accessible. If it isn't a background processing event
    * will be raised based upon the event on the selection
    * screen. The raising of the event will trigger a
    * background job that will run an external UNIX shell
    * script that will page someone letting them know that
    * the RFC destination is not accessible.

    The following FM tests an RFC destination

    * " Check if RFC destination is available
    call function 'RFC_GET_SYSTEM_INFO'
    destination = w_destination
    rfcsi_export = w_rfcsi_export.
    if w_rfcsi_export is initial. " raise event, which starts job to page

    Add comment
    10|10000 characters needed characters exceeded