<?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 problem with a select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a-select-statement/m-p/3549109#M853849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this select statement&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;select * from ce4e001 where bukrs eq s_bukrs-low.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;check s_kndnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;check s_prctr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;move-corresponding ce4e001 to v_ce4e001.&lt;/P&gt;&lt;P&gt;append v_ce4e001.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;in the above select statement you can see two check statements befor appending (both those checks are  on the select options)&lt;/P&gt;&lt;P&gt;i came to know that these two check statements is to check whether the values(kdnr,prctr) are present in the table ce4e001.&lt;/P&gt;&lt;P&gt;if present then the following conditions are executed.&lt;/P&gt;&lt;P&gt;if not nothing wiil be moved into v_ce4e001.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;now my problem is, i want to replace this statement with &lt;/P&gt;&lt;P&gt;select using into table. in this case how can i incorporate those two check statements in my new select statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Mar 2008 10:04:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-31T10:04:43Z</dc:date>
    <item>
      <title>problem with a select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a-select-statement/m-p/3549109#M853849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this select statement&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;select * from ce4e001 where bukrs eq s_bukrs-low.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;check s_kndnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;check s_prctr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;move-corresponding ce4e001 to v_ce4e001.&lt;/P&gt;&lt;P&gt;append v_ce4e001.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;in the above select statement you can see two check statements befor appending (both those checks are  on the select options)&lt;/P&gt;&lt;P&gt;i came to know that these two check statements is to check whether the values(kdnr,prctr) are present in the table ce4e001.&lt;/P&gt;&lt;P&gt;if present then the following conditions are executed.&lt;/P&gt;&lt;P&gt;if not nothing wiil be moved into v_ce4e001.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;now my problem is, i want to replace this statement with &lt;/P&gt;&lt;P&gt;select using into table. in this case how can i incorporate those two check statements in my new select statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 10:04:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a-select-statement/m-p/3549109#M853849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T10:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: problem with a select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a-select-statement/m-p/3549110#M853850</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 below code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * &lt;/P&gt;&lt;P&gt;from ce4e001 &lt;/P&gt;&lt;P&gt;into table  v_ce4e001&lt;/P&gt;&lt;P&gt;where bukrs eq s_bukrs-low&lt;/P&gt;&lt;P&gt;and  kndnr in s_kndnr&lt;/P&gt;&lt;P&gt;and prctr in s_prctr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 10:06:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a-select-statement/m-p/3549110#M853850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T10:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: problem with a select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a-select-statement/m-p/3549111#M853851</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;&lt;/P&gt;&lt;P&gt;select * from ce4e001 into corresponding fields of table v_ce4e001 where bukrs eq s_bukrs-low and&lt;/P&gt;&lt;P&gt;                                          kndnr in s_kndnr and&lt;/P&gt;&lt;P&gt;                                          prctr in s_prctr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Morris Bond.&lt;/P&gt;&lt;P&gt;Reward Points if Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 10:16:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a-select-statement/m-p/3549111#M853851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T10:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: problem with a select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a-select-statement/m-p/3549112#M853852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Vamshi,&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;PRE&gt;&lt;CODE&gt;
select * from ce4e001 into corresponding field of  table it_ce4e001
 where bukrs eq s_bukrs-low and
                                         kndnr in s_kndnr        and
                                         prctr  in s_prctr.
 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 10:22:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a-select-statement/m-p/3549112#M853852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T10:22:21Z</dc:date>
    </item>
  </channel>
</rss>

