You are on page 1of 3

SAP Community Network Wiki - Process Integration - How to setup RFC Destination

1 of 3

http://wiki.sdn.sap.com/wiki/display/XI/How+to+setup+RFC+Destination

Welcome, Guest
Login
Register
Getting Started
Newsletters
Store

Solutions
Services & Support
About SCN
Downloads
Industries
Training & Education
Partnership
Developer Center
Lines of Business
University Alliances
Events & Webinars
Innovation

How to setup RFC Destination


Added by Arpit Goyal, last edited by Arpit Goyal on Aug 20, 2009
RFC Destination is one of the way to connect from an ABAP system to an external system. This weblog talks about the basic HTTP connection to external server (type G).
Business usecase from my area of expertise is connecting any R/3 system to a CE ESR (mainly for Proxy generation of Services Modeled in ESR).

Step 1:
Go to transaction SM59.
UI looks like as follows:

Step 2:
As shown in the picture above, select the HTPP connection to external server and click on the Create icon (marked in red).
RFC Connection UI will come up. Fill in the necessary details as shown below:

Note that RFC Name should be unique, connection type should be Type-G.
Other information you need to enter is the host (or IP), Port and the Context root. The following URL should match the service deployed on AS.
A good example to use the RFC destination will be to write a small ABAP code to establish connection to a servlet deployed on AS. User can use HTTP protocol to invoke it from ABAP.

29/01/2013 11:22

SAP Community Network Wiki - Process Integration - How to setup RFC Destination

2 of 3

http://wiki.sdn.sap.com/wiki/display/XI/How+to+setup+RFC+Destination

Step 3:
Click on the save icon

Press

and you will recieve an info message stating "HTTP connection may not be secure" which is true.

to continue.

Step 4:
Now most of the application which the RFC destination points to will require some basic authentication. And if it is not provided part of the RFC destination, quite possible when the program uses the
RFC Destination, it prompts for username-password! So lets enter the logon & security details as shown below:

Step 5:
Click on the save icon

and now press on the connection test button to see whether the server is available or not. Incase the entries point to the correct system, output should be somewhat similar

as shown below:

More info:
- Incase wrong entries are provided error message comes at the status bar:

- Connection test DO NOT check the credentials. Even if wrong credentials are passed this information is not validated.
Next steps... write small abap code to invoke a servlet...!!! Sounds simple & interesting.

Labels
rfc destination abap beginners

Follow SCN
Contact Us

29/01/2013 11:22

SAP Community Network Wiki - Process Integration - How to setup RFC Destination

3 of 3

http://wiki.sdn.sap.com/wiki/display/XI/How+to+setup+RFC+Destination

SAP Help Portal


Privacy
Terms of Use
Legal Disclosure
Copyright

29/01/2013 11:22

You might also like