<?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 questions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-questions/m-p/3828629#M920706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1) Display value 0 as default but the DEFAULT 0 for this currency field displays only a '?' instead. It works with other digits but not 0. How do I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a currency field and if it is left blank its 0 by default anyways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this for your second validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: p_amount FOR dfkkop-betrh OBLIGATORY default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on p_amount.&lt;/P&gt;&lt;P&gt;  loop at p_amount.&lt;/P&gt;&lt;P&gt;    if p_amount-high is initial.&lt;/P&gt;&lt;P&gt;    message 'Upper limir is mandatory' type 'E'.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2008 13:31:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-22T13:31:14Z</dc:date>
    <item>
      <title>SELECT-OPTIONS questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-questions/m-p/3828627#M920704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Couple of questions: I have the following code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: p_amount FOR dfkkop-betrh OBLIGATORY DEFAULT 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Display value 0 as default but the DEFAULT 0 for this currency field displays only a '?' instead. It works with other digits but not 0. How do I do this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) I would like to make the HIGH (i.e. the upper limit) of this select options as OBLIGATORY. That is to say, the LOWer  limit is set to zero by default and the HIGHer limit/part is obligatory and must be filled by users. How to do this please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much obliged for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 13:21:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-questions/m-p/3828627#M920704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T13:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-questions/m-p/3828628#M920705</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;SELECT-OPTIONS: p_amount FOR dfkkop-betrh OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;p_amount-low = 0.&lt;/P&gt;&lt;P&gt;append p_amount.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 13:28:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-questions/m-p/3828628#M920705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T13:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-questions/m-p/3828629#M920706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1) Display value 0 as default but the DEFAULT 0 for this currency field displays only a '?' instead. It works with other digits but not 0. How do I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a currency field and if it is left blank its 0 by default anyways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this for your second validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: p_amount FOR dfkkop-betrh OBLIGATORY default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on p_amount.&lt;/P&gt;&lt;P&gt;  loop at p_amount.&lt;/P&gt;&lt;P&gt;    if p_amount-high is initial.&lt;/P&gt;&lt;P&gt;    message 'Upper limir is mandatory' type 'E'.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 13:31:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-questions/m-p/3828629#M920706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T13:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-questions/m-p/3828630#M920707</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;Use the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: p_amount FOR dfkkop-betrh OBLIGATORY DEFAULT 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-name = 'P_AMOUNT-HIGH'.&lt;/P&gt;&lt;P&gt;      screen-required = 1.&lt;/P&gt;&lt;P&gt;    ELSEIF screen-name = 'P_AMOUNT-LOW'.&lt;/P&gt;&lt;P&gt;      screen-input = 0.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Velangini Showry Maria Kumar Bandanadham on May 22, 2008 4:16 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 13:45:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-questions/m-p/3828630#M920707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T13:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-questions/m-p/3828631#M920708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : v_matnr type mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select-options so_matnr for v_matnr obligatory default '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; at selection-screen on so_matnr.&lt;/P&gt;&lt;P&gt; if so_matnr-high is initial.&lt;/P&gt;&lt;P&gt; message e000(z50871msg) with 'you should enter the value'.&lt;/P&gt;&lt;P&gt; else .&lt;/P&gt;&lt;P&gt; write : 'success'.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep Reddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sandeep Reddy on May 22, 2008 3:46 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sandeep Reddy on May 22, 2008 3:49 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 13:46:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-questions/m-p/3828631#M920708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T13:46:09Z</dc:date>
    </item>
  </channel>
</rss>

