cancel
Showing results for 
Search instead for 
Did you mean: 

RFC To File Scenario

Former Member
0 Kudos

Hi,

I need to Configure a Scenario in such a way that when I Execute RFC

(Asynchronous without using BPM) the Output should be Sent to File by using XI.

Imported RFC.

While Creating Message mapping it should be Request or Response for RFC structure for source target?

I want to know one more thing when to use request & response structure of RFC while RFC is a sender interface?

Created a File Data type, Message Type, Inbound Asyn Message Interface.

Thanks in Advance.

Anuj Agarwal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In your case you will have to map the Response of the RFC as source to your output file structure.

Request of the RFC is used when you want to call the RFC by sending some data to it, whereas response is used when you get some data from the RFC when it executes.

Regards,

Samson Rodrigues.

Former Member
0 Kudos

Thanks samson,

One more thing I need to ask.. we did the RFC configuration in SM59 .

Do we need to create a configuration from XI site also?

Thanks

Anuj Agarwal

Former Member
0 Kudos

Hi Anuj,

It is not necessary to create a RFC destiantion in XI, if the scenario is RFC-XI-FILE.The RFC destination which is to be created in R/3 should be of type "T" (TCP/IP)

Regards,

kiran.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi-

<i>While Creating Message mapping it should be Request or Response for RFC structure for source target?</i>

Request

<i>I want to know one more thing when to use request & response structure of RFC while RFC is a sender interface?</i>

Exactly what Samson Rodrigues has said above

Request of the RFC is used when you want to call the RFC by sending some data to it, whereas response is used when you get some data from the RFC when it executes.

You also need to do the following ie.(IDX1 and IDX2)

i) You have to create a TCP/IP destination

ii) When you execute the RFC you will be asked for a RFC destination. You specify the destination you have created above while executing.

bhavesh_kantilal
Active Contributor
0 Kudos

Anuj,

What you use as your Outbound Mressage Interface's Message type depends purely on your requirmeent?

What do you want?Do you want to send a RFC request as a XML file. If yes the Outbound Interface created will use the RFC request as the message type.

Check this blog for more details,

/people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous

Regards

Bhavesh