<?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 Using a BAPI remotely in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-a-bapi-remotely/m-p/11658064#M1944151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using&amp;nbsp; BAPI_PBSRVAPS_GETDETAIL2 to get planning book data from APO (SCM) into ECC. I am developing this program in ECC and am calling the FM as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BAPI_PBSRVAPS_GETDETAIL2' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;BACKGROUND &lt;SPAN class="L0S52"&gt;TASK &lt;/SPAN&gt;DESTINATION &lt;SPAN class="L0S33"&gt;'SCDCL093'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;The BAPI is a Remote-Enabled module.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is I need to use the tables available in the BAPI but cannot define internal tables with the same table type as those in the BAPI because those structures do not exist in ECC. &lt;/P&gt;&lt;P&gt;Does anyone have any advice on how to handle this? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 May 2016 14:46:19 GMT</pubDate>
    <dc:creator>former_member447950</dc:creator>
    <dc:date>2016-05-03T14:46:19Z</dc:date>
    <item>
      <title>Using a BAPI remotely</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-a-bapi-remotely/m-p/11658064#M1944151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using&amp;nbsp; BAPI_PBSRVAPS_GETDETAIL2 to get planning book data from APO (SCM) into ECC. I am developing this program in ECC and am calling the FM as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BAPI_PBSRVAPS_GETDETAIL2' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;BACKGROUND &lt;SPAN class="L0S52"&gt;TASK &lt;/SPAN&gt;DESTINATION &lt;SPAN class="L0S33"&gt;'SCDCL093'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;The BAPI is a Remote-Enabled module.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is I need to use the tables available in the BAPI but cannot define internal tables with the same table type as those in the BAPI because those structures do not exist in ECC. &lt;/P&gt;&lt;P&gt;Does anyone have any advice on how to handle this? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 14:46:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-a-bapi-remotely/m-p/11658064#M1944151</guid>
      <dc:creator>former_member447950</dc:creator>
      <dc:date>2016-05-03T14:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using a BAPI remotely</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-a-bapi-remotely/m-p/11658065#M1944152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Be careful, here you call using tRFC so you can't receive any values as it's asynchronous. Instead use sRFC (DESTINATION 'SCDCL093' alone) or call using aRFC with waiting for the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For not redefining the types, there is a blog which explains one solution &lt;A href="http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/27079"&gt;Dynamically Handling Structure Data Types Defined on a Remote Dictionary&lt;/A&gt;; there's also the possibility to wrap the RFC function module as a Web Service, this way you may create a client proxy at the consumer side, and the types are automatically generated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 19:24:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-a-bapi-remotely/m-p/11658065#M1944152</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-05-03T19:24:20Z</dc:date>
    </item>
  </channel>
</rss>

