<?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 Looping through Multiple Selection in Select-Options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/looping-through-multiple-selection-in-select-options/m-p/12619460#M2012467</link>
    <description>&lt;P&gt;I am trying to produce a table for multiple selections of users at once.&lt;/P&gt;
  &lt;P&gt;My code works for one user but the client wants to be able to use the multiple selection to enter a group of 5 users at once to view a table for each. Is there a way to loop through all the selections in the multiple selection and write out a table for each?&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS: P_USER FOR AGR_USERS-UNAME NO INTERVALS.&lt;BR /&gt;SELECT *&lt;BR /&gt;    INTO CORRESPONDING FIELDS OF TABLE ITAB_USER_ROLES&lt;BR /&gt;  WHERE UNAME EQ P_USER-LOW.&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 02 Jun 2022 13:18:24 GMT</pubDate>
    <dc:creator>former_member805784</dc:creator>
    <dc:date>2022-06-02T13:18:24Z</dc:date>
    <item>
      <title>Looping through Multiple Selection in Select-Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/looping-through-multiple-selection-in-select-options/m-p/12619460#M2012467</link>
      <description>&lt;P&gt;I am trying to produce a table for multiple selections of users at once.&lt;/P&gt;
  &lt;P&gt;My code works for one user but the client wants to be able to use the multiple selection to enter a group of 5 users at once to view a table for each. Is there a way to loop through all the selections in the multiple selection and write out a table for each?&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS: P_USER FOR AGR_USERS-UNAME NO INTERVALS.&lt;BR /&gt;SELECT *&lt;BR /&gt;    INTO CORRESPONDING FIELDS OF TABLE ITAB_USER_ROLES&lt;BR /&gt;  WHERE UNAME EQ P_USER-LOW.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jun 2022 13:18:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/looping-through-multiple-selection-in-select-options/m-p/12619460#M2012467</guid>
      <dc:creator>former_member805784</dc:creator>
      <dc:date>2022-06-02T13:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through Multiple Selection in Select-Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/looping-through-multiple-selection-in-select-options/m-p/12619461#M2012468</link>
      <description>&lt;P&gt;Hi Owen,&lt;/P&gt;&lt;P&gt;P_USER is a Range structure. You can simply use it as follows:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT *
    INTO CORRESPONDING FIELDS OF TABLE ITAB_USER_ROLES
  &lt;STRONG&gt;WHERE UNAME IN P_USER&lt;/STRONG&gt;.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jun 2022 13:36:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/looping-through-multiple-selection-in-select-options/m-p/12619461#M2012468</guid>
      <dc:creator>soerentsch</dc:creator>
      <dc:date>2022-06-02T13:36:29Z</dc:date>
    </item>
  </channel>
</rss>

