Skip to Content
avatar image
Former Member

Proxy objects......

Do we need to write any coding related proxys? If so where we ahve to write and how to call them? who writes this code ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Oct 06, 2007 at 11:19 AM

    Standard proxies are available in SAP systems which SAP has developed, For some cases we hve to develop in the Receiver or sender systems according to the sender/receiver proxy.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 07, 2007 at 01:00 PM

    Hi,

    There are ABAP and Java Proxy available in XI. If you only need client proxy, which forward the request to XI, you don't need do any coding for the proxy. Just use transaction code sproxy in the Business System and generate the client proxy, you can use this proxy in your Application to send request message into XI and probably get response directly back, if you have one synchronous interface. You can see the method name after you generate the proxy class. It is depends on the definition of the QoS (Quality of Service).

    In case of Server Proxy, you need of course do some coding after you generate the proxy. Proxy is just one interface class, proxy runtime handles the communication between the XI Integration Server and the local integration engine which is available in very ABAP Web AS 6.40 and upwards.

    regards,

    Hai

    Message was edited by:

    Hai Long

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 07, 2007 at 11:51 PM

    YES, you have to write code some extend so that you can send or receive message to and from an integration server using a contract defined in form of an interface.

    Outbound interface is used to send message to the IS, so when you use outbound interface, you have to write the code to convert your message into the format of outbound interface request. However proxy will create the corresponding message type ( Note TYPE is not an object it is the TYPE of an object atleast in JAVA)in the language for which you are creating the proxy.

    In inbound interface proxy, you have to provide the implementation class, so that IS server can send you the message using the inbound interface proxies created.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 08, 2007 at 07:50 AM

    Hi

    yes you have to write the coding for the proxy

    to create the proxy

    1.Go to sproxy transaction

    2.select your software component version , select your namespace

    3.if you want the proxy at the sender side go select the outbound interface and if at the receiver side select the inbound interface

    4. double click on the message interface, it ask for creating the proxy

    5. click on yes, give the information

    so in this way you can create the proxy.

    and you have to code your logic after creating the proxy.

    Thanks

    Rinku

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 08, 2007 at 08:05 AM

    Hi sudhakar,

    <b>Do we need to write any coding related proxys?</b>

    yes.u need to write code.

    <b>If so where we ahve to write and how to call them?</b>

    proxies are used whenever XI is communicating with any SAP system.it may be R/3,CRM,SRM,BI etc.u can use proxy only when ur WAS version is >=6.2.

    if its less than 6.2 then u can't use proxy u have to use RFC or IDoc.

    see here the advantage of using proxy over RFC and Idoc.

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

    there exists two types of proxies

    1) client proxy(data is going from SAP system to XI)

    2)server proxy(data is going from XI system to other SAP system)

    u go thro' these below blogs ...here u can get evrything rekated to proxy.

    ABAP Proxies in XI(Client Proxy)

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

    see imoplementaion here

    ABAP Proxy to file

    /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

    see imoplementaion here

    File to ABAP Proxy

    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

    <b>who writes this code ?</b>

    generally an ABAPer writes the proxy code.But if u r expert in ABAP u can also write it....

    Regards

    BILL

    Add comment
    10|10000 characters needed characters exceeded