<?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: Cannot fetch data from Select Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-fetch-data-from-select-query/m-p/552811#M21021</link>
    <description>&lt;P&gt;What purpose does free statement serve ? Its not needed just after declaration.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Dec 2017 03:46:58 GMT</pubDate>
    <dc:creator>Ankit_Maskara</dc:creator>
    <dc:date>2017-12-26T03:46:58Z</dc:date>
    <item>
      <title>Cannot fetch data from Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-fetch-data-from-select-query/m-p/552810#M21020</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I am developing a simple BSP application in which I am using a simple select query like:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;DATA: gt_zemp TYPE TABLE OF zemp_detail.
FREE: gt_zemp[].
SELECT * FROM zemp_detail INTO TABLE gt_zemp.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;The table ZEMP_DETAIL has 3 entries but I am still getting SY-SUBRC = 4 and the GT_ZEMP is not getting filled. But when I am executing the same query in a demo report GT_ZEMP is getting filled.&lt;/P&gt;
  &lt;P&gt;The table ZEMP_DETAIL has TMG and and there is no restriction on this table.&lt;/P&gt;
  &lt;P&gt;Can anyone please help me where I am doing wrong?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2017 11:46:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-fetch-data-from-select-query/m-p/552810#M21020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-12-25T11:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot fetch data from Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-fetch-data-from-select-query/m-p/552811#M21021</link>
      <description>&lt;P&gt;What purpose does free statement serve ? Its not needed just after declaration.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2017 03:46:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-fetch-data-from-select-query/m-p/552811#M21021</guid>
      <dc:creator>Ankit_Maskara</dc:creator>
      <dc:date>2017-12-26T03:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot fetch data from Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-fetch-data-from-select-query/m-p/552812#M21022</link>
      <description>&lt;P&gt;Hi Subhajit,&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;DATA: gt_zemp TYPETABLEOF zemp_detail.

FREE: gt_zemp[].

SELECT*FROM zemp_detail INTOTABLE gt_zemp.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;instead of Free write refresh.&lt;/P&gt;
  &lt;P&gt;i.e REFRESH : gt_zemp[].&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Bhagaban.P&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2017 06:17:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-fetch-data-from-select-query/m-p/552812#M21022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-12-26T06:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot fetch data from Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-fetch-data-from-select-query/m-p/552813#M21023</link>
      <description>&lt;P&gt;and also useless right before SELECT ... INTO TABLE ...&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2017 10:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-fetch-data-from-select-query/m-p/552813#M21023</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-12-26T10:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot fetch data from Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-fetch-data-from-select-query/m-p/552814#M21024</link>
      <description>&lt;P&gt;Maybe you have run the program from the wrong client (mandant)?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2017 10:48:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-fetch-data-from-select-query/m-p/552814#M21024</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-12-26T10:48:12Z</dc:date>
    </item>
  </channel>
</rss>

