<?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: select data in an other database in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-data-in-an-other-database/m-p/1467129#M219923</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;from selection of data from other R/3 systems, you need RFC enabled function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a function module and make it remote enabled. then give the server name in destination parameter.&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;HRA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Aug 2006 08:15:47 GMT</pubDate>
    <dc:creator>dani_mn</dc:creator>
    <dc:date>2006-08-22T08:15:47Z</dc:date>
    <item>
      <title>select data in an other database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-data-in-an-other-database/m-p/1467128#M219922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program is in a system, and i want to select data from EKKO table in an other database system like that :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select SINGLE ebeln&lt;/P&gt;&lt;P&gt;  g_ebeln&lt;/P&gt;&lt;P&gt;  FROM ekko &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;from system SAP DH4_020 *****&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  WHERE ebeln = gs_poheaderc-po_number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peggy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 08:12:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-data-in-an-other-database/m-p/1467128#M219922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T08:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: select data in an other database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-data-in-an-other-database/m-p/1467129#M219923</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;from selection of data from other R/3 systems, you need RFC enabled function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a function module and make it remote enabled. then give the server name in destination parameter.&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;HRA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 08:15:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-data-in-an-other-database/m-p/1467129#M219923</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2006-08-22T08:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: select data in an other database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-data-in-an-other-database/m-p/1467130#M219924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this u have to create a RFC Enabled Func. Module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION &amp;lt;b&amp;gt;'Z08V_RA_D_P38ORD_FM'&amp;lt;/b&amp;gt; DESTINATION 'D38_011'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      I_VBELN = P_VBELN&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      IT_VBAK = G_T_HEADER&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      TEST1   = 1&lt;/P&gt;&lt;P&gt;      OTHERS  = 2.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE 'E' NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;  ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM which is mentioned here should be created in the destination sytem. ie) the system from where u are getting the DATA from EKKO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 08:17:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-data-in-an-other-database/m-p/1467130#M219924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T08:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: select data in an other database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-data-in-an-other-database/m-p/1467131#M219925</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) get the table  ekko with fm TABLE_ENTRIES_GET_VIA_RFC&lt;/P&gt;&lt;P&gt;2) get your item with read table from the imported itab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Andreas Mann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 08:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-data-in-an-other-database/m-p/1467131#M219925</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-08-22T08:31:49Z</dc:date>
    </item>
  </channel>
</rss>

