cancel
Showing results for 
Search instead for 
Did you mean: 

How Abap proxy works?

Former Member
0 Kudos

Hi friends,

Can anybody explain me that how actually ABAP proxy works(in both cases clent and server proxy). when shuld we go for proxy.And how proxy seprates business application from technical infrastructure?

If u have any presentation or document on ABAP proxies ,plz send me

Thanks in advance

Shweta

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check this ABAP Proxy Documentation guide:

http://help.sap.com/saphelp_nw04/helpdata/en/ab/585f3c482a7331e10000000a114084/content.htm

Thanks.

Boopathi

Answers (5)

Answers (5)

former_member193376
Active Contributor
0 Kudos

Hi

If your question is answered, please assign the points and close the thread.

Thanks

Saiyog

Former Member
0 Kudos

Hi sanyog,

Thanks for ur reply. still i have one doubt how proxies seprates Business Application logic

from XI connectivity?

aashish_sinha
Active Contributor
0 Kudos

Hi,

Proxy objects implement message interfaces from Integration Repository. Proxies are executable interfaces, which converts non-language-specific interface descriptions into WSDL. i.e., you use proxies to implement the actual message exchange that is described in the Integration Builder.

Types of Proxy objects:

You can use message interfaces to create the following proxy objects:

ABAP Proxy objects

JAVA Proxy objects

During the process of ABAP proxy generation, it gets WSDL (Web Service Description Language) description of message interfaces from the Integration Repository by using HTTP communication.

Proxy Generation:

As part of 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 available for a proxy-to-proxy communication scenario in ABAP, you can use a point-to-point connection using the Web service infrastructure instead.

The prerequisites to configure ABAP Proxy include: (landscape dependent)

The business systems should be based on SAP Web AS 6.20 and SAP Web AS 6.20 kernel patch level above 1253

You have installed the XI Add-On in each of these business systems as described in the Installation Guide SAP Exchange Infrastructure 3.0

The business systems and your central Integration Server are maintained in the System Landscape Directory (SLD).

Configuration required on the Business System:

1. Create a HTTP connection in the business system using transaction SM59

Technical Setting:

· Connection Type: H

· Target Host: System name

· Service Number: HTTP Port name

· Path Prefix: /sap/XI/engine/?type=entry

2. Configuration Business system as local Integration Engine.

1. Go to Transaction SXMB_ADM

2. Choose Edit --> Change Global Configuration Data.

3. Select Role of Business System: Application system

4. Corresponding Integration server: dest:// XI_XIR_CONNECTION created in step 1. Dest://XI_XIR_CONNECTION.

5. Under Specific Configuration Data you can specify additional configuration data

Select the relevant category under Specific Configuration Data.

Choose Change Specific Configuration Data.

For ABAP Proxies, Add the following configuration:

1.Category RUNTIME

2.Parameters: IS_URL

3.Current Value: dest://XI_XIR_CONNECTION

I hope this will help you.

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Hi Shweta Pandey ,

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:1. Java Proxies. or 2. ABAP Proxies.

We can interface to XI through proxies. From WAS 6.20, proxy generation feature enables application systems to communicate with XI using proxies. Proxy generation enables you to create proxies in application systems. Proxies encapsulate the creation or parsing of XML messages and the communication with the relevant runtime components required to send or receive the messages.

There are two types of Proxies.

1. Java Proxies.

2. ABAP Proxies.

Java proxies are used when java applications needs to send and receive data and ABAP proxies are used when ABAP applications needs to send and receive data.

Proxy Generation

http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm

ABAP Proxy Runtime

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

To activate ABAP proxies

Detailed step-by-step solution for ABAP proxies in XI

ABAP Server proxies

Debugging of Inbound ABAP proxies

File to R/3 via ABAP Proxy

How to push data from BI to XI using proxy

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e698aa90-0201-0010-7982-b49...

How to push data into BW from XI using proxy

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/18dfe590-0201-0010-6b8b-d21...

former_member193376
Active Contributor
0 Kudos

Hi

Adapters are part of the Adapter Framework. Adapters provide the technical connectivity to enable the integration of SAP and non-SAP applications through XI’s Integration Engine.Again, Adapters are used for connectivity from and to external systems with XI that cannot communicate via proxies.Adapters are only required in SAP systems older than 6.20 and external systems.

Systems based on 6.20or higher can communicate directly with proxies.

Proxies

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.

Proxies are generated from Message Interface in IR.

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 2. Java Proxy Runtime – Communication using XI (J2EE) The objects that the Proxy Runtime then controls are created via Proxy Generation, for both ABAP and Java. In the following sections a ‘client’ proxy is used by an application to send messages outside of the system it resides in (normally to the IS in this context). Conversely, a ‘server’ proxy is used by an application to receive messages from sources outside itself (again, normally the IS in this context).

Proxies are interfaces which will get executed in the application system. They can be created only in the system from message interfaces using the proxy generation functions. You can use proxies for systems with WAS >=6.20

XI will communicate in native language with SAP systems via proxies. Proxies uses XML - SOAP based communication for both ABAP and Java Proxies.

mainly we go for proxies for adapters less communicaton there

Client Proxy: Proxies created out of Outbound message Interfaces.Here XI is receiving some information and is

acting as a client.

Server Proxy : Proxies created out of Inbound message Interfaces.Here XI sends the information to some other system acting as the Server.

we can create the ABAP proxy in ABAP workbench.

Use

Using ABAP the proxy generation function you can generate ABAP proxy objects to an SAP system from an interface description in the SAP Exchange Infrastructure Integration Repository.

Prerequisites

ABAP proxy objects can only be generated for SAP systems that are based on SAP Web Application Server 6.40.

The proxy generation retrieves the WSDL description of the interface from the Integration Repository using HTTP. The address of the appropriate server is taken from the exchange profile (parameters 1, 2, and 3 u2013 see below). Queries to the Repository are subject to authentication. The user and password for these queries are also taken from here (parameters 5 and 6). Information used to navigate from the ABAP Proxy Generation to the initial page of the Integration Builder is also taken from the exchange profile (parameters 1, 2, and 4).

How to create proxy.

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

How to Activate Proxy.

ABAP Server Proxies (Inbound Proxy)

OutBound Proxy (Client Proxy)

File to R/3 via ABAP Proxy with good example

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

Synchronous Proxies:

Outbound Synchronous Proxy

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bp...

Inbound Synchronous Proxy

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsa...

go thru the weblog which explains how to activate proxies

Check this for Use Of Proxies

Hope this is useful and clears your doubts

Thanks

Saiyog

Former Member
0 Kudos

Server proxy

saptechnical.com/Tutorials/XI/ABAPProxy/page1.htm

Client Proxy

saptechnical.com/Tutorials/XI/ABAPClientProxy/page1.htm

Step By step scenario available

Former Member
0 Kudos

Hi,

Monitoring for Processed XML messages in ABAP Proxy

Communication between SAP System & Webservice Using Proxies

XI/PI: ABAP Proxies - keep them clean

Prepare your ABAP Proxies in WebAS 6.20 for migration

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5129 [original link is broken] [original link is broken] [original link is broken]

XI: Debug your inbound ABAP Proxy implementation

File to R/3 via ABAP Proxy

XI/PI: Data type enhancements (standard Business Partner)

XI: RFC or ABAP Proxy ? ....ABAP Proxies with attachments

ABAP Server Proxies

Thanks,

madhu