RFC Connection Test Program

light11RFC Connection Test Program

 

 


Programmers use Tx- SM59 to create a RFC connection and they can perform a rfc connection test by using the button [ Connection Test] to check if the connection is working or not.

So below we have SM59, RFC Destination and the connection test works fine.

12


At times, programmers develop reports that makes rfc connection and perform business intensive operations. The programmer can build the report that the report can run in Test mode and in production mode. In test mode the program only checks if the rfc connectivity is working or not and in the production mode actual RFC FM can be called.

In such a case to test if the rfc connection is working or not  the standard RFC enabled FM- RFC_PING  can be used in the program.

910


The  below program shows the uses case of using FM-RFC_PING in test mode to check the rfc connectivity.


So below we have the report. 

34


Used message  in program.

11.jpg


Execute in test mode.

56


you may give a rfc destination which is incorrect and we have the below message.

78


 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s