Skip to Content
avatar image
Former Member

Configuring settings for proxy scenario.

Hi experts,

I have SAP R/3 and XI system, need to execute a proxy scenario.

What all configuration settings have to be done for the proxy part in both XI and SAP system.

Please help with links to some good blogs.

Thanks,

Younus

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Oct 23, 2007 at 06:53 AM

    Follow these:

    /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/siva.maranani/blog/2005/04/03/abap-server-proxies

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 23, 2007 at 06:54 AM

    Hi,

    There are two Types of proxies which can be done by ABAP or JAVA

    ‘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).

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

    ABAP Proxy

    How do you activate ABAP Proxies?

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

    ABAP Proxy Runtime

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

    ABAP CLIENT PROXY

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

    ABAP SERVER PROXY

    /people/siva.maranani/blog/2005/04/03/abap-server-proxies. [original link is broken]

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

    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

    XI: Debug your inbound ABAP Proxy implementation

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

    JAVA Proxies:

    Asynchronous inbpund java Proxies

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

    Hi,

    Proxy Generation- For ABAP and Java proxy, create a Message Interface and then generate a proxy for that message interface.

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

    More on Java Proxy-

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

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d

    ABAP Proxies:

    Integration Builders through proxy server (Part - 2)

    /people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2

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

    ***Assign points if you found helpful

    Regards.,

    V.Rangarajan

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 23, 2007 at 06:55 AM

    You will find everything here.

    https://www.sdn.sap.com/irj/sdn/forums

    Proxy is a methos of the class that you have created for your outbound interface.

    In code of proxy you will fill data in this structure and send it across to XI.

    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=abap+proxy&adv=false&sortby=cm_rnd_rankvalue#

    For your case...you have to create client proxy..

    To know more about client proxy see the below link...

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

    This will be helpful to you ...

    Testing proxy - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d4900e81a30cto

    debug inbound proxies:

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 23, 2007 at 06:59 AM

    Hi Younus,

    Just for your info:

    1. Proxies can be a server proxy or client proxy. In our scenarios we require proxies to send or upload the data from/into SAP system.

    2. One more thing proxies can be used if your WAS ≥ 6.2.

    3. Use Tcode SPROXY into R/3 system for proxy use.

    4. To send the data from R/3 system we use OUTBOUND PROXY. In Outbound proxy you will simply write an abap code to fetch the data from R/3 tables and then send it to XI. Below is the sample code to send the data from R/3 to XI.

    REPORT zblog_abap_proxy.

    DATA prxy TYPE REF TO zblogco_proxy_interface_ob.

    *

    CREATE OBJECT prxy.

    DATA it TYPE zblogemp_profile_msg.

    TRY.

    it-emp_profile_msg-emp_name = 'Sarvesh'.

    it-emp_profile_msg-empno = '01212'.

    it-emp_profile_msg-DEPARTMENT_NAME = 'NetWeaver'.

    CALL METHOD prxy->execute_asynchronous

    EXPORTING

    output = it.

    commit work.

    CATCH cx_ai_system_fault .

    DATA fault TYPE REF TO cx_ai_system_fault .

    CREATE OBJECT fault.

    WRITE :/ fault->errortext.

    ENDTRY.

    Receiver adapter configurations should be done in the integration directory and the necessary sender/receiver binding should be appropriately configured. We need not do any sender adapter configurations as we are using proxies.

    5. To receive data into R/3 system we use INBOUND PROXY. In this case data is picked up by XI and send it to R/3 system via XI adapter into proxy class. Inside the inbound proxy we careate an internal table to take the data from XI and then simply by using the ABAP code we update the data inot R/3 table. BAPI can also be used inside the proxy to update the data into r/3.

    I hope this will clear few doubts in proxy.

    Just go through these links:

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

    ABAP Server Proxies By Siva Maranani

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

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

    File to R/3 via ABAP Proxy with good example

    /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

    Generating java proxies..

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

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

    Regards,

    Sarvesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 23, 2007 at 07:25 AM

    Hi Younus Mohd ,

    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.

    Applications need the following proxy components to use the SAP Exchange Infrastructure directly and without adapters.

    Proxy Framework

    Proxy Generator

    Proxy Runtime

    Proxy Framework

    The Proxy Framework consists of the Proxy Generator and the Proxy Runtime. The Proxy Framework for ABAP (generator and runtime) is part of the SAP Web Application Server and no specific installation is needed.

    Proxy Generator for Java

    The Proxy Generator for Java is used to generate proxies (Java Classes) for application programming. It makes use of the Integration Repository which contains all interface definitions.

    Java Proxy Runtime

    The Proxy Runtime for Java is mandatory for all Java programs to exchange messages with the SAP Integration Server. In doing so the proxy runtime converts the used java classes into XML messages. These XML messages are sent to the Integration Server using http protocol.

    These r the following web-sites which give u step by step solution using proxy:

    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

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

    cheers,

    gyanaraj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 24, 2007 at 06:25 AM

    Dear all,

    I have gone through all the blogs,

    I want the config settings, i mean the RFC destinations etc to be set both in XI and SAP for executing this scenario.

    thanks,

    Younus

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Younus,

      I guess u r looking 4 this.(this is actually 4 activating abap proxy.....) but go thro' it nicely..u will the necessary thing are given for connection XI and R/3....(check below of the blog)

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

      regards

      Biplab