cancel
Showing results for 
Search instead for 
Did you mean: 

about proxys

Former Member
0 Kudos

hi friends,

i have urgent requirement for integration between xi and other functional modules using xi proxys.pls help how to create proxys.how to use.pls any one explain with related scenarios.

ok

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ravi aalla ,

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

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

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

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

ABAP Server proxies

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

Debugging of Inbound ABAP proxies

/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

File to R/3 via ABAP Proxy

/people/prateek.shah/blog/2005/06/14/file-to-r3-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...

cheers!

gyanaraj

****Pls reward points if u find this helpful

Answers (4)

Answers (4)

rohit_goel
Participant
0 Kudos

Hi,

Proxies are Executable Interfaces that are generated in Application Systems to communicate with the integration server (IS). First you create message interfaces in the integration builder and then you create proxies in the application systems.

You can use the following approaches when developing interfaces in XI:

Outside-In

Inside-Out

You can use proxies only when Web AS >= 6.4 or Web AS>=6.20 with pluggins.

The biggest advantage of the proxy is that it always by passes the Adapter Engine and will directly interact with the Integration engine - so it will and should give us a better performance.

In systems having Web AS >=6.4, We can either use Proxies or IDOC/RFC adapters for communicating with SAP systems.

Best Option??

1.Use IDOC Adapter if standard idoc is available to meet the business requirements.

2. Use RFC Adapter if the data volume is less and there are standard BAPI’s available to achieve the functionality otherwise we face critical performance bottlenecks.

3. Best option is to use a proxy while handling large volumes and developing a custom business processes.

Depending upon the Target Programming Language we can implement proxies. For example

ABAP Proxy

JAVA Proxy

A Client or Sever proxy resides on the application system depending

on the direction of the call.

Client Proxy/Outbound Proxy

For the Out bound interface created during design time. It also

discusses sending out of data to XI.

Server Proxy/Inbound Proxy

For the Inbound interface created during design time. It also

discusses how to handle the data that is coming into SAP

System.

Message interfaces are the basis for the Proxy generation.

Proxy will mirror the attributes of the message interface.

Direction (Inbound, Outbound)

Mode (Synchronous, Asynchronous)

ABAP proxy generation gets the WSDL description for message interfaces from the Integration Repository.

Abstract message interfaces have no significance for application systems and are ignored by the proxy generation function.

The counterparts to outbound message interfaces in application systems are client proxies.

An outbound message interface is mapped to an ABAP object class (prefix CO_).

The following Objects are generated for an ABAP Client Proxy

Class

Message Types

Data Types

The system generates the methods with the following names depending on the type of communication.

In the case of synchronous interface the method is called EXECUTE_SYNCHRONOUS.

In the case of asynchronous interface the method is called EXECUTE_ASYNCHRONOUS.

Steps to create Proxy

Create Message Interface in Integration Repository.

Go to Transaction SPROXY on Application System (Not on Integration Server).

Search for the Message Interface for which Proxy is to be generated.

Right-click on the Message Interface and choose ‘CREATE’.

Give the appropriate Package and Prefix.

Make sure to rename the structures and classes to the standards.

Activate the Proxy. To test the Proxy simply execute the proxy and copy the payload with the data to be sent .

aashish_sinha
Active Contributor
0 Kudos

Hi,

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.

You create proxy objects in the development system by using the proxy generation functions. They are transported and shipped by using the tools in the development system. There are separate tools in the Integration Repository.

Please refer http://help.sap.com/saphelp_erp2004/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm

Communication Using Proxy Runtime

Proxies are interfaces that are generated in application systems to communicate with the Integration Server. Proxy ‘originals’ are located in the Integration Repository, not in the application system. At design time, you use the Integration Builder to create the message interfaces you want to generate proxies for in application systems.

The message interface determines which proxy objects are generated:

· Classes (Java, ABAP Object) are generated for outbound interfaces. By calling a method of the class you can transfer your data to the proxy runtime, which constructs the message and forwards it to the Integration Server. Proxies for outbound interfaces are called client proxies.

· Interfaces (Java, ABAP object) that are generated for inbound interfaces have to be implemented by the application for receiver processing. The proxy runtime calls this processing automatically once it has received an appropriate message. Proxies for inbound interfaces are called server proxies.

Please refer http://help.sap.com/saphelp_erp2004/helpdata/en/2a/02eff210ef4caa9a1ed4ab875c28e9/frameset.htm for concepts and examples related with Proxy generation.

Hope this will help you.

Regards

Aashish Sinha

PS : reward points if helpful.

        • Ravi : Please close all threads u have opened this is against the rule of SDN ****

Former Member
0 Kudos

Hi Ravi,

for this.. first you need to Activate the sproxy connection in R/3 system. after that.. just go to SPROXY (tcode) in R/3 system.. and select your scenario name space.. and select OutBound or InBound interface.. and then create a class... and activate it.. and then now you need to write the ABAP code for inserting the data into particular table or function module...

Proxys are two types..

1. Client Proxys (Out Bound proxys)(This means..R/3 system - to - XI - to - Legacy Sytem )

2. Server Proxys (InBound Proxys) (This means..Legacy Sytem - to -XI -to -R/3 system )

Just go through it, every thing is there including code.

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

/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

/people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems ..

Normally when you are prefering the proxy means.. when ever you want to load the large amount of data then only you can prefer the proxys... otherwise directly you can do the scenario file to RFC or file to Idoc..

Regards

@jay

Former Member
0 Kudos

Hi Ravi,

see these blogs.which will explain u how to create server proxy and client proxy.

ABAP Proxies in XI(Client Proxy)

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

Server Proxy (Receiver Proxy)-

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

Debug your server proxy

/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

Have a lok @ integration between XI and BI

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40574601-ec97-2910-3cba-a0fdc10f...

Regrads

Biplab Das

Wish u a joyful new year!!!