cancel
Showing results for 
Search instead for 
Did you mean: 

How do ABAP Proxy and XI adapter work?

Former Member
0 Kudos

Hi everybody,

I have a general question about the ABAP proxy and XI adapter.

In order to use the ABAP proxy and XI adapter, I must configure the HTTP Destination between the R/3 system and the XI server. I must also maintain the SLD.

After several hours configurations with our administrator, it failed. At least the HTTP Destinations on both servers don't work correctly. We got always HTTP error message. But a scenario with an ABAP Receiver proxy works! It is really strange and laughable. We're very happy about that but don't know why and what happened. Today we tested the ABAP Sender proxy, it doesn't work.

So we decide to ask the XI experts in this forum to give us a general lessen about the ABAP proxy: how it works, why we should create the HTTP destinations, how do the destinations work and so on.

Thanks a lot in advance!

With best regards

Xiang

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Once you create the interface in XI, you generate the proxies on your R3 system.

Client Proxies -->

This is done for outbound interfaces. You generate the proxy and then write a report that fills in the proxy class with the data and pushes it to XI.

Server proxies -->

Generated for inbound interfaces. Generate the proxy and write the implementation for the exectue method that deals with the data sent from XI to the R3 system

Abap Proxy

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

why we should create the HTTP destinations, how do the destinations work and so on.

we create http destiantio because in proxies , adapter is not use so who is goin to send the message to integration server ...by creating http destinatio we create integration engine which send messg to IS . then messg is routed .and all

http to file

hope this help's you

Regard's,

Chetan Ahuja

Former Member
0 Kudos

Hi Chetan Ahuja,

thanks a lot for your hints. We try to understand how the ABAP Proxy works. For example: an ABAP Proxy sends a message to the XI server. Will this message be forwarded to the HTTP destination, which has been configured by us? How would the message be transported to the XI?

In the other direction, when an XI Adapter receives a message from the integration server, how could the message be transported to the ABAP proxy client on the R/3 server? The HTTP destination to the R/3 hasn't been correctly configured on the XI server. Why can we get the message on the R/3 server anyway?

We want to understand the ABAP proxy totally. Then we can know what should we do and how can we do.

Thanks a lot for your reply.

With Best Regards

Xiang

Former Member
0 Kudos

Hi Xiang,

R3 -- > proxy -->XI

In this case, it is used the RFC we were correcting before step by step and it is used in SXMB_ADM of your R3.

Furtheremore, once the R3 is registered in SLD (by means of RZ70), XI recognizes it as a proxy. You can see it in Runtime Workbench.

You don't need to configure a sender adapter to send data from R3 to XI via proxy.

Xi --> proxy --> R3

You need to configure a Receiver adapter type XI. When you configure the Communication Channel you specify the parameters needed to post the data into the R3 Integration Engine.

Everything clear?

regards,

Carlos

Former Member
0 Kudos

Hi to all,

Thanks a lot!! The problem is solved!!

Thanks a lot to Carlos and Sunil Singh. Yor replies are very helpful.

With Best regards

Xiang

Answers (1)

Answers (1)

sunil_singh13
Active Contributor
0 Kudos

Hi Xiang,

As you mentioned you are able to execute Server Proxy.This is becuase the RFC destination (SAPSLDAPI and LCRSAPAPI) created by you in XI abap stack of type TCP/IP are working properly and hence it is able to execute server proxy.

While the setting required at the R/3 side are not properly done. May be RFC Destination of HTTP type is not properly configured. Try to check the connection if it is working fine.

Then you also have to give credentials of your XI in R/3 in transaction SLDAPICUST.

Thanks

Sunil Singh