<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: abap proxy. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507944#M1422992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.            In transaction SPROXY, right click on message interface. Select u2018createu2019. This will ask the package and prefix.&lt;/P&gt;&lt;P&gt;2.            Give the prefix, that will create a class which will have prefix given by you&lt;/P&gt;&lt;P&gt;3.            Now the class is ready. Double click on the class, youu2019ll see the methods generated. Apply your business logic in that method EXECUTE*.&lt;/P&gt;&lt;P&gt;4.            In case of outbound asynchronous, you will call this method in your program at the end to pass the data to XI box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tanaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jan 2010 10:35:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-12T10:35:07Z</dc:date>
    <item>
      <title>abap proxy.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507939#M1422987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;         i want to create the abap proxy. in xi side, they created the interface. now i want to create the outbound interface in t code sproxy . can anyone explain clearly? i studied the documents.my doubt is when i select the outbound interface and click create, after that do i want to create the class name for proxy or autimacally is it create the class name, and message interface name ? can anyone expalin clearly ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Varadarajan.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 09:50:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507939#M1422987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T09:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: abap proxy.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507940#M1422988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; when  u select the outbound interface and click create, after that it wil ask for prefix u can enter application area as prefix then it  create the class name for proxy , and message interface name also same ,then activate that it wil ask package and TR number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 09:56:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507940#M1422988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T09:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: abap proxy.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507941#M1422989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,Upender Verma.&lt;/P&gt;&lt;P&gt;                  Thanks for ur answer. after getting the class name, we will use this class name in se38 program using call method and catch .is it right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Varadarajan.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 10:05:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507941#M1422989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T10:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: abap proxy.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507942#M1422990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. If it's an outbound interface, you can populate your proxy structure using a Report Program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 10:12:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507942#M1422990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T10:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: abap proxy.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507943#M1422991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Varadarajan,&lt;/P&gt;&lt;P&gt;The proxy works in this way.&lt;/P&gt;&lt;P&gt;There are 3 types of proxies,1. Inbound 2. Outbound and synchronous proxy.&lt;/P&gt;&lt;P&gt;1. Inbound proxy means the data comes from other system we need to collect the data and process it at ECC side. For this kind of interfaces we go to SPROXY and generate the proxy. Inside the proxy we generated we can start writing our code.&lt;/P&gt;&lt;P&gt;Here the data coming from the external system needs to be collected and pass the data to the internal tables and start the processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. For the outbound proxy we need not to generate the proxy, instead the XI or PI team will give us the proxy name.In outbound proxy in general we will do our normal programing, the only one change that we find is after all the processing is done at ABAP we need to pass the data to the external system through the XI by calling the proxy and passing the table which should match the outbound proxy table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If you go the T-code SPROXY and select the correpsonding proxy.&lt;/P&gt;&lt;P&gt;Now double click on the proxy name this will show us the class name and method name.&lt;/P&gt;&lt;P&gt;The External view button gives the type of method, table that you need to consider in your program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SXMB_MONI is used to check the message that is going in/out of SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Navy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 10:18:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507943#M1422991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T10:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: abap proxy.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507944#M1422992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.            In transaction SPROXY, right click on message interface. Select u2018createu2019. This will ask the package and prefix.&lt;/P&gt;&lt;P&gt;2.            Give the prefix, that will create a class which will have prefix given by you&lt;/P&gt;&lt;P&gt;3.            Now the class is ready. Double click on the class, youu2019ll see the methods generated. Apply your business logic in that method EXECUTE*.&lt;/P&gt;&lt;P&gt;4.            In case of outbound asynchronous, you will call this method in your program at the end to pass the data to XI box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tanaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 10:35:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507944#M1422992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T10:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: abap proxy.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507945#M1422993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;  what is the business logic ? bec i am the new guy for class and method. can u give some sample code for that one ? in my object, i am moving the product datas. i developed the code in se38. can u explain clearly ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;varadarajan.R.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 11:42:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507945#M1422993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T11:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: abap proxy.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507946#M1422994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi varadarajan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of outbound proxy, we need to create report. This report will contain logic in which we will use class created using tcode Sproxy. And also, we will populate data in the structure and using metthod 'Execute_asynchronous' or 'Execute_synchronous', we will send data to XI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We create proxy using tcode Sproxy, which will also create class, message type and data type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XI team creates a structure with fields, it is with the format in which they want to receive data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, when we create proxy via Sproxy, it maps the structure created in XI and creates same message type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, it generates method Execute_asynchronous/Execute_synchronous. You can use any of these methods depending on your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need any more clarification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 12:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507946#M1422994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T12:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: abap proxy.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507947#M1422995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Archana,&lt;/P&gt;&lt;P&gt;             in that class, do i have write any code or business logic in sproxy ? in my report, i fetched the dats from database, the vales are available in the internal table ? before days , i am not using class and methods .  can u explain clearly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Varadarajan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 12:18:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507947#M1422995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T12:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: abap proxy.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507948#M1422996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Varadarajan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create proxy in sproxy you don't need to write any business logic in that in case of outboud proxy. Method is already generated here. So, you just need to use class, message type, metod in your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the sample code for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:
    l_wa_proxy_invent TYPE zdt_nl_stock_inventories_stock,	*---Proxy Structure (data type in Sproxy)
    l_wa_output       TYPE zmt_nl_stock_inventories,		*---Output Data  (message type in Sproxy)
    l_i_proxy_invent  TYPE zdt_nl_stock_inventories_s_tab.	*---Table to pass to proxy  (data type in Sproxy)

  FIELD-SYMBOLS:
    &amp;lt;l_fs_final&amp;gt; TYPE ty_final.

  DATA:
    l_o_proxy TYPE REF TO zco_l_nl_ops_proxy_stock_inven.	*---Object for proxy class  (class in Sproxy)


