cancel
Showing results for 
Search instead for 
Did you mean: 

Doubts about my ABAP proxy scenario

inigo_sacramento
Participant
0 Kudos

Hi everyone.

I have this scenario. I think is simple but don't know how to do that. I have many questions for the forum.

An abap proxy has to start a process in the XI Server.

Data is stored in a R3 Backend and must be sent to XI Backend via ABAP proxy.

Both backends are different machines.

My doubts come here : how can data travel from R3 Backend to XI Backend ?

Do i have to define something so ABAP Proxies know where to send the data (url, ip .. )?

How can i define a ABAP proxy in a R3 Backend if integration repository definitions are in other machine?

Another doubt is ... why i don't have to make a receiver determination or sender channel in XI? because XI is listening in an url that has been defined in R3 Backend?

Regards.

Inigo.

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi Inigo,

Sorry i forgot to mention this. In the proxy scenario forget about the RFC. Somebody has mislead you. You dont have to create RFC or call a RFC. Once the corresponding XI server is mapped for a R3 backend(done by the basis system administrator), you dont have to do anything except calling the methods of the proxy class. Proxy runtime calls the XI server internally. Everything is taken care by our wonderful proxy runtime.

Regards,

Eshwar

Former Member
0 Kudos

Hi Inigo,

You are wrong. You create the proxies in the R3 backend not in XI(unless you want XI itself to send some messages:-)). In the IR you only define the message interface. This is just a definition as to how a message should look. But to actually send a message of this type to XI server, you create/activate the corresponding proxy in the R3 backend. This can be done in the transactions SPROXY or the SE80 (Object navigator). SPROXY at the R3 backend, connects to the configured XI server and gets all the definitions of the message interfaces defined. You create/activate this definition so that it creates a proxy class. You can use this class in your programs to send messages to XI server.

Regards,

Eshwar

Former Member
0 Kudos

Hi,

First things first each and every R3 installation > 6.20 will have a XI proxy runtime. Also each R3 backend has a corresponding XI server configured in transaction SICF.

<b><i>how can data travel from R3 Backend to XI Backend ?</i></b>

When you call the method execute_synchronous or execute_asynchronous of the proxy class, the control is transfered to the proxy runtime, which will do a lookup and find the corresponding configured XI server and the data is sent to this server. <b>Hence you dont need a sender agreement to send a message to XI server using a proxy</b>. But incase of the receiver agreement you need to specify a communication channel of type <b>XI</b>, just to tell the XI server that the <b>receiver</b> has a proxy runtime. So the message is sent to the proxy runtime of <b>the receiver </b>without the XML conversion and the rest is handled by the proxy runtime of the <b>receiver</b>.

hope this helps...

Regards,

Eshwar

inigo_sacramento
Participant
0 Kudos

Hi again.

So, Proxies must be created always in XI BACKEND, where all definitions of IR are, right?

Then, from a R3 backend, i must start the proxy that is in XI Backend (a different machine from R3) calling a RFC that will start the proxy.

Am i right?

Regards,

Inigo.

prabhu_s2
Active Contributor
0 Kudos

it is not creating in xi backend. u wud activate it in the tc sproxy for the interface u had defined in IR...activating in other sap system other than xi

Former Member
0 Kudos

HI,

Suppose if you are creating ABAP proxy with the ta SPROXY in ABAP stack of R3.

this is not backend.

see the below links

/people/siva.maranani/blog/2005/04/03/abap-server-proxies

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

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

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm

http://help.sap.com/saphelp_nw04s/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/41e08c90-0201-0010-9197-d8774336...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ae9874-109c-2910-f48a-e91f0cdd...

/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies

regards

Chilla

prasanthi_chavala
Active Contributor
0 Kudos

Hi,

>>>><i>Another doubt is ... why i don't have to make a receiver determination or sender channel in XI? because XI is listening in an url that has been defined in R3 Backend?</i>

Proxy will directly hits the integration engine and tat is why we no need to create any sender communication channel and sender agreement.But we have to create receiver determination.

Once u define all ur repository objects den dis will be replicated in the sproxy tcode in R/3 system and u need to have ABAP client proxy in order to sent the data from R/3 to XI.

So u have to generate proxy in Outbound message interface and need to define the proxy code in abap editor.

Check out the below links for more info:

http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/content.htm

Regards,

Prasanthi.

prabhu_s2
Active Contributor
0 Kudos

Also see the below links

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

/people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy

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

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - ABAP Proxy

prabhu_s2
Active Contributor
0 Kudos

<a href="/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy Proxies</a>

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm">Proxy Generation</a>

[url=http://help.sap.com/saphelp_nw04/helpdata/en/9b/821140d72dc442e10000000a1550b0/content.htm]Data Transfer using XI[/url]

prabhu_s2
Active Contributor
0 Kudos

<b>how can data travel from R3 Backend to XI Backend ?

Do i have to define something so ABAP Proxies know where to send the data (url, ip .. )?

How can i define a ABAP proxy in a R3 Backend if integration repository definitions are in other machine?</b>

here u need to have a rfc created. so u have the IR in place and u activate the o/b interface in sproxy and thru calling the method from a zprogram u may call the interface or place a message in a xi server. <u>So for this data transfer from proxy to xi u need a RFC connection</u>

<b>Another doubt is ... why i don't have to make a receiver determination or sender channel in XI? because XI is listening in an url that has been defined in R3 Backend?</b>

when the sender is a proxy u dont need to have a sender agreenement.

Message was edited by:

Prabhu S