<?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: SAP enterprise services - Proxy classes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-enterprise-services-proxy-classes/m-p/10988717#M1895698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;You should write your own logic In method of that generated proxy class, do not need another ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Archer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2015 02:11:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-04-16T02:11:07Z</dc:date>
    <item>
      <title>SAP enterprise services - Proxy classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-enterprise-services-proxy-classes/m-p/10988716#M1895697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my scenario : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. We have an RDS (Rapid Deployment Solution) deployed and there are enterprise services that came with that.&lt;/P&gt;&lt;P&gt;2. There are proxy classes generated, which can be found in SPROXY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can use these proxy classes elsewhere in the ABAP programs? Though I know the answer is Yes, I would like to understand the procedure from the ABAP code perspective.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I understand that the values of the fields have to be passed into the proxy input structure, which is a little pain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the other words, when the request comes from PI the inbound proxy classes and the methods are invoked, I am trying to do the same thing in an ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Naveen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 23:24:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-enterprise-services-proxy-classes/m-p/10988716#M1895697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-15T23:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAP enterprise services - Proxy classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-enterprise-services-proxy-classes/m-p/10988717#M1895698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;You should write your own logic In method of that generated proxy class, do not need another ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Archer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 02:11:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-enterprise-services-proxy-classes/m-p/10988717#M1895698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-16T02:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAP enterprise services - Proxy classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-enterprise-services-proxy-classes/m-p/10988718#M1895699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I too have the same requirement, the inbound proxy method is called from PI which is triggered by outbound method from another system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could instantiate the inbound proxy class the same way as we do for normal classes.&lt;/P&gt;&lt;P&gt;Then you could call the proxy method by passing the input structure &amp;amp; you will get the desired results in the output structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_INPUT&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;Type&amp;nbsp; &lt;/SPAN&gt;input&lt;SPAN style="font-size: 13.3333330154419px;"&gt;_structure_type&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_OUTPUT&amp;nbsp; &lt;SPAN class="L0S52"&gt;Type&amp;nbsp; &lt;/SPAN&gt;output_structure_type&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LO_proxy &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;REF &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;proxy_class&lt;SPAN class="L0S55"&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Auto generated inbound proxy class&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CREATE &lt;/SPAN&gt;OBJECT lo_lers&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;* Fill the input structure&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;TRY&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lo_&lt;SPAN style="font-size: 13.3333330154419px;"&gt;proxy&lt;/SPAN&gt;&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;proxy_class&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S70"&gt;~&lt;/SPAN&gt;method_sync_inbound&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;input&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;l_input&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;output &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;l_output&lt;SPAN class="L0S55" style="font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;ENDTRY&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 03:43:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-enterprise-services-proxy-classes/m-p/10988718#M1895699</guid>
      <dc:creator>SharathYaralkattimath</dc:creator>
      <dc:date>2015-04-16T03:43:28Z</dc:date>
    </item>
  </channel>
</rss>

