<?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/1583998#M263313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Venu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For checking the entries in Select-options.&lt;/P&gt;&lt;P&gt;Try like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN On S_VBELN-LOW.&lt;/P&gt;&lt;P&gt;if not S_VBELN-LOW is initial.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * from VBAP where VEBELn = S_VBELN-LOW.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;error message.&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;AT SELECTION-SCREEN On S_VBELN-HIGH.&lt;/P&gt;&lt;P&gt;if not S_VBELN-HIGH is initial.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * from VBAP where VEBELn = S_VBELN-HIGH.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;error message.&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;if useful reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Oct 2006 14:30:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-17T14:30:38Z</dc:date>
    <item>
      <title>Select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1583994#M263309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one tell me how to check the entries in the input screen for the &amp;lt;b&amp;gt;select option&amp;lt;/b&amp;gt; in the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx n Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 14:20:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1583994#M263309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T14:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1583995#M263310</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;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chk this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : s_kunnr for kna1-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if s_kunnr-low = your condition.&lt;/P&gt;&lt;P&gt;show message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if s_kunnr-high = your condition.&lt;/P&gt;&lt;P&gt;show message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if hlped pls mark points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;kindly close the same other thread.&amp;lt;/b&amp;gt;&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;anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 14:23:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1583995#M263310</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-10-17T14:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1583996#M263311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venu,&lt;/P&gt;&lt;P&gt;select options are in an internal table.&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;data: line like sy-tyix.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;describe table s_matnr lines line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in line are the entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, i have misunterstand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check it by looping for s_matnr&lt;/P&gt;&lt;P&gt;debug it and you see the entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry regards, Dieter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Dieter Gröhn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 14:24:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1583996#M263311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T14:24: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/1583997#M263312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anversha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will close the thread.&lt;/P&gt;&lt;P&gt;My question is can we check the entries in the dbtable whether it exists or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 14:27:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1583997#M263312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T14:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1583998#M263313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Venu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For checking the entries in Select-options.&lt;/P&gt;&lt;P&gt;Try like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN On S_VBELN-LOW.&lt;/P&gt;&lt;P&gt;if not S_VBELN-LOW is initial.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * from VBAP where VEBELn = S_VBELN-LOW.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;error message.&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;AT SELECTION-SCREEN On S_VBELN-HIGH.&lt;/P&gt;&lt;P&gt;if not S_VBELN-HIGH is initial.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * from VBAP where VEBELn = S_VBELN-HIGH.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;error message.&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;if useful reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 14:30:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1583998#M263313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T14:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1583999#M263314</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 with ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ranges: r_field for &amp;lt;table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not field1 is initial.&lt;/P&gt;&lt;P&gt;r_field-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_field-option = 'EQ'.&lt;/P&gt;&lt;P&gt;r_field-option-low = field1.&lt;/P&gt;&lt;P&gt;append r_field.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not field2 is initial.&lt;/P&gt;&lt;P&gt;r_field-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_field-option = 'EQ'.&lt;/P&gt;&lt;P&gt;r_field-option-low = field2.&lt;/P&gt;&lt;P&gt;append r_field.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if field1 is initial and field2 is initial.&lt;/P&gt;&lt;P&gt;r_field-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_field-option = 'EQ'.&lt;/P&gt;&lt;P&gt;append r_field.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from &amp;lt;table&amp;gt; where field1 in r_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 14:31:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1583999#M263314</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-10-17T14:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1584000#M263315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Venu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can surely do as Vasanth mentioned in his post other way is to...The below option is better since it might be possible that the record does not exists for low and high value but there may be records between the specified values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT count(*) into lcnt &lt;/P&gt;&lt;P&gt;FROM dbtable&lt;/P&gt;&lt;P&gt;WHERE field in s_option.&lt;/P&gt;&lt;P&gt;If lcnt &amp;gt; 0.&lt;/P&gt;&lt;P&gt;  records exist.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  no records &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;Message was edited by: Anurag Bankley&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 14:40:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1584000#M263315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T14:40:02Z</dc:date>
    </item>
  </channel>
</rss>

