<?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: Get data using one SELECT. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-using-one-select/m-p/7058967#M1503048</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 code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select PKNUM SUB_PKNUM PKQTY MEINS from z1tab1&lt;/P&gt;&lt;P&gt;into table it_tab &lt;/P&gt;&lt;P&gt;for all entries in it_tab2&lt;/P&gt;&lt;P&gt;where pknum = it_tab2-pknum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where it_tab have strucuture like Z1TAB1 and it_tab2 have structure like Z1TAB2.&lt;/P&gt;&lt;P&gt;before performing select query, move the data present in Z1TAB2 to internal table it_tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lokeswari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jun 2010 13:24:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-30T13:24:51Z</dc:date>
    <item>
      <title>Get data using one SELECT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-using-one-select/m-p/7058965#M1503046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a ZITAB1 contains following fields.&lt;/P&gt;&lt;P&gt;PKNUM - Key field of Ztable and other table ZITAB2 (used in FOR ALL ENTRIES) also&lt;/P&gt;&lt;P&gt;MANDT	PKNUM	SUB_PKNUM	PKQTY	MEINS&lt;/P&gt;&lt;P&gt;100	14201	14202		0.00	&lt;/P&gt;&lt;P&gt;100	14202			10.00	EA&lt;/P&gt;&lt;P&gt;100	14202			12.00	EA&lt;/P&gt;&lt;P&gt;100	14202			15.00	EA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to select all these quantites "FOR ALL ENTRIES IN ZITAB2".&lt;/P&gt;&lt;P&gt;Can I do it in one SELECT statement only?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 12:50:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-using-one-select/m-p/7058965#M1503046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-30T12:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get data using one SELECT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-using-one-select/m-p/7058966#M1503047</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;Please Search in SCN Before Posting. Please see the SCN Rules Before Posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sumodh.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 13:14:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-using-one-select/m-p/7058966#M1503047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-30T13:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Get data using one SELECT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-using-one-select/m-p/7058967#M1503048</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 code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select PKNUM SUB_PKNUM PKQTY MEINS from z1tab1&lt;/P&gt;&lt;P&gt;into table it_tab &lt;/P&gt;&lt;P&gt;for all entries in it_tab2&lt;/P&gt;&lt;P&gt;where pknum = it_tab2-pknum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where it_tab have strucuture like Z1TAB1 and it_tab2 have structure like Z1TAB2.&lt;/P&gt;&lt;P&gt;before performing select query, move the data present in Z1TAB2 to internal table it_tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lokeswari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 13:24:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-using-one-select/m-p/7058967#M1503048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-30T13:24:51Z</dc:date>
    </item>
  </channel>
</rss>

