cancel
Showing results for 
Search instead for 
Did you mean: 

RFC to File scenario.

Former Member
0 Kudos

Hi All,

Can somebody please tell me in short the steps for an Rfc to file scenrio. I want to extract data at the end of the day from R3 and post a file, through xi.

as Rfc is a synchrounous interface and file is an asynch one, i mapped rfc request to file message type in my message mapping but there is no mapping to be done with response as file does not generate a reponse.

My message interface for file is inbound asynchrounous , and for the Rfc its outbound synchrounous.

please suggest the mapping, message interface types to be created and if I need to create reciever determinations and interface determinations for the same.

thanks a lot.

Accepted Solutions (0)

Answers (9)

Answers (9)

Former Member
0 Kudos

hi,

what type of output you are expecting , an rfc ?

check this blog:

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file%28without+bpm%29&;

Thanks,

S.K.Karthikeyan.

Former Member
0 Kudos

hi........

To achive this better to go for BPM.u acn use aynch- synch bridge for this.

Directly u cant map synchronus interface to asynchronus interface.

Sreedhar Goud.

Former Member
0 Kudos

for the sender rfc to file scenario, the abap pgm triggers the rfc by giving the inport parameters and the export parameters are written back to the file.

check the 3 blogs below:

Former Member
0 Kudos

Hi

to do the RFC to file scenario u have to do the following steps.

import the RFC in XI.

create the data type for the request message and respones message.

create the message type for the each data type.

create the outbound synchronous messgae interface from theimpoted RFC.

create the inbound message interface using the message type.

Do the one message mapping between the request message of RFC and the data type, another mapping b/w the secone data type and the response message of RFC.

do the interface mapping b/w both the interfaces.

and configure the scenario in the integration directory.

if u still face the problem please reply me back.

Thanks

Rinku Gangwani

Former Member
0 Kudos

Hi....

Below is the link which will provide the RFC sceanrio step by step. Hope this link will help you.

Former Member
0 Kudos

Hi,

For RFC sender, An rfc destination has to be defined in R/3(TC:sm58). The connection has to be of type 'T' i.e TCP/IP, the rfc destination requires Gatewayhost , Gateway service and Program id (Any userdefined name).

Thanks,

Kiran.

former_member537867
Active Contributor
0 Kudos

Hi,

Plz go thru this thread

Regards,

Vinod.

Former Member
0 Kudos

For this scenario:

1)Import your RFC to XI.

2)create only message type.

3)download the .xsd from sender and import them on reciver side(file system)

4)then do message mapping.

I think this will resolve your problem.please rewads points if your problemis resolved.

regards,

hitesh

Former Member
0 Kudos

You can refer to below link

Gaurav Jain

Reward Points if answer is helpful