cancel
Showing results for 
Search instead for 
Did you mean: 

Creating RFC Interface

Former Member
0 Kudos

Hi all,

I am doing RFC to FILE scenario. I am writing the RFC, as per my knowledge i must create a function module with remotely enabled and RFC destination.what are the other steps i must do it in sap system.

where this function module get called?

Can anybody explain me how the message is coming from SAP to XI.

Kind Regards

prasad.

Accepted Solutions (1)

Accepted Solutions (1)

prabhu_s2
Active Contributor
0 Kudos

The RFC F/N module is called in the R3 system where it is created. The RFC adapter resides in Java stack and thru JCO connection it gets the meta data from the R3 system and converts the call into RFC XML which is passed to integration steps in XI

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

Also Go through this Link

Regards

Khanna

former_member181959
Contributor
0 Kudos

Hi,

Create a RFC with Remote Enabled option in SE37.

After that activate the RFC and goto IR part of XI.

Then you need to import the RFC created and do that necessary mapping and create necessary configuration objects ID.

for more info plsz go tru the links below,

-Troubleshooting - RFC and SOAP scenarios

/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

-Configuring the Sender RFC Adapter - step by step

/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

-sender RFC (forum thread)

Hope this helps.

-Prasad Babu.

Message was edited by:

PrasadBabu Koribilli

Former Member
0 Kudos

Hi all,

Thanks for your quick reply, my question is where the message get trigger first is it in SAP side or XI side.

1) Is RFC adapter go to sap and pick the data?

2) do we need to execute the function module in sap using any background job?

Kind Regards,

Prasad

Shabarish_Nair
Active Contributor
0 Kudos

you will trigger the RFC from R3 and the data will come into XI.

Actually, i have written the following blogs that constitutes a RFC adapter and a RFC in R3.

Check if this helps;

/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1

/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

former_member181959
Contributor
0 Kudos

Hi,

Yes you need to execute that RFC in a ABAP program (for example). So that i posts the data to XI. or else you can test by executing in SE37 by providing RFC destination SAP XI.

Hope this helps.

-Prasad Babu.

Message was edited by:

PrasadBabu Koribilli

Former Member
0 Kudos

Hi

<i>how the message is coming from SAP to XI.</i>

In the IR you can import the RFC from R/3 system.

Click on the Imported Objects and right click on the RFC and choose import the RFC.

Do not forget to change the option in the namespace.Click on Import of RFC/iDoc allowed.

Thanks

Shabarish_Nair
Active Contributor
0 Kudos

you will also have to confgure the RFC adapter for the data to be send to XI;

Ref below links for more details;

RFC adapter Sender- /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

trouble shooting rfc/soap -

/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

Former Member
0 Kudos

hi,

complete the coding in the remote enabled FM and activate it.

in XI IR, double click on the SWCV and check the radio button import of RFC permitted and give the details of the SAP system.

then, you can right click on the imported objects and import your RFC into IR.