<?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 Selection screen critia. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624107#M873084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s1 for zuser-userid.&lt;/P&gt;&lt;P&gt;parameters: s2 like zuser-team.&lt;/P&gt;&lt;P&gt;parameters: s3 like zuser-role.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select zuser&lt;SUB&gt;username zuser&lt;/SUB&gt;password zuser&lt;SUB&gt;userid enam zuser&lt;/SUB&gt;team zuser~role report&lt;/P&gt;&lt;P&gt;    into corresponding fields of table itab1 from zuser inner join zempmas on zuser&lt;SUB&gt;userid = zempmas&lt;/SUB&gt;emid&lt;/P&gt;&lt;P&gt;    where &lt;STRONG&gt;zuser&lt;SUB&gt;userid in s1 or zuser&lt;/SUB&gt;team = s2 or zuser~role = s3.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its not display the output..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx,&lt;/P&gt;&lt;P&gt;s.suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2008 05:56:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-19T05:56:48Z</dc:date>
    <item>
      <title>Selection screen critia.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624107#M873084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s1 for zuser-userid.&lt;/P&gt;&lt;P&gt;parameters: s2 like zuser-team.&lt;/P&gt;&lt;P&gt;parameters: s3 like zuser-role.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select zuser&lt;SUB&gt;username zuser&lt;/SUB&gt;password zuser&lt;SUB&gt;userid enam zuser&lt;/SUB&gt;team zuser~role report&lt;/P&gt;&lt;P&gt;    into corresponding fields of table itab1 from zuser inner join zempmas on zuser&lt;SUB&gt;userid = zempmas&lt;/SUB&gt;emid&lt;/P&gt;&lt;P&gt;    where &lt;STRONG&gt;zuser&lt;SUB&gt;userid in s1 or zuser&lt;/SUB&gt;team = s2 or zuser~role = s3.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its not display the output..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx,&lt;/P&gt;&lt;P&gt;s.suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 05:56:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624107#M873084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T05:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen critia.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624108#M873085</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;  1.put the break point at selection statement and check whether &lt;/P&gt;&lt;P&gt;      data is existed for particular conditions OR not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.select zuser&lt;SUB&gt;username zuser&lt;/SUB&gt;password zuser&lt;SUB&gt;userid &lt;STRONG&gt;enam&lt;/STRONG&gt; zuser&lt;/SUB&gt;team zuser~role report&lt;/P&gt;&lt;P&gt;into corresponding fields of table itab1 from zuser inner join zempmas on zuser&lt;SUB&gt;userid = zempmas&lt;/SUB&gt;emid&lt;/P&gt;&lt;P&gt;where zuser~userid in s1 or&lt;/P&gt;&lt;P&gt;           zuser~team = s2 or&lt;/P&gt;&lt;P&gt;           zuser~role = s2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is &lt;STRONG&gt;enam&lt;/STRONG&gt; is from zuse? if yes write &lt;STRONG&gt;zuser~enam&lt;/STRONG&gt;  in select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 06:02:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624108#M873085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T06:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen critia.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624109#M873086</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 the Following query,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select zuser~username zuser~password zuser~userid enam zuser~team zuser~role report
into corresponding fields of table itab1 from zuser inner join zempmas on zuser~userid = zempmas~emid
where zuser~userid in s1 and
          ( zuser~team = s2 or zuser~role = s3 ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balakumar.G.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 06:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624109#M873086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T06:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen critia.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624110#M873087</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 the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select Z~username &lt;/P&gt;&lt;P&gt;         Z~password &lt;/P&gt;&lt;P&gt;         Z~userid &lt;/P&gt;&lt;P&gt;         E~enam &lt;/P&gt;&lt;P&gt;         Z~team&lt;/P&gt;&lt;P&gt;         Z~role report&lt;/P&gt;&lt;P&gt;into corresponding fields of table itab1 from zuser as Z inner join zempmas as E on Z&lt;SUB&gt;userid = E&lt;/SUB&gt;emid&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where Z&lt;SUB&gt;userid in s1 or Z&lt;/SUB&gt;team = s2 or Z~role = s3.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 06:05:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624110#M873087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T06:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen critia.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624111#M873088</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....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select zuser~username&lt;/P&gt;&lt;P&gt; zuser~password&lt;/P&gt;&lt;P&gt; zuser~userid &lt;/P&gt;&lt;P&gt;zuser&lt;SUB&gt;enam zuser&lt;/SUB&gt;team &lt;/P&gt;&lt;P&gt;zuser&lt;SUB&gt;role zuse&lt;/SUB&gt;report&lt;/P&gt;&lt;P&gt;into corresponding fields of table itab1 from zuser inner join zempmas on zuser&lt;SUB&gt;userid = zempmas&lt;/SUB&gt;emid&lt;/P&gt;&lt;P&gt;where zuser~userid in s1 &lt;/P&gt;&lt;P&gt;or zuser~team = s2 &lt;/P&gt;&lt;P&gt;or zuser~role = s3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 06:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624111#M873088</guid>
      <dc:creator>ak_upadhyay</dc:creator>
      <dc:date>2008-03-19T06:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen critia.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624112#M873089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;First check the tables whether u have any data exist for ur selection criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Few things u can change.&lt;/P&gt;&lt;P&gt;1. Avoid in to corrosponding fields.&lt;/P&gt;&lt;P&gt;2. JOINS are very slow. So go for for all entries.&lt;/P&gt;&lt;P&gt;Check below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT all key fields and emid&lt;/P&gt;&lt;P&gt;INTO TABLE itab1&lt;/P&gt;&lt;P&gt;FROM zempmas&lt;/P&gt;&lt;P&gt;WHERE emid IN s1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK NOT itab1 IS INITIAL.&lt;/P&gt;&lt;P&gt;SORT itab1 BY emid.&lt;/P&gt;&lt;P&gt;select username password userid team role&lt;/P&gt;&lt;P&gt; into table itab2&lt;/P&gt;&lt;P&gt; from zuser&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN itab1&lt;/P&gt;&lt;P&gt;WHERE userid = itab1-emid&lt;/P&gt;&lt;P&gt;AND (  team = s2 or role = s3 ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont understand the bold ones below in ur select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select zuser&lt;SUB&gt;username zuser&lt;/SUB&gt;password zuser~userid &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;enam&lt;/STRONG&gt; zuser&lt;SUB&gt;team zuser&lt;/SUB&gt;role &lt;STRONG&gt;report&lt;/STRONG&gt;&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>Wed, 19 Mar 2008 06:08:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624112#M873089</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-03-19T06:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen critia.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624113#M873090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Since userid is primary key for ur table, i guess that should be mandatory in where condition.&lt;/P&gt;&lt;P&gt;So, use AND for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 06:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624113#M873090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T06:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen critia.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624114#M873091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     Change the format as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select-options: s1 for zuser-userid.
select-options: s2 for zuser-team no intervals no extension. "Change
select-options: s3 for zuser-role no intervals no extension. "change

select zuser~username zuser~password zuser~userid enam zuser~team zuser~role report
into corresponding fields of table itab1 from zuser inner join zempmas on zuser~userid = zempmas~emid
where zuser~userid in s1 
and zuser~team in s2  "change
and zuser~role in s3. "change 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 06:25:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-critia/m-p/3624114#M873091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T06:25:55Z</dc:date>
    </item>
  </channel>
</rss>

