cancel
Showing results for 
Search instead for 
Did you mean: 

differences between RFC and IDOC as well what is server proxy and client pr

Former Member
0 Kudos

Hi All,

Can you please give me an idea about The difference between BAPI and IDOC, as well what is Server proxy and client proxy.

Thanks and Regards,

Ashok.

Accepted Solutions (1)

Accepted Solutions (1)

jyothi_anagani
Active Contributor
0 Kudos

Hi,

Please Check in SDN. You will get lot of information Regarding This.

BAPI is Standard Function Module. IDOC is something Different from This.

Client proxy will give Request and Server Proxy will Provide the Response to the client request.

check This

difference between client and server proxy and can we

call them from XI

Client proxy is when the proxy initiates the call to XI. You create the proxy for an Outbound Interface in Client Proxy.

Server proxy is when the XI calls the proxy. Inbound Interfaces lead to Server proxies.

The Proxies should be triggered / called on a different client other than the integration server.

For This Check

Thanks.

Former Member
0 Kudos

This message was moderated.

Answers (3)

Answers (3)

former_member750652
Contributor
0 Kudos

Hi ASHOK,

BAPI is Business Appication Programming Interface which executes some business logic and gets the result according to the logic you wrote in the RFC Functionmodule most of the times they are standard utilities.

IDOC is intermediate document from the name it self sounds like some Data container .So its jus a container to transport data between R/3 systems via ALE configurations and settings.

Proxies generated on the outbound side are called Client proxies,Proxies that are generated on the inbound side are Server proxies.Functionality wise Client proxies intereact with XI .Where as Server Proxies gets executed on R/3. If its Syncronous the result will be sent back to XI to forward furthur.

For more keep drilling down help.sap.com and SDN

Thanks,

Ram.

Former Member
0 Kudos

Hi Ashok,

Proxies are essentially the APIs, or the programming lines of code, that are generated for the target application language like ABAP/JAVA/.Net.

These application languages use "executable interfaces" to exchange messages in SOAP/XML with external applications.

In some of real-time scenarios, itu2019s not always a particular type of business system that has to send/receive messages with SAPXI; it can also be an application like ABAP or Java. To cater to these needs, SAP XI provides different ways to generate interfaces in ABAP and JAVA u2013 and these interfaces are known as proxies.

ABAP proxies are generated using the transaction SPROXY (in SAP Web AS 6.20 and above); for Java proxies, the Integration Builder tool is used.

They can be

Outbound: Client (Asyn/Sync)

Inbound : Server (Asyn/Sync)

Client ABAP Proxy :

u2022 The system will generate the CLASS u201CZ_CL_<MI>u201D and will have methods such as

Execute asynchronous

Exporting output = output

or execute_sysnchronous

Exporting output= output as request

Importing Input=Input as response.

u2022 client Proxies is used to trigger the u201C outbound processu201D

u2022 It will deal with u201Csource Systemu201D

Server Proxy :(ABAP)

u2022 These proxies are used to trigger an u201CInbound Processu201D

u2022 This proxy generates an Interface and a Class.

u2022 An Interface(where we define the method i.e. the abstract method ) and a Class is generated on server proxies as ZCL_<MI>(where we implement the method)

u2022 The definition of a class is given at SE24(global class as these classes has the visibility through out the ABAP repository)

For java proxies please check the link below:

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc21...

Regards,

Madhusree

madanmohan_agrawal
Contributor
0 Kudos

>>what is Server proxy and client proxy

Client proxy is used by an application to send messages outside of the system it resides in (normally to the IS in this context).

Server proxy is used by an application to receive messages from sources outside itself (again, normally the IS in this context).

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

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

Regards,

Madan Agrawal