<?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: two select options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-select-options/m-p/1003021#M76995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write as many SELECT statement in your report. If you are talking about JOIN here is a sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select mard&lt;SUB&gt;matnr mard&lt;/SUB&gt;werks&lt;/P&gt;&lt;P&gt;         sum( mard&lt;SUB&gt;labst ) sum( mard&lt;/SUB&gt;insme ) sum( mard~speme )&lt;/P&gt;&lt;P&gt;         sum( mard&lt;SUB&gt;retme ) sum( mslb&lt;/SUB&gt;lblab )&lt;/P&gt;&lt;P&gt;         into table wt_mard&lt;/P&gt;&lt;P&gt;         from mard as mard&lt;/P&gt;&lt;P&gt;         left outer join mslb as mslb on  mard&lt;SUB&gt;matnr = mslb&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;                                      and mard&lt;SUB&gt;werks = mslb&lt;/SUB&gt;werks&lt;/P&gt;&lt;P&gt;         where  mard~matnr  in s_matnr&lt;/P&gt;&lt;P&gt;         and    mard~werks  in s_werks&lt;/P&gt;&lt;P&gt;         group by mard&lt;SUB&gt;matnr mard&lt;/SUB&gt;werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Sep 2005 08:03:36 GMT</pubDate>
    <dc:creator>Vinod_Chandran</dc:creator>
    <dc:date>2005-09-19T08:03:36Z</dc:date>
    <item>
      <title>two select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-select-options/m-p/1003018#M76992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one tell me hwo can i code for two select statements in one report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;raju&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this post is closed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: mpr raju&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2005 07:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-select-options/m-p/1003018#M76992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-19T07:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: two select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-select-options/m-p/1003019#M76993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your question is not clear . You can write as many select statements in your report ,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2005 08:02:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-select-options/m-p/1003019#M76993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-19T08:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: two select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-select-options/m-p/1003020#M76994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please tell the exact requirement ?? Your subject is on select-options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Aadarsh K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2005 08:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-select-options/m-p/1003020#M76994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-19T08:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: two select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-select-options/m-p/1003021#M76995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write as many SELECT statement in your report. If you are talking about JOIN here is a sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select mard&lt;SUB&gt;matnr mard&lt;/SUB&gt;werks&lt;/P&gt;&lt;P&gt;         sum( mard&lt;SUB&gt;labst ) sum( mard&lt;/SUB&gt;insme ) sum( mard~speme )&lt;/P&gt;&lt;P&gt;         sum( mard&lt;SUB&gt;retme ) sum( mslb&lt;/SUB&gt;lblab )&lt;/P&gt;&lt;P&gt;         into table wt_mard&lt;/P&gt;&lt;P&gt;         from mard as mard&lt;/P&gt;&lt;P&gt;         left outer join mslb as mslb on  mard&lt;SUB&gt;matnr = mslb&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;                                      and mard&lt;SUB&gt;werks = mslb&lt;/SUB&gt;werks&lt;/P&gt;&lt;P&gt;         where  mard~matnr  in s_matnr&lt;/P&gt;&lt;P&gt;         and    mard~werks  in s_werks&lt;/P&gt;&lt;P&gt;         group by mard&lt;SUB&gt;matnr mard&lt;/SUB&gt;werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2005 08:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-select-options/m-p/1003021#M76995</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-09-19T08:03:36Z</dc:date>
    </item>
  </channel>
</rss>

