<?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: issue in select option values.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301435#M1025674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Vijay. is there not a possibility that user does not enter any value for s_kunnr-low but directly enters for s_kunnr-high ?? should not SAP then take it as EQ according to my logic ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jul 2008 21:02:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-31T21:02:31Z</dc:date>
    <item>
      <title>issue in select option values..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301432#M1025671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a select option, s_kunnr. User enters a value for s_kunnr-high, but it is not taken into account in the select statement !!&lt;/P&gt;&lt;P&gt;my code is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table i_dyn_fields index 4.&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;      if NOT WA_KUNNR-LOW is initial.&lt;/P&gt;&lt;P&gt;        wa_KUNNR-option = 'BT'.&lt;/P&gt;&lt;P&gt;      else.&lt;/P&gt;&lt;P&gt;        wa_KUNNR-option = 'EQ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      endif.&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;&lt;/P&gt;&lt;P&gt;what is the issue ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 20:52:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301432#M1025671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T20:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: issue in select option values..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301433#M1025672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wa_kunnr-low = somekunnr. " i hope it is there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;read table i_dyn_fields index 4.
if not i_dyn_fields-FIELDVALUE is initial.
wa_KUNNR-HIGH = i_dyn_fields-FIELDVALUE.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = wa_KUNNR-high
IMPORTING
OUTPUT = wa_KUNNR-high.
wa_KUNNR-sign = 'I'.

if NOT WA_KUNNR-LOW is initial.
wa_KUNNR-option = 'BT'.
else.
wa_KUNNR-option = 'EQ'.

endif.
append wa_KUNNR to s_KUNNR.
clear wa_KUNNR.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 20:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301433#M1025672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T20:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: issue in select option values..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301434#M1025673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Append S_KUNNR directly instead of using WA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_KUNNR-SIGN = 'i"&lt;/P&gt;&lt;P&gt;S_KUNNR-OPTION = 'BT'&lt;/P&gt;&lt;P&gt;S_KUNNR-LOW = &lt;/P&gt;&lt;P&gt;S_KUNNR-HIHG = &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SKJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 20:57:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301434#M1025673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T20:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: issue in select option values..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301435#M1025674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Vijay. is there not a possibility that user does not enter any value for s_kunnr-low but directly enters for s_kunnr-high ?? should not SAP then take it as EQ according to my logic ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 21:02:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301435#M1025674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T21:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: issue in select option values..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301436#M1025675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u should build your logic in a way that u first populate low and then high part of the selection option. Without populating low if u populate high value then it will give u error. So I think u should first populate low and then high and based on it decides value for option field like:  &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if NOT WA_KUNNR-high is initial.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;wa_KUNNR-option = 'BT'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;wa_KUNNR-option = 'EQ'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;Pl. check ur code again..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 21:03:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301436#M1025675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T21:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: issue in select option values..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301437#M1025676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if that is the case you have to provide that as LOW and option = 'EQ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if kunnr-low is initial.&lt;/P&gt;&lt;P&gt; kunnr-low = kunnr-high.&lt;/P&gt;&lt;P&gt; kunnr-option = 'EQ'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but you still want ' ' to kunnr what ever you enter then you can go ahead with that..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 21:08:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301437#M1025676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T21:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: issue in select option values..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301438#M1025677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On ranges:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- BT - Uses Low and High&lt;/P&gt;&lt;P&gt;- EQ - Uses Low&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would mean from looking at your code that in the case where EQ is used it is actaully looking for a record where Kunnr is blank instead of the value that you put in High.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just got to switch a couple of things around &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>Thu, 31 Jul 2008 21:09:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301438#M1025677</guid>
      <dc:creator>ian_maxwell2</dc:creator>
      <dc:date>2008-07-31T21:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: issue in select option values..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301439#M1025678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;if NOT WA_KUNNR-LOW is initial.
wa_KUNNR-option = 'BT'.
else.
wa_KUNNR-option = 'EQ'.
wa_kunnr-low = wa_kunnr-high. &amp;lt;-=== add this your low is space,but you are using EQ 
endif.
append wa_KUNNR to s_KUNNR.
clear wa_KUNNR.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 21:11:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301439#M1025678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T21:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: issue in select option values..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301440#M1025679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of the logic you have written, you can write much simpler logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT s_kunnr INTO s_kunnr.&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 = s_KUNNR-LOW&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;  OUTPUT = s_KUNNR-LOW.&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 = s_KUNNR-high&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;  OUTPUT = s_KUNNR-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY s_kunnr FROM s_kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you are done... AS per your logic it's correct but the only mistake is you are appending a new row in s_KUNNR and you are not passing the value in s_kunnr-sign. so that's why it is not fetching anything.. try passing 'BT' into s_kunnr-sign and that will also work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards point if it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Navneet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 21:21:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-option-values/m-p/4301440#M1025679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T21:21:27Z</dc:date>
    </item>
  </channel>
</rss>

