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

Regarding creating RFC

Former Member
0 Likes
725

Hi frnds,

Can u pls send me some doc/link or explain me how to craete RFC from scratch.

I know the basic like rfc definition, Types of rfc, difference between those.

I want to know how to send data from one sap sytem to non-sap sytem the whole process. How the FM is build from the very beginning.

Thanks ankita

1 ACCEPTED SOLUTION
5 REPLIES 5
Read only

Former Member
0 Likes
705

Hi

In this case it's very important to understand who is calling and who is called.

If u need to send data from SAP system to non-SAP system, u need to know how to call a RFC function defined in non-SAP system, so u need to know how to create it in that system: this depends on the non-SAP system.

If yuo need to define RFC in SAP system, it means to need to create a link from non-sap system to sap.

So what do you really need to know?

Max

Read only

0 Likes
705

Hi KPN,

I have gone through that doc before regarding rfc types and bapi. i know bapi is rfc but all rfc are not bapi.

MAX,

I wanted to know how to how to create a FM group, assign FM, implementing the rfc, implemeting in the remote system and then calling rfc getting the data the whole senario....how it works.

PLS HELP ME

Read only

0 Likes
705

Hi

There 's not a really big difference with to create a function group and no rfc function module.

The RFC in SAP is a function module where the flag to REMOTE CALLING is setted in the attribute: so u can use trx SE80 in order to create a function group and SE37 (or SE80) in order to create the fm.

Now if you define the RFC in SAP, it means your NON-SAP system calling this FM in order to dialogue to SAP: so it's very important the interface parameters of RFC function module: because the data can be transfered:

- From non-SAP (system calling) to SAP (system called) by IMPORT and TABLES parameters

- From SAP (system called) to non-SAP (system calling) by EXPORT and TABLES parameters.

How to call a SAP rfc fm from non-SAP system depends on non-SAP systems, which kind parameters have to be use as IMPORT/EXPORT/TABLES parameters depend on which data you need to transfer.

For example:

The non-SAP system need to know the master data of a customer, so it can create a RFC function module with:

- Customer code as IMPORT parameter

- KNA1 as EXPORT parameter

When non-SAP calls that rfc transfere the customer code and SAP will returns the record read from KNA1.

U should consider u can need an help from your basis or your administrator in order to create the link beetwen remote system and SAP.

Max

Read only

0 Likes
705

Little bit clear form ur message.

Can you post any doc in respect to rfc like the example u gave for customer master data

Thanks for help..really appreciate it