cancel
Showing results for 
Search instead for 
Did you mean: 

Abap Proxy to Send RFC data -- xi - File , how to do - pls help ?

Former Member
0 Kudos

Hi Friends ,

Our scenario is once in day an RFC is to be triggered and create flat file .That RFC will return data .

Using below likns i have configured the RFC Sender adapter

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

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

First Activate the ABAP Proxy?

/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies

How to implement a Client Proxy?

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

My question is

<b> 1. Is it possible to use ABAP Client proxy to achive this ?

2. Then do we need to write RFC Call in side this proxy call ?

3. If we go for proxy do we need RFC Sender Adpater ?</b>

I am little confused can you please explain , as how it works ?

<b> Is there is any other way to trigger RFC to send data ?</b>

Regards.,

Shyam

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

1. Yes if ur WAS is >= 6.2

2. Yes. u have to write RFC call in proxy implementation. Use client proxy for sender side.

3. No

4. Other way to expose RFC as webservice and use SOAP adapter

Regards,

Prateek

Former Member
0 Kudos

Hi ,

Thanks for ur reply .

With out RFC Sender by proxy how it will send data ? Can u please explain ?

Regards.,

Shyam

prateek
Active Contributor
0 Kudos

Ur options are

1. RFC sender

2. Client proxy

3. To create webservice from an RFC

/people/kumar.prashant4/blog/2006/07/14/using-rfc-as-webservice-in-webdynpro

After creating webservice, u can use SOAP sender in XI.

Regards,

Prateek

Shabarish_Nair
Active Contributor
0 Kudos

well, the implementation for the same is as follows;

ABAP Proxy -> XI -> File

1. create an ABAP proxy.

2. the ABAP proxy will be triggered by a report.

3. Inside the report call the RFC and fill the return parameter of the RFC into the structure of the ABAP proxy.

4. after this is done, it is as normal as any scenario, ABAP proxy is triggered data comes into XI, mapping and finally generate the file.

Former Member
0 Kudos

Hi sabrish ,

Tahnks for ur reply. I was waiting for ur response . i have doubt

the foloowing code i got from ur blog .

REPORT Z_TEST_RFC_XI_WEBSERVICE.data: lv_distance type char10.CALL FUNCTION 'Z_WEBSERVICE_TEST_SHABZ' <b>destination 'Z_WEBSERVICE' </b> EXPORTING FROMZIP = '12222' TOZIP = '22222' IMPORTING DISTANCE = lv_distance.write : 'Distance is : ' , lv_distance.

<b> 1. i have to generate proxy from Out bound interface right ? inside that proxy class whare i have to in clude the code to call rfc ?

2. Can u please tell what is the Destination in that report. What is z_webservice ?</b>

3 . Do we need to use RFC Sender adapter ? It is not related to proxy right ?

Regards.,

Shyam

null

Shabarish_Nair
Active Contributor
0 Kudos

for all about the destination and program ID ref: /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

<i>3 . Do we need to use RFC Sender adapter ? It is not related to proxy right ?</i>

>>>

in your case you will not need a RFC adapter. you will be using a client proxy.

Client Proxy (Sender Proxy)- /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

Answers (0)