‎2009 Feb 18 6:17 AM
Hi All,
We have 2 systems; system 1 (client 420) and system 2 (client 600).
I just want to know that how can a RFC-enabled function module be called from one system (420) whereas the RFC-enabled functio nmodule exists in the other system (600).
Also, as per my understanding any RFC-enabled function module is a BAPI. Please confirm.
Please help.
Thanks & Regards,
Namrata
‎2009 Feb 18 6:38 AM
hi,
chk this link
http://help.sap.com/saphelp_46c/helpdata/en/22/042518488911d189490000e829fbbd/content.htm
regards
Gokul
‎2009 Feb 18 8:53 AM
Hi,
RFC enabled FM can be called from anther system:
From 420 we can call RFC FM residing in 600, through RFC destination cretaed in SM59 tcode in 420 client.In sm59, maintain the entries of destination system i.e 600.and test the connection whether it is succesful or not/ through remote logon.
suppose in 420 client , in sm59 u have cretaed with destination DEST600 say.
In 420, u can code as below..
Call 'RSSDK_LOGSYS_REMOTE_CHECK' destination DEST600
exporting
I_QSYSTEMNAME =
tables
E_T_MSG =
there exist difference between BAPI/RFC.
BAPI always return messages / RFC doen't.
BAPI follows ceratin naiming convetions while defineing the parameter structures ( ex BAPI_..)
In bapi , no dialog screens can be called.
In bapi, statements liek COmmit work/Call Transaction/Submit...shouldn't exit.
Bapi's are implemented as FM's and are stored as methods in Business Object repository.
another Ex for RFC
RSAN_LOGSYS_DETERMINE
Revert back if any issues,
Reagrds,
Naveen
Edited by: Naveen Deva on Feb 18, 2009 9:54 AM
‎2009 Feb 18 9:08 AM
Hi Namrata,
Check this useful link for calling RFC, it will surely help just go through it.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE2/BCFESDE2.pdf
also, as per my understanding any RFC-enabled function module is a BAPI.
No, All BAPIs are RFC enabled but the reverse is not true.
BAPI_PO_CREATE is RFC enabled, but it a BAPI (check the Attributes tab, radio button Remote-enabled FM)
RFC_READ_TABLE is also RFC enabled but not a BAPI
Sachin
‎2009 Feb 19 5:04 AM
HI,
All BAPIs are rfc enabled. And to call rfc enabled function module folloe the below syntax.
CALL FUNCTION '<FM Name>'
DESTINATION <destination-system>.
Thanks,
Asit Purbey