cancel
Showing results for 
Search instead for 
Did you mean: 

Do I need to Define Interfaces for RFC

Former Member
0 Kudos

Hi,

I am doing RFC to File. I want to get the RFC response to an xml file. If I do using BPM , then 1.Should I define Interfaces for RFC as Abstract Interfaces?

Do I need to create any Interfaces for RFC ?

Should I map RFC request to File or RFC Response to File?.

Regards,

Varun

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If you are Looking for the same Blog means check this

send Response from RFC to File in Asyn Mode Using Proxy

Regards

Seshagiri

Answers (5)

Answers (5)

Former Member
0 Kudos

U can do this without a BPM

Refer this link

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file(Without%2bBPM)

If u r using a BPM

Refer

Former Member
0 Kudos

HI Varun,

As all suggested u with out BPM u can do it and

If u want to send the response from RFC Response to a file then U need to do mapping between RFC response_MT to File_response_response.then only u will get the response in to the file.U need to create the interface for RFC to send the response to file system and similarly u need to create interface at the file system.

I hope u clear for a bit.

Thanks & regards

Farook.

Former Member
0 Kudos

Hi Varun,

For RFC to File no need to use BPM. You can try without it also.

Just create Outbound(RFC MT) and Inbound(File MT) Interfaces Synchronous.

Two Mappings Req and Res

RFC-File(Request)

File-RFC(Response)

In ID:

Create Two Bussiness Services: RFC_BS(mention Outbound interface) and File_BS(mention Inbound interface)

Create Communication channels: RFC_Sender_CC(RFC adapter) and File_receiver_CC(File adapter)

Create Sender agreement, Interface determination, Receiver Determination, receiver agreement

Regards,

Nutan

former_member192295
Active Contributor
0 Kudos

HI,

For this scenario no need BPM, we can do without BMP. Create two file interfaces one for request and another for response and configure accordingly.

Files........................RFC(Request)...Process----


RFC Response.......................File

I hope now clear

former_member183906
Active Contributor
0 Kudos

Hii

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/abap%2b-%2bsimple%2bprogram%2bto%2bcreat...

https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-Simpleprogramtocreatesalesorderusing+BAPI

RFC to SOAP

saptechnical.com/Tutorials/XI/RFCtoSOAP/page1.htm

RFC-Webservice

saptechnical.com/Tutorials/XI/RFC2WebService/Page1.htm