07-05-2007 7:21 AM
Hi,
Is it possible to use an rfc from one server to another on the same network?
My Idea was that we can do so, however there's a little confusion about the same .
Please clarify.
Regards,
Vikas
07-05-2007 7:38 AM
07-05-2007 7:38 AM
07-05-2007 7:39 AM
07-05-2007 7:44 AM
Hi Vikas,
Yes, it is possible to call an RFC from any R/3 system on the network,
To do this first check RFC destination in transaction SM59
under R/3 Connections,
here you provide the necessary login details and test the connection,
then in your report program where you call the RFC, use the
DESTINATION keyword,
e.g. CALL FUNCTION xyz DESTINATION '<RFCDEST>'.
note: xyz must be present on the remote system...
Regards,
Samson Rodrigues.
07-05-2007 7:44 AM
Hi,
call SE37 and search for RFC* with F4.
Sending system side(SEND--800)
-
Create function module by using Tcode SE37 or SE80
goto attributes select remote function
activate
Receiving system side(RECE--000)
-
goto Tcode SM59
here select the R/3 Connections-->click on Create Button
give RFC Desstination : TESTRFC
Connection Type : 3 for Connecting two systems
Description : Some meaningful Description
Press enter
give Target system Name : SEND
Language : EN
Client : 800
user Name : sapuser
Password : xxxxxx
save this connections & click on test connections(f8)
& Remote logon(f7)---> it will open a session
with client 800 that is your sending system
then only your RFC is correct
create a report in SE38 Tcode
data : c1 type i.
data : itab like mara occurs 0 with header line.
call function 'ZRFCFM' destination 'TESTRFC' --->Function Module 'ZRFCFM' your just create at Sending system
exporting
importing
exceptions
<b>Reward points</b>
Regards