cancel
Showing results for 
Search instead for 
Did you mean: 

difference between RFC and LOGICAL destination

Former Member
0 Kudos

Hi all,

what's the difference between RFC and LOGICAL destination from a BAPI-ALE point of view.

Accepted Solutions (0)

Answers (4)

Answers (4)

hymavathi_oruganti
Active Contributor
0 Kudos

RFC is a remote enabled functiona module.

for calling RFC we need to set up DESTINATION in SM59.

call fn DESTINATION <b><DEST></b>

<b><DEST></b> is the destination set up in <b>SM59</b>.

similarly, for ALE connection, we need to set up a connetion woth the other client or server, so we need to set up destination in SM59.

BAPI is an interface which uses RFC

athavanraja
Active Contributor
0 Kudos

check out this link to understand LOGICAL SYSTEMS

http://help.sap.com/saphelp_nw04/helpdata/en/b4/b0b13bb3acef3ce10000000a11402f/frameset.htm

in simple terms:

Logical system - an alias name for a system client

RFC destination - a connector pointing to a logical system for connection

Regards

Raja

Former Member
0 Kudos

When u give CALL FUNCTION <fm> destination <dest>

this means ur function will execute on destination <dest>

This <dest> is ur RFC destinations name assigned to an SAP system client.

use SM59 to maintain these RFCdestinations

Logical systems and RFC destinations names could be same and different as well.

Thanks & Reagrds,

Ankur

Former Member
0 Kudos

RFC(Remote Function call) is a function module which can be called remotely to transmit/receive information

Note : BAPI's can also be called remotely.

Logical destination helps call the external system to call the function module remotely and vise-varsa.

Former Member
0 Kudos

Hello KPJ,

RFC - Remote Function Call

Logical Destination - Remote System towhich RFC is made.

In the example below, 'Y_CREDIT_CHECK' is a Remote-enabled function. R3ADAPTER is the Logical Destination (remote third party system).

<i>report y_credit_check .

parameters : p_acctno like ekko-ebeln,

p_amount like ekpo-netwr.

data w_status like ztbl_flag-zfl_trnxflag.

call function 'Y_CREDIT_CHECK'

destination 'R3ADAPTER'

exporting

account_no = p_acctno

amount = p_amount

importing

statuslike = w_status

exceptions

communication_failure.

if sy-subrc = 0.

write: 'Credit Status:',

w_status.

else.

message s000(zm) with 'TIBCO is not reachable!'.

endif.</i>

Thanks,

Venu