<?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 * CONNECTION not work in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-connection-not-work/m-p/10065898#M1811417</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi TS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You gave the answer already, but look at the HELP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;To allow the Open SQL command to be run for the secondary database connection, &lt;STRONG&gt;the table definitions in the connection must be the same as those in the standard database&lt;/STRONG&gt;. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Custodio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Mar 2014 03:41:14 GMT</pubDate>
    <dc:creator>custodio_deoliveira</dc:creator>
    <dc:date>2014-03-03T03:41:14Z</dc:date>
    <item>
      <title>SELECT * CONNECTION not work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-connection-not-work/m-p/10065897#M1811416</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;It is found that SELECT * does not work with CONNECTION. For example, I use the following statement to retrieve data from another system and an error states that SQL error 207 when accessing table 'MARA'. 'Invalid column name&amp;nbsp; 'ANIMAL_ORIGIN''. If columns are specified, data can then be retrieved. The SAP BASIS version is 7.31.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO CORRESPONDING FIELDS OF ls_mara&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM MARA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLIENT SPECIFIED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONNECTION ('G01')&lt;/P&gt;&lt;P&gt; WHERE MANDT = '100'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 03:03:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-connection-not-work/m-p/10065897#M1811416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-03T03:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT * CONNECTION not work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-connection-not-work/m-p/10065898#M1811417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi TS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You gave the answer already, but look at the HELP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;To allow the Open SQL command to be run for the secondary database connection, &lt;STRONG&gt;the table definitions in the connection must be the same as those in the standard database&lt;/STRONG&gt;. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Custodio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 03:41:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-connection-not-work/m-p/10065898#M1811417</guid>
      <dc:creator>custodio_deoliveira</dc:creator>
      <dc:date>2014-03-03T03:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT * CONNECTION not work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-connection-not-work/m-p/10065899#M1811418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Custodio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you prompt reply, but would you please elaborate more? If I use the same statement to retrieve data from table MAKT, it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;TS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 04:29:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-connection-not-work/m-p/10065899#M1811418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-03T04:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT * CONNECTION not work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-connection-not-work/m-p/10065900#M1811419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi TS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I mean is, check if the structure of MARA is the same in both systems. I believe it's not and that's why SELECT * fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Custodio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 04:52:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-connection-not-work/m-p/10065900#M1811419</guid>
      <dc:creator>custodio_deoliveira</dc:creator>
      <dc:date>2014-03-03T04:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT * CONNECTION not work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-connection-not-work/m-p/10065901#M1811420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Custodio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 06:24:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-connection-not-work/m-p/10065901#M1811420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-03T06:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT * CONNECTION not work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-connection-not-work/m-p/10065902#M1811421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi TS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked whether your database connection G01 exists in DBCON table to check whether there is a existing database connection with that name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thanga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 07:41:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-connection-not-work/m-p/10065902#M1811421</guid>
      <dc:creator>ThangaPrakash</dc:creator>
      <dc:date>2014-03-03T07:41:12Z</dc:date>
    </item>
  </channel>
</rss>

