<?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: some basic doubts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/some-basic-doubts/m-p/3833740#M921903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;diff type like&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="477275"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;diff select single up to 1 row&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="750960"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 May 2008 11:13:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-13T11:13:15Z</dc:date>
    <item>
      <title>some basic doubts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/some-basic-doubts/m-p/3833738#M921901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi buddies,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the difference between type and like?...Which one if preferable and why?&lt;/P&gt;&lt;P&gt;what is the difference between SELECT UP to 1 Rows and SELECT SINGLE statement?&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;subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 11:10:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/some-basic-doubts/m-p/3833738#M921901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T11:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: some basic doubts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/some-basic-doubts/m-p/3833739#M921902</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 difference between type and like?...Which one if preferable and why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type refers to a data type.&lt;/P&gt;&lt;P&gt;like refers to data object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the difference between SELECT UP to 1 Rows and SELECT SINGLE statement?&lt;/P&gt;&lt;P&gt;Select up to means u r giving some limit to select the rows.&lt;/P&gt;&lt;P&gt;Select single means u r selecting a single row with the index u have given.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 11:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/some-basic-doubts/m-p/3833739#M921902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T11:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: some basic doubts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/some-basic-doubts/m-p/3833740#M921903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;diff type like&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="477275"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;diff select single up to 1 row&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="750960"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 11:13:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/some-basic-doubts/m-p/3833740#M921903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T11:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: some basic doubts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/some-basic-doubts/m-p/3833741#M921904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;difference between type &amp;amp; like&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="204025"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;difference between select single and select up to 1 row&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1788182"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/difference-between-select-single-and-select-upto-one-rows.htm" target="test_blank"&gt;http://www.sap-img.com/abap/difference-between-select-single-and-select-upto-one-rows.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 11:14:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/some-basic-doubts/m-p/3833741#M921904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T11:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: some basic doubts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/some-basic-doubts/m-p/3833742#M921905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the specification of a data type type or a data object dobj, the data type of the variable var is already fully defined before the declaration. The syntax and meaning of the additions TYPE and LIKE has exactly the same meaning as the definition of data types with TYPES, except that for DATA after TYPE a standard table type with a generic table key can be specified. In this case, a bound table type with a standard key is created.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 11:25:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/some-basic-doubts/m-p/3833742#M921905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T11:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: some basic doubts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/some-basic-doubts/m-p/3833743#M921906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the specification of a data type type or a data object dobj, the data type of the variable var is already fully defined before the declaration. The syntax and meaning of the additions TYPE and LIKE has exactly the same meaning as the definition of data types with TYPES, except that for DATA after TYPE a standard table type with a generic table key can be specified. In this case, a bound table type with a standard key is created. &lt;/P&gt;&lt;P&gt;Prior to Release 6.10, no VALUE addition was possible if the data type deep, specified using TYPE or LIKE, was a string, a reference type, a table type, or a structured type with deep components. As of Release 6.10, the VALUE addition can also be used for deep data types; however, with the limitation that a start value val can only be specified for the ABAP type string, and otherwise only IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE or SELECT ... UP TO 1 ROWS&lt;/P&gt;&lt;P&gt;A lot of people use the SELECT SINGLE statement to check for the existence of a value in a database. Other people prefer to use the 'UP TO 1 ROWS' variant of the SELECT statement.&lt;/P&gt;&lt;P&gt;So what's the difference between using 'SELECT SINGLE' statement as against a 'SELECT .... UP TO 1 ROWS' statement ?&lt;/P&gt;&lt;P&gt;If you're considering the statements&lt;/P&gt;&lt;P&gt;SELECT SINGLE field INTO w_field FROM table.&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;SELECT field INTO w_field FROM table UP TO 1 ROWS. ENDSELECT.&lt;/P&gt;&lt;P&gt;then looking at the result, not much apart from the extra ENDSELECT statement. Look at the run time and memory usage and they may be worlds apart.&lt;/P&gt;&lt;P&gt;Why is this ?? The answer is simple.&lt;/P&gt;&lt;P&gt;The 'SELECT SINGLE' statement selects the first row in the database that it finds that fulfils the 'WHERE' clause If this results in multiple records then only the first one will be returned and therefore may not be unique.&lt;/P&gt;&lt;P&gt;The 'SELECT .... UP TO 1 ROWS' statement is subtly different. The database selects all of the relevant records that are defined by the WHERE clause, applies any aggregate, ordering or grouping functions to them and then returns the first record of the result set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sree reddy on May 13, 2008 1:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 11:26:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/some-basic-doubts/m-p/3833743#M921906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T11:26:05Z</dc:date>
    </item>
  </channel>
</rss>