*-Add Data to Proxy table (Loop at your final internal table)
  LOOP AT fp_i_final ASSIGNING &amp;lt;l_fs_final&amp;gt;.
    IF &amp;lt;l_fs_final&amp;gt;-stock IS NOT INITIAL.
      l_wa_proxy_invent-maitem = &amp;lt;l_fs_final&amp;gt;-matnr.		*-----Material
      l_wa_proxy_invent-maloc  = &amp;lt;l_fs_final&amp;gt;-lgort.		*-----Location	
      l_wa_proxy_invent-maavail_date  = &amp;lt;l_fs_final&amp;gt;-hsdat.	*-----Production date
      l_wa_proxy_invent-maexp_date  = &amp;lt;l_fs_final&amp;gt;-vfdat.	*-----Best before date
      l_wa_proxy_invent-maqty  = &amp;lt;l_fs_final&amp;gt;-stock.		*-----Stock

      APPEND l_wa_proxy_invent TO l_i_proxy_invent.
    ENDIF.
  ENDLOOP.

  IF NOT l_i_proxy_invent IS INITIAL.
    l_wa_output-mt_nl_stock_inventories-stock_inventories =  l_i_proxy_invent.


    TRY.

*-Create Proxy Object
        CREATE OBJECT l_o_proxy.


        CALL METHOD l_o_proxy-&amp;gt;execute_asynchronous
          EXPORTING
            output = l_wa_output.

*Catch exceptions if any.

      CATCH cx_ai_system_fault INTO v_sys_excep.
        RETURN.

      CATCH cx_ai_application_fault INTO v_app_excep.
        RETURN.

    ENDTRY.

    COMMIT WORK.

ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 03:33:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507948#M1422996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T03:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: abap proxy.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507949#M1422997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi archana,&lt;/P&gt;&lt;P&gt;       thank u . problem solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;varadarajan.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 11:00:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507949#M1422997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T11:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: abap proxy.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507950#M1422998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi archana,&lt;/P&gt;&lt;P&gt;             I have developed the report using the class. how can i check my program is working or not ?&lt;/P&gt;&lt;P&gt;can u explain the steps please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Varadarajan.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 09:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507950#M1422998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-15T09:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: abap proxy.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507951#M1422999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cen execute your program using any of the three transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;1.&amp;gt; SPROXY--&amp;gt;press execute button.
2.&amp;gt; SE80--&amp;gt;Select yor Proxy--&amp;gt;execute
3.&amp;gt; SE24--&amp;gt;Enter your class name--&amp;gt;execute.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 10:02:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-proxy/m-p/6507951#M1422999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-15T10:02:25Z</dc:date>
    </item>
  </channel>
</rss>

