<?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/2771442#M645765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;read table it_sales with key kunnr = it_tab01-custid.&lt;/P&gt;&lt;P&gt;read table it_ccenter with key SOUR1_FROM = it_sales-vkgrp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2007 20:54:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-06T20:54:54Z</dc:date>
    <item>
      <title>Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2771441#M645764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a condition where I need to select the profit center from the table K9RAED1500001 for the sales group and then I need to pass that cost center into one of my statement, I hve written the following select statements, can you please help me how to write the read statement, I want to read table it_ccenter and pass the target1 i.e. cost center to one of my statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select vkgrp vkbur bzirk kunnr into table it_sales&lt;/P&gt;&lt;P&gt;    from knvv&lt;/P&gt;&lt;P&gt;      for all entries in it_tab01&lt;/P&gt;&lt;P&gt;    where kunnr = it_tab01-custid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select target1 into table it_ccenter&lt;/P&gt;&lt;P&gt;    from K9RAED1500001&lt;/P&gt;&lt;P&gt;      for all entries in it_sales&lt;/P&gt;&lt;P&gt;    where SOUR1_FROM = it_sales-vkgrp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Rajeev gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 20:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2771441#M645764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T20:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2771442#M645765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;read table it_sales with key kunnr = it_tab01-custid.&lt;/P&gt;&lt;P&gt;read table it_ccenter with key SOUR1_FROM = it_sales-vkgrp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 20:54:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2771442#M645765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T20:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2771443#M645766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi you may also have to select the cost center trom the table K9RAED1500001 apart from target1..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select costcent target1 into table it_ccenter fromK9RAED1500001 for all entries in it_sales where sour1_from = it_sales-vkgrp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table it_cccenter with key costcent = &amp;lt;ur cost center&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheer's&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 20:56:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2771443#M645766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T20:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2771444#M645767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the internal tables are large, you should consider sorting them and adding the BINARY SEARCH addition to the READs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 21:00:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2771444#M645767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T21:00:13Z</dc:date>
    </item>
  </channel>
</rss>

