Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

what are steps to call a FM from one sap to another sap

Former Member
0 Kudos

what are steps to call a FM from one sap to another sap

points will be rewarded,

thank you,

Regards,

Jagrut BharatKumar Shukla

1 ACCEPTED SOLUTION

Former Member
0 Kudos

First of all create the logical system via SM59

Then call the RFC-FM from one SAP giving the logical system name

3 REPLIES 3

Former Member
0 Kudos

First of all create the logical system via SM59

Then call the RFC-FM from one SAP giving the logical system name

former_member181962
Active Contributor
0 Kudos

CReate an RFC destination, say DEST, for the other sap system in the sap system using the TCODE SM59.

Then call the RFC FM using the statement

call function 'RFCXXXXXX'

destination DEST

exporting....

importing..

tables..

REgards,\

Ravi

former_member150733
Contributor
0 Kudos

Important thing is that the FM you are calling must be available in the target system and Remote enabled.

1. Create a RFC Destination using T.Code SM59. (say MYTARGET)

You can test the connection in SM59 itself.

2. In the program

call funtion Function_module_name

destination MYTARGET

..

parameters

...

Regards,

Anish Thomas

<i>Pls reward useful answers</i>