<?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: regarding select in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256912#M488774</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;create a internal table with heaedr line as&lt;/P&gt;&lt;P&gt;data: itab like usr02 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM USR02  into table itab WHERE BNAME = SY-UNAME&lt;/P&gt;&lt;P&gt;                               AND CLASS = 'RES_SUPERVIS'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;suresh babu aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2007 12:51:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-22T12:51:27Z</dc:date>
    <item>
      <title>regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256904#M488766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;     i working in upgrade from 4.5 to ECC6 . I hav an syntax error in the below select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Authorisation Cheacks for Super User&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; SELECT SINGLE * FROM USR02 WHERE BNAME = SY-UNAME
                               AND CLASS = 'RES_SUPERVIS'. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erro message :&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; A target area must be declared either explicitly with an INTO clause or&lt;/P&gt;&lt;P&gt;implicitly with a TABLES statement. &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;I feel that we hav create a work area.. but any other solution&lt;/P&gt;&lt;P&gt;Any suggestion for doing this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 12:38:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256904#M488766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T12:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256905#M488767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the starting of the program declare as&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;TABLES: USR02.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, when u write the select statement as&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Authorisation Cheacks for Super User&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; SELECT SINGLE * FROM USR02 WHERE BNAME = SY-UNAME&lt;/P&gt;&lt;P&gt;                               AND CLASS = 'RES_SUPERVIS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the data from USR02 will get stored in the workarea of USR02 as it is defined in the tables statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 12:41:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256905#M488767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T12:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256906#M488768</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;       Use Tables Statement for USR02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 12:42:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256906#M488768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T12:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256907#M488769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare the table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables: USR02.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 12:43:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256907#M488769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T12:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256908#M488770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes u need to declare a work area for populating with the single record.&lt;/P&gt;&lt;P&gt;If u r using Non primary key in WHERE CONDITION, then U  can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TabLES: MARA&lt;/P&gt;&lt;P&gt;Select  * from MARA upto 1 row where ersda = p_ersda.&lt;/P&gt;&lt;P&gt;end select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In this case selected record will  get poulated into workarea (mara) . As we uses TabLES statement, Workarea is decalred implicity and there si no need to declare work area explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revrt back if any issues,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward with points  if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 12:44:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256908#M488770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T12:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256909#M488771</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 might not have dfined USR02 in the tables statement.&lt;/P&gt;&lt;P&gt;The select statement requires an default workarea to store the value,so on declaring&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: USR02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will create a default workarea..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and u problem will be solved..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Simha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 12:44:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256909#M488771</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2007-05-22T12:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256910#M488772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sanjay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating a work area of line type USR02 would be the optimal solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Basu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Basavaraj P Umadi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 12:46:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256910#M488772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T12:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256911#M488773</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;There are two solutions&lt;/P&gt;&lt;P&gt;1) Create your own work area with same structure of USR02 &amp;amp; add into workarea  i&lt;/P&gt;&lt;P&gt;    in select statement&lt;/P&gt;&lt;P&gt;2) Declare statement Table USR02 at the start so all the data will be captured in USR02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;P&gt;Reward if helpful &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 12:47:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256911#M488773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T12:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256912#M488774</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;create a internal table with heaedr line as&lt;/P&gt;&lt;P&gt;data: itab like usr02 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM USR02  into table itab WHERE BNAME = SY-UNAME&lt;/P&gt;&lt;P&gt;                               AND CLASS = 'RES_SUPERVIS'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;suresh babu aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 12:51:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/2256912#M488774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T12:51:27Z</dc:date>
    </item>
  </channel>
</rss>

