Application Development and Automation 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: 
Read only

FM in RFC

Former Member
0 Likes
1,044

HI all

when we make RFC call e.g. using BAPIs, then which system FM are involved, as they fetch data from one server to another, they also fetch import , export parameters, which are these FM .

Regards

Martin

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,015

Hi MArtin,

CALL FUNCTION...DESTINATION = 'NONE'

This is a remote call, even though DESTINATION = 'NONE' means that the remote function will run in the same system as the caller. As a remote call, the function module runs in its own roll area, and parameter values are handled as for other remote calls

http://help.sap.com/saphelp_nw04/helpdata/en/22/042551488911d189490000e829fbbd/content.htm

Regards

Sudheer

HI all

when we make RFC call e.g. using BAPIs, then which system FM are involved, as they fetch data from one server to another, they also fetch import , export parameters, which are these FM .

Regards

Martin

7 REPLIES 7
Read only

Former Member
0 Likes
1,016

Hi MArtin,

CALL FUNCTION...DESTINATION = 'NONE'

This is a remote call, even though DESTINATION = 'NONE' means that the remote function will run in the same system as the caller. As a remote call, the function module runs in its own roll area, and parameter values are handled as for other remote calls

http://help.sap.com/saphelp_nw04/helpdata/en/22/042551488911d189490000e829fbbd/content.htm

Regards

Sudheer

Read only

0 Likes
1,015

Hi Sudheer,

Actually i want to ask when we use

CALL FUNCTION ........... DESTINATION 'ZDEST'

then which are the FM involved by the system so it maps the another server using that Destination and i know how the communication takes place but i want to know the names of FM used by the System to do the same.

Regards,

Martin

Read only

0 Likes
1,015

Hi martin,

1. FM involved by the system so it maps the another server using that Destination

There is no such FM directly.

The destination is mapped in SM59.

2. With the destination keyword,

the system understands that it is a RFC,

and based upon its comuunication and protocol,

directly communicates with the relevant system.

(There is no FM which comes in between)

(it is a direct feature of abap language and sap facility)

regards,

amit m.

Read only

0 Likes
1,015

Thankx Amit,

Its a grt information for me.

Actually what i want to is , when we use RFC and access it from another server , we have to copy that remote enabled FM from server to our client machine, because in our client machine we will not get the reference of the FM which is available in server. So what i want to do is Creating a new FM which will take name of the remote enabled FM and all the import export tables parameter it will fetch from server to our clinet machine.

Regards,

Martin

Read only

0 Likes
1,015

Hi again,

1. When we call rfc from A to B,

the FM should exist in B

(If it does not exist in A, its perfectly fine. Bcos the server

will search the FM in B only)

2. So from the B machine,

we can always take the FM name,

export import parameters

and type them in our A machine manually.

( we can open se37 in B, and copy/paste the exporting/importing parameters,

also we can check the first lines of commented code in se37, where

the syntax is somewhat available)

regards,

amit m.

Read only

0 Likes
1,015

Thank u very much Amit.

Read only

0 Likes
1,015

Martin,

As per my understanding you don’t have the copy of the remote FM on our server…..

Answer is you don’t even need it. What you got to do is manually call the remote FM (without using pattern). When ever you use call function ‘XYZ’ destination ‘ABC’ sap system does not do a syntax check.

Don’t forget to handle exception.

Regards,