<?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: Why the select doesn't run? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763511#M905470</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written the above postly wrongly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wa type makt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE maktx&lt;/P&gt;&lt;P&gt; into wa-maktx &lt;/P&gt;&lt;P&gt; FROM makt &lt;/P&gt;&lt;P&gt; WHERE makt-matnr = matnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Imran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2008 15:56:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-06T15:56:53Z</dc:date>
    <item>
      <title>Why the select doesn't run?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763507#M905466</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 have the following select in a function containing in a function group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE makt-maktx FROM makt WHERE makt-matnr = matnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have declare in the topinclude Tables: makt but I still get the syntax message:&lt;/P&gt;&lt;P&gt;Unknown column name "MAKT-MAKTX". not determined until runtime, you cannot specify a field list.		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 15:48:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763507#M905466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T15:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why the select doesn't run?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763508#M905467</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 this way ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT SINGLE &lt;STRONG&gt;maktx&lt;/STRONG&gt; FROM makt &lt;STRONG&gt;into makt-maktx&lt;/STRONG&gt; WHERE &lt;STRONG&gt;matnr&lt;/STRONG&gt; = matnum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 15:50:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763508#M905467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T15:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why the select doesn't run?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763509#M905468</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;Try this way :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE maktx FROM makt WHERE matnr = matnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 15:51:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763509#M905468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T15:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why the select doesn't run?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763510#M905469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hye vahed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not advisable using Tables statement. It is obselete now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow the below sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wa type makt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE wa-maktx FROM makt WHERE makt-matnr = matnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Imran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 15:54:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763510#M905469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T15:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why the select doesn't run?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763511#M905470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written the above postly wrongly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wa type makt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE maktx&lt;/P&gt;&lt;P&gt; into wa-maktx &lt;/P&gt;&lt;P&gt; FROM makt &lt;/P&gt;&lt;P&gt; WHERE makt-matnr = matnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Imran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 15:56:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763511#M905470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T15:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why the select doesn't run?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763512#M905471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it helped but why do I need an "INTO" I just wanted to select and than with an Write makt-makty display it on the screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 16:16:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763512#M905471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T16:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why the select doesn't run?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763513#M905472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u have to populate into work area( that u define) or header of your table to display. &lt;/P&gt;&lt;P&gt;if u do not want to write into, write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * &lt;/P&gt;&lt;P&gt;               FROM makt &lt;/P&gt;&lt;P&gt;              WHERE matnr = matnum.&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;madhumitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 16:20:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763513#M905472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T16:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why the select doesn't run?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763514#M905473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need some work are to store the value to display it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 16:20:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763514#M905473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T16:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why the select doesn't run?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763515#M905474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vahed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Since you are selecting only single field MAKTX from MAKT table. So the value has to be placed into a variable. So is why we are using into statement. But if you want to select a record with all the fields then ...do this way  ..&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

SELECT SINGLE * FROM makt into makt WHERE matnr = matnum. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 16:21:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763515#M905474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T16:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why the select doesn't run?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763516#M905475</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;tables: makt .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab1 occurs 0,&lt;/P&gt;&lt;P&gt;      matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;      maktx like makt-maktx,&lt;/P&gt;&lt;P&gt;      end of itab1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options:s_matnr for makt-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single matnr maktx  from makt&lt;/P&gt;&lt;P&gt;         into  itab1&lt;/P&gt;&lt;P&gt;         where matnr in s_matnr .&lt;/P&gt;&lt;P&gt;append itab1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab1 .&lt;/P&gt;&lt;P&gt;write:/ itab1-matnr,&lt;/P&gt;&lt;P&gt;        itab1-maktx.&lt;/P&gt;&lt;P&gt;endloop.&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;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 17:50:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-the-select-doesn-t-run/m-p/3763516#M905475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T17:50:18Z</dc:date>
    </item>
  </channel>
</rss>

