‎2006 Jan 09 11:14 AM
Hi All,
I have an urgent requirement.my requirement is i Have a RFC enable function module in another System(server) i want to execute that function module.Is it possible.
If yes please give me the steps how to do that.
is there any function module.
Thanks in advance
kiran i
‎2006 Jan 09 11:19 AM
use call function statement with 'destination' addition.
this is what the Documentation says..
CALL FUNCTION - DESTINATION
Syntax
CALL FUNCTION func DESTINATION dest [EXPORTING p1 = a1 p2 = a2 ...]
[IMPORTING p1 = a1 p2 = a2 ...]
[CHANGING p1 = a1 p2 = a2 ...]
[TABLES t1 = itab1 t2 = itab2 ...]
[EXCEPTIONS [exc1 = n1 exc2 = n2 ...]
[system_failure = ns [MESSAGE smess]]
[communication_failure = nc [MESSAGE cmess]]
[OTHERS = n_others]].
.
Effect
Synchronous call of a remote-enabled function module specified in func using the RFC interface. Use addition DESTINATION to specify the destination in dest. For func and dest, character-type data objects are expected. After terminating the remotely called function, the calling program is continued after CALL FUNCTION.
...
‎2006 Jan 09 11:19 AM
use call function statement with 'destination' addition.
this is what the Documentation says..
CALL FUNCTION - DESTINATION
Syntax
CALL FUNCTION func DESTINATION dest [EXPORTING p1 = a1 p2 = a2 ...]
[IMPORTING p1 = a1 p2 = a2 ...]
[CHANGING p1 = a1 p2 = a2 ...]
[TABLES t1 = itab1 t2 = itab2 ...]
[EXCEPTIONS [exc1 = n1 exc2 = n2 ...]
[system_failure = ns [MESSAGE smess]]
[communication_failure = nc [MESSAGE cmess]]
[OTHERS = n_others]].
.
Effect
Synchronous call of a remote-enabled function module specified in func using the RFC interface. Use addition DESTINATION to specify the destination in dest. For func and dest, character-type data objects are expected. After terminating the remotely called function, the calling program is continued after CALL FUNCTION.
...
‎2006 Jan 09 11:19 AM
Hi,
1. Create a RFC destination thru SM59 for that system.
2. From ur system call the fM with the extensiion DESTINATION <created RFC destination name>
Sreedhar
‎2006 Jan 09 11:21 AM
Hi kiran,
1. use CALL FUNCTION DESTINATION 'PRDSERVER'.
2. The PRDSERVER
should be a system defined in sm59
-- Node is R/3 Connections
(take help of your basis team)
regards,
amit m .
‎2006 Jan 09 11:23 AM
Hi Kiran
It is very much possible, Check out this link it will Explain all your Quaries.......
http://help.sap.com/saphelp_47x200/helpdata/en/22/042537488911d189490000e829fbbd/frameset.htm
Regards
Mithlesh Kumar Jha
‎2006 Jan 09 11:24 AM
Hi Kiran,
YOU can very well call RFC FM from other server . Please see the given <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/f9/3f69fd11a80b4e93a5c9230bafc767/content.htm">LINK1</a> or <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/22/04256b488911d189490000e829fbbd/content.htm">Link2</a> or <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/22/042860488911d189490000e829fbbd/frameset.htm">Link3</a>
Hope This Info Helps YOU.
<i>Reward Points If It Helps YOU.</i>
Regards,
Raghav