<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3700585#M891002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT-OPTIONS : s_ekorg type T001W-EKORG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF I_WERKS OCCURS 0,&lt;/P&gt;&lt;P&gt;werks type T001W-WERKS,&lt;/P&gt;&lt;P&gt;END OF I_WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select Werks into table i_werks from T001W where EKORG in s_ekorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will fetch all related data for s_ekorg in internal table i_werks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohaiyuddin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Apr 2008 12:21:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-18T12:21:18Z</dc:date>
    <item>
      <title>select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3700583#M891000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In selection screen i have purchase organisation as select option..&lt;/P&gt;&lt;P&gt;Based on this purchase organisation i have to write a query with all the plants that is associated wid purchase organisation Can u pls tell me how 2 do??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ekorg(PO)-T001w.&lt;/P&gt;&lt;P&gt;Select..........&lt;/P&gt;&lt;P&gt;from Marc where werks in........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how shud i get werks for the PO into select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will b rewarded....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:14:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3700583#M891000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T11:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3700584#M891001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... &lt;/P&gt;&lt;P&gt;See u have to use 2 tables .... &lt;/P&gt;&lt;P&gt;1. Ekko -- Purchasing Document Header&lt;/P&gt;&lt;P&gt;2. Ekpo -- Purchasing Document Item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_ekorg for ekko-ekorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select ekorg&lt;/P&gt;&lt;P&gt;          werks &lt;/P&gt;&lt;P&gt;          from  ekpo as a&lt;/P&gt;&lt;P&gt;          join   ekko as b&lt;/P&gt;&lt;P&gt;          where a&lt;SUB&gt;ebeln = b&lt;/SUB&gt;ebeln &lt;/P&gt;&lt;P&gt;         and   ekorg = s_ekorg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 12:08:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3700584#M891001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T12:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3700585#M891002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT-OPTIONS : s_ekorg type T001W-EKORG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF I_WERKS OCCURS 0,&lt;/P&gt;&lt;P&gt;werks type T001W-WERKS,&lt;/P&gt;&lt;P&gt;END OF I_WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select Werks into table i_werks from T001W where EKORG in s_ekorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will fetch all related data for s_ekorg in internal table i_werks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohaiyuddin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 12:21:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3700585#M891002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T12:21:18Z</dc:date>
    </item>
  </channel>
</rss>

