<?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/1862855#M364110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i just left all the input fields blank . It has to retrieve all the records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2007 22:55:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-05T22:55:26Z</dc:date>
    <item>
      <title>select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1862852#M364107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select a&lt;SUB&gt;vbeln a&lt;/SUB&gt;erdat a&lt;SUB&gt;erzet a&lt;/SUB&gt;bstnk a&lt;SUB&gt;kunnr b&lt;/SUB&gt;posnr b~matnr&lt;/P&gt;&lt;P&gt;b&lt;SUB&gt;kwmeng b&lt;/SUB&gt;kbmeng b~werks into corresponding fields of table itab1 from&lt;/P&gt;&lt;P&gt;vbak as a inner join vbap as b on a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln where a~erdat in&lt;/P&gt;&lt;P&gt;erdat and a&lt;SUB&gt;bstnk in bstnk and a&lt;/SUB&gt;kunnr in kunnr and b~matnr in matnr and&lt;/P&gt;&lt;P&gt;b~werks in werks . Can anyone tell whatz the error in this . Its not retrieving any data . I appreciate your response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 22:39:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1862852#M364107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T22:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1862853#M364108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The syntax looks good provided you have declared erdat, bstnk, kunnr, matnr and werks as select-options. If you are not getting data then there are no records in the table that satisfys the joining condition you have given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Guru&lt;/P&gt;&lt;P&gt;Reward points for helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 22:43:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1862853#M364108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T22:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1862854#M364109</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;The SQL looks good..Go to SE16..give table VBAK..Enter the creation date (ERDAT), BSTNK, KUNNR with the same values as you entered in the selection screen (I guess)..Then check if there is any entry for that combination..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find..take one sales document and go to the table VBAP..And check if the matnr and werks is the same as the one which you gave in the selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 22:46:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1862854#M364109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T22:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1862855#M364110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i just left all the input fields blank . It has to retrieve all the records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 22:55:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1862855#M364110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T22:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1862856#M364111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i just left all the input fields blank . It has to retrieve all the records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 23:06:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1862856#M364111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T23:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1862857#M364112</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;I believe you are not getting any syntax error in the select statement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check if you are running in the client which has data..Meaning..In the development client ..there will not be any data..&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 23:09:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1862857#M364112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T23:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1862858#M364113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately it doesnt mean that. I'll explain what it is doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. it is selecting all records from table VBAK which has a corresponding record in table VBAP based on the condition VBAK-VBELN = VBAP-VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find values in these table based on teh condition I mentioned then you need to see what are the default values stored in the select options erdat.......werks. I think these are having a value of '0' to '0'. This may be the problem. To eleminate this error declare the select-option referring to these fields only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Guru&lt;/P&gt;&lt;P&gt;Reward points for helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 23:17:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1862858#M364113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T23:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1862859#M364114</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;How is your problem solved??Please let us know..&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 23:32:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1862859#M364114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T23:32:21Z</dc:date>
    </item>
  </channel>
</rss>

