<?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: Problem when define Value range for data element in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-define-value-range-for-data-element/m-p/7073580#M1504933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hanni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw the dump error. Sorry that VALUE CHECK is only appy to CHAR or NUM data type. So, if you use DEC type you can check it in event AT SELECT-SCREEN, if data is greater than your interval then warning user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jul 2010 04:31:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-29T04:31:33Z</dc:date>
    <item>
      <title>Problem when define Value range for data element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-define-value-range-for-data-element/m-p/7073577#M1504930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I define a new data element in ABAP Dictionary, for example, ZDATA_ELEMENT_TEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use domain ZDOMAIN_TEST.&lt;/P&gt;&lt;P&gt;(Data type is DEC, the length is 10, and decimals is 2 with sign.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to restrict that, user can ONLY input the value from 10 to 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From ABAP course and the Internet, I switch to "Value Range" tab, and define 10 for &lt;STRONG&gt;Lower Limit&lt;/STRONG&gt;, 100 for &lt;STRONG&gt;Upper Limit&lt;/STRONG&gt; in &lt;STRONG&gt;Intervals&lt;/STRONG&gt; section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And write the simple program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS test TYPE ZDATA_ELEMENT_TEST.&lt;/P&gt;&lt;P&gt;WRITE: test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And run it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line: -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;But, there is a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I input &lt;STRONG&gt;200&lt;/STRONG&gt; for test, the program still run and display 200 to screen without any error report or notification. The ABAP runtime system &lt;STRONG&gt;doesn't check&lt;/STRONG&gt; the input value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to config for the domain that can satisfies, if the user input the wrong value (e.g: 200 in the previous case), the program will &lt;STRONG&gt;auto&lt;/STRONG&gt; raise the error report, or exception, or sth like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is welcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 03:11:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-define-value-range-for-data-element/m-p/7073577#M1504930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T03:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when define Value range for data element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-define-value-range-for-data-element/m-p/7073578#M1504931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hanni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to attach key word VALUE CHECK to your PARAMETER statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS test TYPE ZDATA_ELEMENT_TEST VALUE CHECK.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: The addition VALUE CHECK cannot be used together with the additions AS CHECKBOX, RADIOBUTTON, or NO-DISPLAY. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 03:45:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-define-value-range-for-data-element/m-p/7073578#M1504931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T03:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when define Value range for data element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-define-value-range-for-data-element/m-p/7073579#M1504932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Minh&lt;/P&gt;&lt;P&gt;Thank for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I add VALUE CHECK as you suggest, the runtime error occurs &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 04:13:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-define-value-range-for-data-element/m-p/7073579#M1504932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T04:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when define Value range for data element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-define-value-range-for-data-element/m-p/7073580#M1504933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hanni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw the dump error. Sorry that VALUE CHECK is only appy to CHAR or NUM data type. So, if you use DEC type you can check it in event AT SELECT-SCREEN, if data is greater than your interval then warning user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 04:31:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-define-value-range-for-data-element/m-p/7073580#M1504933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T04:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when define Value range for data element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-define-value-range-for-data-element/m-p/7073581#M1504934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thien,&lt;/P&gt;&lt;P&gt;Thanks for your information.&lt;/P&gt;&lt;P&gt;You're right.&lt;/P&gt;&lt;P&gt;I also find the information by Google.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 04:34:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-define-value-range-for-data-element/m-p/7073581#M1504934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T04:34:45Z</dc:date>
    </item>
  </channel>
</rss>

