<?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-option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287219#M786416</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 code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data i_mara typr mara with header line occurs 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if s_matnr[] not initial.&lt;/P&gt;&lt;P&gt; select * from mara into table i_mara where matnr in s_matnr.&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   loop at i_mara.&lt;/P&gt;&lt;P&gt;     write i_mara-matnr.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2008 05:39:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-07T05:39:33Z</dc:date>
    <item>
      <title>Select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287214#M786411</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;I am new to ABAP give me one example for&lt;/P&gt;&lt;P&gt;select options and give me meterial for this. I tried&lt;/P&gt;&lt;P&gt;for this but it get systax error in the please give me&lt;/P&gt;&lt;P&gt;suggation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 05:26:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287214#M786411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T05:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287215#M786412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tables : vbak.&lt;/P&gt;&lt;P&gt;select-options : so_vbeln for vbak-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write this and jst press F8(execute).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also use the F1 help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 05:28:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287215#M786412</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2008-01-07T05:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287216#M786413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;type select-options.and press F1 .u will get the complete help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 05:28:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287216#M786413</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2008-01-07T05:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287217#M786414</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;see this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba74635c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba74635c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 05:29:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287217#M786414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T05:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287218#M786415</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; SELECT-OPTIONS  : so_vbeln FOR vbrk-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT * FROM vbrk INTO  TABLE it_vbrk&lt;/P&gt;&lt;P&gt;                      WHERE vbeln = so_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here, it vil take all records from vbrk table which matches ur vbeln condition, which vil be given by u in the sel scr....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward , if it helps&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 05:35:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287218#M786415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T05:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287219#M786416</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 code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data i_mara typr mara with header line occurs 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if s_matnr[] not initial.&lt;/P&gt;&lt;P&gt; select * from mara into table i_mara where matnr in s_matnr.&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   loop at i_mara.&lt;/P&gt;&lt;P&gt;     write i_mara-matnr.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 05:39:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287219#M786416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T05:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287220#M786417</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; Select options will give u a option for defining a selelction range in the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example for select-options is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: vbeln &lt;STRONG&gt;for&lt;/STRONG&gt; vbak-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u use this query it will create a internal table like low high sign option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the value which u are entering in the select option screen will get filled in the internal table which mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the selection query if u use a slect optoin in the where clause u have to use like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select *&lt;/P&gt;&lt;P&gt;from vbak&lt;/P&gt;&lt;P&gt;into itab_vbak&lt;/P&gt;&lt;P&gt;where vbeln &lt;STRONG&gt;in&lt;/STRONG&gt; vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 05:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287220#M786417</guid>
      <dc:creator>radhushankar</dc:creator>
      <dc:date>2008-01-07T05:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287221#M786418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  See this example code,&lt;/P&gt;&lt;P&gt;tables spfli.&lt;/P&gt;&lt;P&gt;select-oiptions : s_carrid for spfli-carrid.&lt;/P&gt;&lt;P&gt;data t_spfli type table of spfli with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from spfli into table t_spfli where carrid in s_carrid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/2b/d922384b8a11d1894c0000e8323c4f/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/2b/d922384b8a11d1894c0000e8323c4f/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/39/cca1df576911d1896f0000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/39/cca1df576911d1896f0000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba78735c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba78735c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/21706b4b-0901-0010-7d93-c93b6394bc1d" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/21706b4b-0901-0010-7d93-c93b6394bc1d&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plzz Reward if it is useful,&lt;/P&gt;&lt;P&gt;Mahi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 05:51:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287221#M786418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T05:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287222#M786419</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;select-options is used for creating a selection screen for entering input &lt;/P&gt;&lt;P&gt;values as user wants to see the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here if you code as selecti-options : s_lifnr for lfa1-lifnr.&lt;/P&gt;&lt;P&gt;it will display input from range to to range.&lt;/P&gt;&lt;P&gt;means we can able to give input as lower limit to upper limit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;swami&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 06:12:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3287222#M786419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T06:12:58Z</dc:date>
    </item>
  </channel>
</rss>

