<?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: Selection-screen problems in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problems/m-p/12586693#M2009824</link>
    <description>&lt;P&gt;Your code does not guarantee that the same assortment record is checked in the first and second select statements:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;wrsz~datbi is not checked in the first selection&lt;/LI&gt;&lt;LI&gt;wrsz~locnr is not checked in the second selection&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Could you consider using a single select statement to build the displayed internal table&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2022 12:27:17 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2022-05-10T12:27:17Z</dc:date>
    <item>
      <title>Selection-screen problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problems/m-p/12586692#M2009823</link>
      <description>&lt;P&gt;Hello everyone. &lt;/P&gt;
  &lt;P&gt;I need to add a field in a selection-screen, so that users would be able to search data with the help of market. Markets are classified as K001, K002, K003 ... Kn. So, if a user enters K001, information only on that particular market should be displayed. &lt;/P&gt;
  &lt;P&gt;I have written all neccessary code, but I do not why it does not work. I will provide screenshots and some peace of code. If anything else needed, I will therefor provide.&lt;/P&gt; SELECT wlk1~* INTO TABLE @i_wlk1 FROM wlk1 JOIN wrsz ON wlk1~filia EQ wrsz~asort
  &lt;BR /&gt; WHERE filia EQ @wlk1-filia
  &lt;BR /&gt; AND wlk1~datbi GE @datum_rc
  &lt;BR /&gt; AND wlk1~datbi LE @max_datum
  &lt;BR /&gt; AND quell EQ '3' 
  &lt;BR /&gt; AND wrsz~locnr IN @p_locnr 
  &lt;BR /&gt; AND wlk1~artnr IN @p_artnr. 
  &lt;P&gt;SELECT SINGLE locnr INTO &amp;lt;fs_output&amp;gt;-locnr FROM wrsz WHERE asort EQ &amp;lt;fs_output&amp;gt;-filia AND datbi GE sy-datum.&lt;/P&gt;
  &lt;P&gt;wrsz~locnr is the table~field that keeps neccessary data.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2047607-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2047608-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Hope I was clear. &lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 11:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problems/m-p/12586692#M2009823</guid>
      <dc:creator>former_member797394</dc:creator>
      <dc:date>2022-05-10T11:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Selection-screen problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problems/m-p/12586693#M2009824</link>
      <description>&lt;P&gt;Your code does not guarantee that the same assortment record is checked in the first and second select statements:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;wrsz~datbi is not checked in the first selection&lt;/LI&gt;&lt;LI&gt;wrsz~locnr is not checked in the second selection&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Could you consider using a single select statement to build the displayed internal table&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 12:27:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problems/m-p/12586693#M2009824</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2022-05-10T12:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Selection-screen problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problems/m-p/12586694#M2009825</link>
      <description>&lt;P&gt;I got your point. How can I write all this in one select? can you help me with this? if you need more of my code, I will provide it. &lt;/P&gt;&lt;P&gt;Thank you before-hand.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 04:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problems/m-p/12586694#M2009825</guid>
      <dc:creator>former_member797394</dc:creator>
      <dc:date>2022-05-11T04:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Selection-screen problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problems/m-p/12586695#M2009826</link>
      <description>&lt;P&gt;Either move fields of both joined table into the internal table, or adapt the second select to use same where criteria thant in the first join.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 15:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problems/m-p/12586695#M2009826</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2022-05-11T15:59:06Z</dc:date>
    </item>
  </channel>
</rss>

