cancel
Showing results for 
Search instead for 
Did you mean: 

RFC -> XI -> File

Former Member
0 Kudos

Hello,

I have a scenario where I must create a flat file from data in the SAP. I created a report that prepares the data and the calls RFC on destination 'XI' with the data.

This works and the file gets created but I am getting errors on the XI log. I guess it's because the RFC is expecting some kind of response.

Is there any way around this WITHOUT BPM? What will happen if I create an ASYNC message inteface for the RFC? will this help?

Thanks,

Yoni

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Yoni,

You do not need a BPM. You can use a Sender RFC adapter -- XI -- File.

Just make sure you use a Asynch Interface for the RFC.

Take a look at this blog,

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

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

Regards,

Bhavesh

former_member206604
Active Contributor
0 Kudos

Hi,

By default RFC is Sync and hence expecting a response message and obviously there is no response.

While calling the RFC make it Asyn by calling it in background task.

Thanks,

Prakash

Former Member
0 Kudos

I tried running the program in background mode by scheduling a job in sm36 and I still get the same error. Is there another way to run RFC in background?

Thanks

Yoni

Former Member
0 Kudos

OK, it works!

call function '' in background task destination ''

Answers (0)