|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Calling an RFC function module from one system to another
By Gaurab Banerji
Following are the
participant system for our demo purpose:
D05 – System
where RFC function module exists
DS3 – Calling
system (an RFC call is made from this system to D05)
We would develop a
small RFC function module in D05 system, which would add two variables. We would
pass two variables from DS3 to D05 and get back the sum of those two variables
back to DS3.
Activities to be performed in the system D05
Go to SE37 .
> Create Function Group (say ZGB_FUNC), if doesn’t exists .
Now create a New
Function Module ZGB_FUNC01
Under IMPORT Tab,
define the following variables
Under EXPORT Tab
In the Source Code
Now set the
function module as “Remote-enabled module” in the attributes tab.
Activities to be performed in the System DS3
Create an RFC
destination from DS3 to D05.
Go to SM59, Press
RFC Destination name: D05-205-TEST
Connection Type: 3
Test Connection to D05
In The Technical
Settings Tab , enter the system details
, enter the system details
Logon/Security Tab , enter the logon details.
, enter the logon details.
Click on Save. A Popup will
imply that connection has been created
Now Press the TEST
CONNECTION to check the connection.
This means the
connection to the remote system was successful.
If the connection
fails we get an error like this
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards