cancel
Showing results for 
Search instead for 
Did you mean: 

When to use ABAP Proxy and JAVA Proxy

Former Member
0 Kudos

Hi,

Being am a trainee i didnt understand when (at which requirement )we have to go for ABAP Proxy and JAVA Proxy

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi Guna,

We will go for ABAP proxy when the sender/receiver application is SAP system.

And we will go for Java proxy when when the sender/receiver application is Java application.

Regards

Bhanu

Intelligroup.

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Guna,

SAP XI providing some predefined adapters to connect SAP or Non- SAP Systems.But when we really working we will ace some problems to connect Source or Receiver systems, Problems in the sense adapters not provide to connect or read the data from source or receiver..

Like this scenarios SAP XI providing Proxy Frame work, If u r having Web As 6.40 THEN ONLY WE CAN USE proxies.

When we will go for ABAP Proxies.

ABAP Proxies will support to connect SAP BI,R/3 System, when IDOC , RFC adapter not supporting the Format Data u r getting from source,

if your requirement to connect to SAP BI to JDBC. but IDOC , RFC dapter dont support to connect to SAP BI to XI, in this case we use ABAP Proxies,UUse ABAP coding we will connect to Integration Server, we can trasfer the Data.

JAVA Proxies.

If your communicating JAVA Web Application to any Other system , XI adapters not support functionality to connect JAVA Application to XI, So we develop EJB Class , JAVA CODE we can connect to Integration sever(XI), We can transfer the DATA.

Regards,

raj

Answers (11)

Answers (11)

Former Member
0 Kudos

Hi

thanks for the answer

Regards

Guna

Former Member
0 Kudos

HI Guna,

Proxies are used when there is no adopters. We will use XI adopter for proxies independent of your application specfic adopters.

ABAP proxy is written in ABAP code and Java Proxy is written in java code.

Reward points if needful.

Thanks,

RamuV

Former Member
0 Kudos

HI

The literal definition of a proxy is an object / process authorized to act for another; an agent or a substitute. In simpler terms, proxies in the XI context are objects used to encapsulate the creation (from a sender system) or parsing of XML (at a receiver system) as well as the communication with the relevant runtime components required to send or receive those messages. The Proxy Runtime controls these objects / processes, and can itself be controlled by the applications it communicates with.

The Proxy Runtime currently has the following components available:

1. ABAP Proxy Runtime – Communication using XI or Web Services

a. Web Service Runtime

The ABAP Proxy Runtime is used within SAP Web AS 6.40 environments. It provides a uniform programming model for the following types of communication scenarios:

1. From / To an ABAP Application.

2. From / To an ABAP Web Service.

This method is used by ABAP Applications (in a Web AS 6.4 or greater system) for exchanging messages with the IS using ABAP Proxies. Both synchronous and asynchronous exchanges are supported.

In an ABAP Proxy client scenario, an ABAP application utilizes an ABAP Proxy to send a message from itself to the IS in XI Protocol (XML) format. Conversely in a server scenario, the ABAP Proxy receives a XML message from the IS and converts it to be received by the ABAP Application.

ABAP Proxies are created via ABAP Proxy generation.

2. Java Proxy Runtime – Communication using XI (J2EE)

Java Proxy Runtime enables and manages connectivity between Java Proxies and the IS. It can be installed on SAP J2EE Engine Release 6.30 SP3 or higher, and currently this J2EE engine is the only one supported by the Java Proxy Runtime. As of SAP NetWeaver 2004 the Java Proxy Runtime is installed with and integrated into the J2EE Adapter Engine. This Adapter Engine implements queuing, persistence and monitoring services required to guarantee asynchronous communications. However, both synchronous and asynchronous communications are supported.

In a Java Proxy client scenario, an Java application utilizes Proxy Beans to connect to the Java Proxy to send a message from itself to the IS in XI Protocol (XML) format. Conversely in a server scenario, the Java Proxy (consisting of a EJB bean for message handling) receives a XML message from the IS. This bean in turn calls the application beanregistered for that inbound interface. Beans are used in sending and receiving messages from a J2EE application.

