<?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 for primary keys in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-primary-keys/m-p/3444357#M827189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;data: itab like ztable.

select * from ztable into corresponding fields of table itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can i use like this???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i declare my internal table like this where i have to get all the fields in that particular table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Feb 2008 10:10:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-09T10:10:05Z</dc:date>
    <item>
      <title>select statement for primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-primary-keys/m-p/3444356#M827188</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;What is the syntax to select a statement from a table with only primary keys. there are 4 primary keys i have to select all the 4 primary keys is there any syntax difference???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2008 10:07:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-primary-keys/m-p/3444356#M827188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-09T10:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: select statement for primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-primary-keys/m-p/3444357#M827189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;data: itab like ztable.

select * from ztable into corresponding fields of table itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can i use like this???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i declare my internal table like this where i have to get all the fields in that particular table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2008 10:10:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-primary-keys/m-p/3444357#M827189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-09T10:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: select statement for primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-primary-keys/m-p/3444358#M827190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just me any suggestion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2008 10:16:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-primary-keys/m-p/3444358#M827190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-09T10:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: select statement for primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-primary-keys/m-p/3444359#M827191</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;u can do like this.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select &amp;lt;field1 name&amp;gt; 
       &amp;lt;field2 name&amp;gt;
       &amp;lt;fields name&amp;gt;
       &amp;lt;field4 name&amp;gt;
from   &amp;lt;ztable&amp;gt; 
into   corresponding fields of table itab
where  cond.....&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;jose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2008 10:22:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-primary-keys/m-p/3444359#M827191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-09T10:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: select statement for primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-primary-keys/m-p/3444360#M827192</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;do u want those primary keys in the internal table or else will u have a where condition based on those all the primary key fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u use all the four primary keys u can write like this remember one thing first u write the field just like in the table created order it is not mandatory to do like that but it increases the performance of the so query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from ztable into table t_tab where (mention all the four primary keys here ) it increases the performance we are using this single because u r giving all the primary keys in the select query so obvously one record will be there so it increases the query performance..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if wont give those primary keys then write like this select * from ztable into table t_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as normal as ordinary &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope u got cleared &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plzz reward if it is helpful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plzz dont forget to reward...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2008 10:40:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-primary-keys/m-p/3444360#M827192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-09T10:40:39Z</dc:date>
    </item>
  </channel>
</rss>

