<?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 about select options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/1302775#M159019</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;      I have one doubt.The doubt is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        I have defined one button in one list using pf-status. Now in that output list there is matnr field and check boxes with it. When i will check multiple boxes and press the button then it will go to another selection screen with the help of call transaction and populate the data of multiple matnrs in the select option of the screen as we know that we can store multiple values in select option field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Experts pls help me in solving this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     I am working on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; With regards,&lt;/P&gt;&lt;P&gt;   Abir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 May 2006 09:54:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-25T09:54:01Z</dc:date>
    <item>
      <title>about select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/1302775#M159019</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;      I have one doubt.The doubt is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        I have defined one button in one list using pf-status. Now in that output list there is matnr field and check boxes with it. When i will check multiple boxes and press the button then it will go to another selection screen with the help of call transaction and populate the data of multiple matnrs in the select option of the screen as we know that we can store multiple values in select option field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Experts pls help me in solving this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     I am working on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; With regards,&lt;/P&gt;&lt;P&gt;   Abir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 09:54:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/1302775#M159019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-25T09:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: about select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/1302776#M159020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Abir,&lt;/P&gt;&lt;P&gt;  in the user_command sub routien,&lt;/P&gt;&lt;P&gt;assume that you have the internal table with an additional field for the check box and the changes that are made in the list(selection and deselection) are captured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case ok_code.&lt;/P&gt;&lt;P&gt;when 'BUT1'.&lt;/P&gt;&lt;P&gt;loop at itab where check = 'X'.&lt;/P&gt;&lt;P&gt;r_matnr-low = itab-matnr.&lt;/P&gt;&lt;P&gt;r_natnr-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_matnr-high = 'EQ'.&lt;/P&gt;&lt;P&gt;append r_matnr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit zreport with s_matnr in r_matnr. "S_matnr is in the other program&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 09:58:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/1302776#M159020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-25T09:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: about select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/1302777#M159021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;chk this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="97155"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this link helps a lot in solving ur issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="152283"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ganesh Mynampati&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 09:58:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/1302777#M159021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-25T09:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: about select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/1302778#M159022</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;just a small addition you may use whenever you want to populate a range. What about &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab where check = 'X'.&lt;/P&gt;&lt;P&gt;perform append_range using itab-matnr '' 'IEQ' changing r_matnr[].&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works for ranges of any structure. Just give the SIGN and OPTION as a string, the low and high values and the range table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here comes the form to be uesed in all kind of programs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  append_range&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      append selection range&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM append_range  USING    p_signopt     TYPE c&lt;/P&gt;&lt;P&gt;                            p_low         TYPE any&lt;/P&gt;&lt;P&gt;                            p_high        TYPE any&lt;/P&gt;&lt;P&gt;                   CHANGING pt_range      TYPE table.&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS:&lt;/P&gt;&lt;P&gt;    &amp;lt;range&amp;gt;                               TYPE ANY,&lt;/P&gt;&lt;P&gt;    &amp;lt;sign&amp;gt;                                TYPE ANY,&lt;/P&gt;&lt;P&gt;    &amp;lt;option&amp;gt;                              TYPE ANY,&lt;/P&gt;&lt;P&gt;    &amp;lt;low&amp;gt;                                 TYPE ANY,&lt;/P&gt;&lt;P&gt;    &amp;lt;high&amp;gt;                                TYPE ANY.&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    l_ref                                 TYPE REF TO data.&lt;/P&gt;&lt;P&gt;  CREATE DATA l_ref                       LIKE LINE OF pt_range.&lt;/P&gt;&lt;P&gt;  ASSIGN l_ref-&amp;gt;* TO &amp;lt;range&amp;gt;.&lt;/P&gt;&lt;P&gt;  CHECK sy-subrc                          = 0.&lt;/P&gt;&lt;P&gt;  ASSIGN COMPONENT 'SIGN' OF STRUCTURE &amp;lt;range&amp;gt; TO &amp;lt;sign&amp;gt;.&lt;/P&gt;&lt;P&gt;  CHECK sy-subrc                          = 0.&lt;/P&gt;&lt;P&gt;  ASSIGN COMPONENT 'OPTION' OF STRUCTURE &amp;lt;range&amp;gt; TO &amp;lt;option&amp;gt;.&lt;/P&gt;&lt;P&gt;  CHECK sy-subrc                          = 0.&lt;/P&gt;&lt;P&gt;  ASSIGN COMPONENT 'LOW' OF STRUCTURE &amp;lt;range&amp;gt; TO &amp;lt;low&amp;gt;.&lt;/P&gt;&lt;P&gt;  CHECK sy-subrc                          = 0.&lt;/P&gt;&lt;P&gt;  ASSIGN COMPONENT 'HIGH' OF STRUCTURE &amp;lt;range&amp;gt; TO &amp;lt;high&amp;gt;.&lt;/P&gt;&lt;P&gt;  CHECK sy-subrc                          = 0.&lt;/P&gt;&lt;P&gt;  &amp;lt;sign&amp;gt;                                  = p_signopt(1).&lt;/P&gt;&lt;P&gt;  &amp;lt;option&amp;gt;                                = p_signopt+1(2).&lt;/P&gt;&lt;P&gt;  &amp;lt;low&amp;gt;                                   = p_low.&lt;/P&gt;&lt;P&gt;  &amp;lt;high&amp;gt;                                  = p_high.&lt;/P&gt;&lt;P&gt;  APPEND &amp;lt;range&amp;gt; TO pt_range.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " append_range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you like call functions better, put it in a function once and have a reusable piece of software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 10:38:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/1302778#M159022</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-05-25T10:38:47Z</dc:date>
    </item>
  </channel>
</rss>

