<?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: selection option values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252742#M1015191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Interesting.  So the code that you are implimenting, which event is it being triggered on is it using the selection screen event "AT SELECTION-SCREEN - selscreen_event"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I remember correctly it only does the validation of the low and high once you actaully execute the report, not during the search-help population.  Even when you just use the standard select option for KNA1-Kunnr it actaully will allow you to put a low value that is higher then the high value but once you execute the report (F8) it does the check and throws an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Aug 2008 13:43:17 GMT</pubDate>
    <dc:creator>ian_maxwell2</dc:creator>
    <dc:date>2008-08-01T13:43:17Z</dc:date>
    <item>
      <title>selection option values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252736#M1015185</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;in my selection screen , i input values as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_kunnr-low = 8000     s_kunnr-high = 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am i not supposed to get an error as it happens in other standard SAP screens ?? or is it something i need to handle ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 12:59:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252736#M1015185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-01T12:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: selection option values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252737#M1015186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think we cannot give as you said, because lower limit must be smaller or equal to higher limit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 13:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252737#M1015186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-01T13:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: selection option values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252738#M1015187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;what error your getting.&lt;/P&gt;&lt;P&gt;Is it lower limit is greater than upper limit.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 13:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252738#M1015187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-01T13:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: selection option values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252739#M1015188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to Design the LOW and High value and Keep a text in Between , And you make them imitate like standard select option. except the one which you don't want. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But that doesn't make sense.&lt;/P&gt;&lt;P&gt;Low is always low and High is always High.&lt;/P&gt;&lt;P&gt;You may get wrong results..if you by pass the standard behaviour. Lot of Coding required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 13:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252739#M1015188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-01T13:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: selection option values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252740#M1015189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a selection screen, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables:&lt;/P&gt;&lt;P&gt;  KNA1.&lt;/P&gt;&lt;P&gt;select-options:&lt;/P&gt;&lt;P&gt;  s_Kunnr for KNA1-Kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will do an automatic check for you to ensure that the low is less then the high and will trigger an error automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are in your program yourself populating a range object with values then no check will be done, it will except anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post the code that you are using, so that we can see if there is anything out of the ordinary that you're doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 13:29:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252740#M1015189</guid>
      <dc:creator>ian_maxwell2</dc:creator>
      <dc:date>2008-08-01T13:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: selection option values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252741#M1015190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually i am populating the KUNNR values into my custom table and in a selection screen i need the values from my custom table's kunnr !!! so i do a select from that as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: S_KUNNR for  ZXXX-KUNNR NO-EXTENSION,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: L_KUNNR TYPE KNA1-KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT DISTINCT KUNNR INTO L_KUNNR FROM ZXXX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          input  = L_KUNNR&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          OUTPUT = L_KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WA_ITAB-KUNNR = L_KUNNR.&lt;/P&gt;&lt;P&gt;    APPEND WA_ITAB-KUNNR TO I_TAB.&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      retfield    = 'KUNNR'&lt;/P&gt;&lt;P&gt;      dynpprog    = sy-repid&lt;/P&gt;&lt;P&gt;      dynpnr      = SY-DYNNR&lt;/P&gt;&lt;P&gt;      dynprofield = 'S_KUNNR-LOW'&lt;/P&gt;&lt;P&gt;      value_org   = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab   = i_tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 13:34:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252741#M1015190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-01T13:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: selection option values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252742#M1015191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Interesting.  So the code that you are implimenting, which event is it being triggered on is it using the selection screen event "AT SELECTION-SCREEN - selscreen_event"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I remember correctly it only does the validation of the low and high once you actaully execute the report, not during the search-help population.  Even when you just use the standard select option for KNA1-Kunnr it actaully will allow you to put a low value that is higher then the high value but once you execute the report (F8) it does the check and throws an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 13:43:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252742#M1015191</guid>
      <dc:creator>ian_maxwell2</dc:creator>
      <dc:date>2008-08-01T13:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: selection option values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252743#M1015192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;event is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for s_kunnr-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when user presses F4 !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also, how i handle after user inputs the value is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if i can still capture that error !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MOVE: 'S_KUNNR-LOW' TO i_dyn_fields-fieldname.&lt;/P&gt;&lt;P&gt;  APPEND i_dyn_fields.&lt;/P&gt;&lt;P&gt;  MOVE: 'S_KUNNR-HIGH' TO i_dyn_fields-fieldname.&lt;/P&gt;&lt;P&gt;  APPEND i_dyn_fields.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      dyname               = sy-repid&lt;/P&gt;&lt;P&gt;      dynumb               = '0101'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      dynpfields           = i_dyn_fields&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table i_dyn_fields index 1.&lt;/P&gt;&lt;P&gt;    if not i_dyn_fields-FIELDVALUE is initial.&lt;/P&gt;&lt;P&gt;      wa_KUNNR-low = i_dyn_fields-FIELDVALUE.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          input  = wa_KUNNR-low&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          OUTPUT = wa_KUNNR-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      wa_KUNNR-sign = 'I'.&lt;/P&gt;&lt;P&gt;      wa_KUNNR-option = 'EQ'.&lt;/P&gt;&lt;P&gt;      append wa_KUNNR to s_KUNNR.&lt;/P&gt;&lt;P&gt;      clear wa_KUNNR.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    read table i_dyn_fields index 2.&lt;/P&gt;&lt;P&gt;    if not i_dyn_fields-FIELDVALUE is initial.&lt;/P&gt;&lt;P&gt;        wa_KUNNR-HIGH = i_dyn_fields-FIELDVALUE.&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            input  = wa_KUNNR-high&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            OUTPUT = wa_KUNNR-high.&lt;/P&gt;&lt;P&gt;        wa_KUNNR-sign = 'I'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        wa_KUNNR-option = 'BT'.&lt;/P&gt;&lt;P&gt;        append wa_KUNNR to s_KUNNR.&lt;/P&gt;&lt;P&gt;        clear wa_KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 13:48:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252743#M1015192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-01T13:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: selection option values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252744#M1015193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is probrably a way that you could do it at that point, but honestly I think that you're going to have to jump through a bunch of hoops to get it to work becuase of various scenarios such the user decideing to either populate the high or the low value first.  I would just wait until they execute the report and let the standard take care of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't tried it but I think that the code that you've provided might not be able to get the value becuase I belive that the functions will only get the values once the report has been submited.  It's worth a try but I wouldn't bet on it working that way &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 13:54:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option-values/m-p/4252744#M1015193</guid>
      <dc:creator>ian_maxwell2</dc:creator>
      <dc:date>2008-08-01T13:54:14Z</dc:date>
    </item>
  </channel>
</rss>

