<?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/3698461#M890521</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;See below eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: t001w.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_ekorg for t001w-ekorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of it_t001w occurs 0,&lt;/P&gt;&lt;P&gt;        werks type t001w-werks,&lt;/P&gt;&lt;P&gt;        ekorg type t001w-ekorg,&lt;/P&gt;&lt;P&gt;      end of it_t001w.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select werks ekorg from t001w into table it_t001w&lt;/P&gt;&lt;P&gt;            where ekorg in s_ekorg.&lt;/P&gt;&lt;P&gt;            &lt;/P&gt;&lt;P&gt;if not it_t001w[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from marc into table &amp;lt;itab&amp;gt;&lt;/P&gt;&lt;P&gt;      for all entries of it_t001w&lt;/P&gt;&lt;P&gt;      where werks = it_t001w-werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.            &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Apr 2008 11:27:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-18T11:27:45Z</dc:date>
    <item>
      <title>select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3698460#M890520</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 10:48:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3698460#M890520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T10:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3698461#M890521</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;See below eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: t001w.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_ekorg for t001w-ekorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of it_t001w occurs 0,&lt;/P&gt;&lt;P&gt;        werks type t001w-werks,&lt;/P&gt;&lt;P&gt;        ekorg type t001w-ekorg,&lt;/P&gt;&lt;P&gt;      end of it_t001w.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select werks ekorg from t001w into table it_t001w&lt;/P&gt;&lt;P&gt;            where ekorg in s_ekorg.&lt;/P&gt;&lt;P&gt;            &lt;/P&gt;&lt;P&gt;if not it_t001w[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from marc into table &amp;lt;itab&amp;gt;&lt;/P&gt;&lt;P&gt;      for all entries of it_t001w&lt;/P&gt;&lt;P&gt;      where werks = it_t001w-werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.            &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:27:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3698461#M890521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T11:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3698462#M890522</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;If you face in problem in 1st Eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You try this,  it is working I teted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EG:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: t001w.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_ekorg for t001w-ekorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of it_t001w occurs 0,&lt;/P&gt;&lt;P&gt;        werks type t001w-werks,&lt;/P&gt;&lt;P&gt;        ekorg type t001w-ekorg,&lt;/P&gt;&lt;P&gt;      end of it_t001w.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;        matnr type marc-matnr,&lt;/P&gt;&lt;P&gt;        werks type t001w-werks,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select werks ekorg from t001w into table it_t001w&lt;/P&gt;&lt;P&gt;            where ekorg in s_ekorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort it_t001w by werks.&lt;/P&gt;&lt;P&gt;if not it_t001w[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select matnr werks from marc into table itab&lt;/P&gt;&lt;P&gt;      for all entries in it_t001w&lt;/P&gt;&lt;P&gt;      where werks = it_t001w-werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:44:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3698462#M890522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T11:44:35Z</dc:date>
    </item>
  </channel>
</rss>

