Skip to Content
avatar image
Former Member

ABAP Proxies

Hi all

I m new to sap xi

Who to create ABAP Proies?

i want one example file to file configuration of ABAP proxy?

thanks all

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Nov 07, 2007 at 08:38 PM

    Hi Vivek,

    Check out following blog for details on ABAP proxy's.

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

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

    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies

    i want one example file to file configuration of ABAP proxy?

    ???.... For file to file scenario you need to used File Communication channel, not abap proxy .

    Hope this will help.

    Nilesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 08, 2007 at 06:14 AM

    Vivek,

    1. Proxies can be a <b>server proxy</b> (Inbound Proxy) or <b>client proxy</b> (Outbound Proxy). In our scenarios we require proxies to send or upload the data from/into SAP system.

    2. Proxies can be used if your <b>WAS &#8805; 6.2</b>.

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

    4. To send the data from R/3 system we use <b>OUTBOUND PROXY</b>. 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 <b>INBOUND PROXY</b>. 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.

    Go through below links also:

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

    <b>ABAP Server Proxies</b> 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

    <b>File to R/3 via ABAP Proxy with good example</b>

    /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

    <b>Generating java proxies</b>

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

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

    <b>Synchronous Proxies:</b>

    <b>Outbound Synchronous Proxy</b>

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

    <b>Inbound Synchronous Proxy</b>

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

    Regards,

    Sarvesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 08, 2007 at 06:29 AM

    HI,

    Check some links on Proxy.

    Concepts and examples for Proxy, Abap Client Proxy and Abap server Proxy

    Asyn Inbound java proxy

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

    /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

    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

    Regards,

    Phani

    Add comment
    10|10000 characters needed characters exceeded