Java Proxies are created via Java Proxy Generation..

cheers

reward points if found useful

vijay_b4
Active Contributor
0 Kudos

Hi Guna,

If your system is supporting ABAP Application then go for ABAP Proxy.else If your system is supporting Java Application then go for Java Proxy.Mainly Proxy is used to connect to R/3 systems.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0e7ae66-be6d-2a10-d385-92e6e67d...

Reward points if this helps

Regards

Vani.

Former Member
0 Kudos

The latest versions of ECC comes with an Integration Engine.

So in that case we can use proxies to communicate.

If you want to communicate to Java System you can communicate using java Proxy

by selecting Tools->Java Proxy Generation

Thanks

Sebin

Former Member
0 Kudos

Hi,

By using 3 ways we can connect to the R/3.

1. Idoc

2. RFC/BAPI

3. Proxy.

If the predefied idocs or RFS are not suitable to our requirement then we go for proxy.

Now when we go for ABAP and when we go for ABAP ?

If the SAP system with WAS >= 6.4 then only it supports the ABAP proxy.

If the Application is ABAP application then we go for ABAP proxy.

If the Application is JAVA application then we go for JAVA proxy.

former_member556603
Active Contributor
0 Kudos

Hello Guna,

ABAP Proxy and JAVA Proxy?

Purpose

Proxy generation converts non-language-specific interface descriptions in WSDL into executable interfaces known as Proxies. Depending on the target programming language, you choose one of the following:

· ABAP proxy generation is part of the SAP Web AS 6.40. ABAP proxy generation enables you to generate proxies to communicate by using the Web service infrastructure and by using SAP Exchange Infrastructure. ABAP proxies that were generated from message interfaces in the Integration Repository (IR) can be used in both infrastructures. This means that if none of the Integration Server services are required for a proxy-to-proxy communication scenario in ABAP, you can use a point-to-point connection using the Web service infrastructure instead.

· Java proxy generation in the Integration Builder (Design) generates proxies from message interfaces in the Integration Repository. Java proxy generation packs the proxy objects in a Jar file, which you can save locally. You use the generated classes in J2EE applications on the SAP J2EE Engine.

Thanks,

Satya Kumar

Former Member
0 Kudos

Hi,

To connect to SAP system with WAS >= 6.4, ABAP proxy is used.

Is it like that in SAP systems we use ABAP proxy and non-sap systems we use JAVA proxy ??

Also, Java Proxies cannot be used for any non-SAP application. it is generally used for communication with Java Application

You can refer to the below links

Java Proxies Refer

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b0...

/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy

/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy

https://weblogs.sdn.sap.com/pub/wlg/3531 [original link is broken] [original link is broken] [original link is broken]

/people/thorsten.nordholmsbirk/blog/2006/08/06/use-a-java-proxy-instead-of-a-jca-adapter

Abap Proxies Refer

/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/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies

/people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments

/people/bhanu.thirumala/blog/2006/02/07/abap-proxy--xml-to-abap-transformation

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

Reward points if it is helpful

Thanks,

Madhu

Edited by: madhusudhan bujala on May 14, 2008 1:26 PM

Former Member
0 Kudos

Hi,

1) Integration with SAP can be done with ABAP proxy,IDOC or RFC.

2) Integaration of java application can be done by java proxy.

chirag

Former Member
0 Kudos

Hi,

if your system runs on a java stack you will take a java proxy you take abap proxy if it runs on abap stack.

Regards

Patrick

Former Member
0 Kudos

Hi,

If the Sender/ Receiver Application is based on ABAP application Means we will use ABAP Mapping

If the Sender/ Receiver Application is Based on JAVA application means we will use JAVA Mapping

Regards

Seshagiri