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

RFC

Former Member
0 Likes
666

Hi any one tell me What is the Significance of RFC? what is the need of RFC? What are different types of RFC's..where we will use this RFC.

Please help me.

Thanks in advance.

Regards

vamsi.

6 REPLIES 6
Read only

abdul_hakim
Active Contributor
0 Likes
634

RFCs(Remote Function Calls) can be called from the same SAP system or from the external systems..RFCs are implemented by means of Function Modules.The main functionaly of this is used to access the SAP Business Objects/Functions from external systems.For eg you may need to access the Vendor Details which are stored in the SAP system from your Java Application hence you could end up with using RFCs here...Keep in mind that you could also use BAPIs in this case afterall BAPIs are remote enabled...

Cheers,

Hakim

Mark all useful answers..

Read only

Former Member
0 Likes
634

Hi Vamsi,

check the following link.

http://help.sap.com/saphelp_46c/helpdata/en/22/0424ce488911d189490000e829fbbd/content.htm

hope this helps,

Regards,

Kinshuk

Read only

Former Member
0 Likes
634

Hello,

Communication between applications of different systems in the SAP environment includes connections between SAP systems as well as between SAP systems and non-SAP systems. Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. The RFC calls a function to be executed in a remote system.

Types of RFC:

Synchronous RFC

Transactional RFC (tRFC)

Queued RFC (qRFC)

http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm

Regards,

Beejal

**reward if this helps

Read only

Former Member
0 Likes
634

Hi Vamsi,

Remote Function Call:

RFC is an SAP interface protocol. Based on CPI-C, it considerably simplifies the programming of communication processes between systems.

RFCs enable you to call and execute predefined functions in a remote system - or even in the same system.

RFCs manage the communication process, parameter transfer and error handling.

RFC:

Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. The RFC calls a function to be executed in a remote system.

Synchronous RFC:

The first version of RFC is synchronous RFC (sRFC). This type of RFC executes the function call based on synchronous communication, which means that the systems involved must both be available at the time the call is made.

Transactional RFC (tRFC) and Queued RFC (qRFC). tRFC is used mainly to transfer ALE Intermediate Documents (IDocs).

Transactional RFC:

If an error occurs during a synchronous remote function call, the system cannot tell at what point the error occurred (most crucially, whether the function module was actually processed in R/3 before the operation failed). Restarting a failed call is therefore a dangerous thing to do, since you risk duplicating a completed function call.

To alleviate this problem, you can use transactional RFC, which guarantees that each function call you issue will only be executed once, even if you submit it repeatedly to the R/3 System. The system implements this safeguard by assigning a unique transaction ID (TID) to each transaction that you submit. When you attempt to process the transaction, the system checks whether that TID has already been processed. If it has, the transaction is ignored.

Queued RFC:

When you use transactional RFC, you cannot guarantee the order in which the function calls will be processed in the system (it is quite possible that one call might overtake another). For cases where you need to specify a particular processing order, you can use queued RFC, which is an extension of transactional RFC. In qRFC, you place each function call in a logical queue. A function call cannot be executed until all of its predecessors in the queue have been processed. Queued RFC calls are processed asynchronously

For more information on RFC, please go through the link.

http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm

Have a look at this link.

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE2/BCFESDE2.pdf

http://help.sap.com/saphelp_47x200/helpdata/en/22/042860488911d189490000e829fbbd/frameset.htm.

Regards,

Priyanka.

Read only

surjith_kumar
Active Contributor
0 Likes
634

Hi,

RFC is More are less same as Function Module, If you calling a function module from difference Server it is not possible , if it is an RFC you call it

SAP R/3 <----


CRM

if you want access some function from CRM , you have to call through RFC.

the Creation of RFC is in SE37, in the attribute tab you Select the Radio Button Remote-Enabled Module. Then the RFC will be Created.

Regards,

Surjith

Read only

Former Member
0 Likes
634