cancel
Showing results for 
Search instead for 
Did you mean: 

Can SAP R/3 send RFC response to Xi

Former Member
0 Kudos

Hi ,

I have one scenario where Sap has to trigger an RFC call and shouls send the response to XI and the Xi should write that response to file .

How to send just response of RFC to XI ??

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can use client ABAP proxy for your scenario. Execute the RFC in SAP R/3. The response of the RFC will be available in a variable in the RFC. Send that as a input to XI using Client ABAP proxy.

For more info on ABAP Client Proxy go thro this blog,

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

Hope this helps.

Regards,

P.Venkat

Former Member
0 Kudos

Hi Venkat ,

The exmaple which you have given has two XI clients however I have only one XI client , so can we achieve this using only one XI client ?

MichalKrawczyk
Active Contributor
0 Kudos

hi,

you need to map the RFC response

(if your first RFC is executed on the R3)

to an RFC.request (with rfc dest XI)

of a new RFC which will be invoked on the XI

and this will send the data to the XI

then you can map the data and save it in a file

Regards,

michal

Former Member
0 Kudos

Hi Michal ,

You are right my requirement is to execure RFC in R/3 but I am not able to understand the new RFC which you are talking about ?? can you please throw some more light on this ??

Thanks ,

Suvarna

MichalKrawczyk
Active Contributor
0 Kudos

hi,

you need to execute an RFC

with destination XI (in background)

so the data will reach the XI (and then you can save as file)

but you can only do it with RFC request

so once you execute your first RFC and you'll get a rensponse

you need to map the reponse to a request of a new RFC

and execute the new one which will take the data to the XI

basically that's all

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

HI Michal ,

I have two questions

1>If the Rfc is getting executed on R/3 then how Xi will get the response ?

2> You are talking about second RFC ,so do I need to create a new RFC in SAP R/3 for it ?? and where it will get executed and Do I need to import both ther Rfcs in XI ??

Thanks ,

Suvarna

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>>>1>If the Rfc is getting executed on R/3 then how Xi will get the response ?

it's not it's in destination which points to the XI

>>>>2> You are talking about second RFC ,so do I need to create a new RFC in SAP R/3 for it ?? and where it will get executed and Do I need to import both ther Rfcs in XI ??

no only the second one

Regards,

michal