<?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 Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1508559#M234710</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; Check if you included the MANDT field which is existing in z table in the internal tbale itab or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Aug 2006 10:46:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-28T10:46:33Z</dc:date>
    <item>
      <title>Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1508556#M234707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a field in ztable called "zreqtype" with char 20 length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have defined an internal table itab with all fields same as in ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if i write select statement, i am facing following Problems..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If i write as follows, i can't retrieve the data from ztable-zreqtype. But i will get other fields of that row..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from ztable into corresponding fields of table itab where zreqno = s_reqno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The extracted fields will be made to display in an ALV output..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If i write it as...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select reqtype from ztable into corresponding fields of table itab where zreqno = s_reqno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be able to retrieve the "Zreqtype" field...&lt;/P&gt;&lt;P&gt;BUT the same data don't display in ALV Output...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What to do now...??&lt;/P&gt;&lt;P&gt;plz help me out...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 10:34:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1508556#M234707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T10:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1508557#M234708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA:BEGIN OF ITAB OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE ZTZBLE.&lt;/P&gt;&lt;P&gt;DATA:END OF ITAB.&lt;/P&gt;&lt;P&gt;select * from ztable into table itab where zreqno = s_reqno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;TO DISPLAY IN ALV CHECK..&lt;/P&gt;&lt;P&gt;zreqtype&amp;lt;/b&amp;gt;----&amp;gt;IT  IS IN CAPITAL LETTER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 10:37:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1508557#M234708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T10:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1508558#M234709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kishan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System is throwing error " The work area itab is not long enough"..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;???????????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 10:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1508558#M234709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T10:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1508559#M234710</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; Check if you included the MANDT field which is existing in z table in the internal tbale itab or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 10:46:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1508559#M234710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T10:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1508560#M234711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; DATA: begin of ITAB.&lt;/P&gt;&lt;P&gt;        include structure ZTABLE.&lt;/P&gt;&lt;P&gt; DATA: end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt; SELECT * FROM ZTABLE INTO ITAB WHERE &amp;lt;cond&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you will able to see all the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Srikanth Kidambi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 10:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1508560#M234711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T10:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1508561#M234712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how you have declared the internal table,thats makes the difference, if you have not declared using the like statement, than your select statement give you the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check out that first,&lt;/P&gt;&lt;P&gt;than your select statement are correct, but the thing is how you are displaying them though the ALV report, have you declared the field catalogue properly.&lt;/P&gt;&lt;P&gt;check your field catalogoue.&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;mrutyun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 11:05:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1508561#M234712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T11:05:22Z</dc:date>
    </item>
  </channel>
</rss>

