<?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: select-options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412537#M819564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By using this syntax, you get a SELECT-OPTIONS on a CHAR field of length 30 &lt;/P&gt;&lt;P&gt;Be aware than in low field (resp. high) the conversion exit for matnr has not been executed, &lt;/P&gt;&lt;P&gt;Also, user will have to count the character and no search help available.&lt;/P&gt;&lt;P&gt;And you wont be able to use this SELECT-OPTIONS in a SELECT ... WHERE X IN selopt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interesting, but what was your purpose?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2008 15:09:19 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2008-02-15T15:09:19Z</dc:date>
    <item>
      <title>select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412532#M819559</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;            I have a declaration like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of it_data occurs 0,&lt;/P&gt;&lt;P&gt;          matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;          ernam like mara-ernam,&lt;/P&gt;&lt;P&gt;           end of it_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options s_data for it_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so frnds can anyone tell me what is the problems in using this select-options and any performance problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 14:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412532#M819559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T14:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412533#M819560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can not use SELECT-OPTION for an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can only use Database tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for using these table u have to define them in the top by using TABLES option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example if u want to use table field from MATNR in your select option.&lt;/P&gt;&lt;P&gt;Do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIUON.................................... and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 15, 2008 2:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 14:44:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412533#M819560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T14:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412534#M819561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Select-options are declared only for feilds not for table. In your requirement you have to declare as &lt;/P&gt;&lt;P&gt;select-options: s_matnr for mara-matnr, &lt;/P&gt;&lt;P&gt;                      s_erdat for mara-erdat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then it will execute perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sarada&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 14:45:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412534#M819561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T14:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412535#M819562</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;here s_data is internal Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Components of This S_DATA is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SIGN OPTION LOW-MATNR          LOW-ERNAM    HIGH-MATNR         HIGH-ERNAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After execution of program if u give any value for low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every time it is assiging to LOW-MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can not Assign the value LOW-ERNAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly for HIGH-ERNAM also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is only the drawback with the above Declaration..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway u done a Nice experiment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 15, 2008 2:52 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 14:53:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412535#M819562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T14:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412536#M819563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: pranjali mode on Feb 15, 2008 4:36 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 15:08:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412536#M819563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T15:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412537#M819564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By using this syntax, you get a SELECT-OPTIONS on a CHAR field of length 30 &lt;/P&gt;&lt;P&gt;Be aware than in low field (resp. high) the conversion exit for matnr has not been executed, &lt;/P&gt;&lt;P&gt;Also, user will have to count the character and no search help available.&lt;/P&gt;&lt;P&gt;And you wont be able to use this SELECT-OPTIONS in a SELECT ... WHERE X IN selopt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interesting, but what was your purpose?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 15:09:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412537#M819564</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-02-15T15:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412538#M819565</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;  After execution, it will display low option and high option with 30char length each(18 matnr &amp;amp; 12 ernam)..&lt;/P&gt;&lt;P&gt;  So when u wil fill 30 characters in low then it wil fill matnr-low and ernam-low in sequence same applies to high option. Here we can access all fields MATNR-LOW HIGH &amp;amp; ERNAM-LOW HIGH. And selection table strucre wil b like sign option matnr-low ernam-low matnr-high ernam-high.&lt;/P&gt;&lt;P&gt;So it will execute normally.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-Pranjali.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 15, 2008 2:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 15:35:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412538#M819565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T15:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412539#M819566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT-OPTION for DB table fields not for internal table fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you use code like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : abc type mara-matnr.   (instead of table it is efficient)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of it_data occurs 0,&lt;/P&gt;&lt;P&gt;            matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;            ernam like mara-ernam,&lt;/P&gt;&lt;P&gt;         end of it_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options s_data for abc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 19:07:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3412539#M819566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T19:07:25Z</dc:date>
    </item>
  </channel>
</rss>

