<?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 Domain Fixed Value- Affected Fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210571#M1716312</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;I am new to ABAP and I'm facing an issue with Domain Fixed Value. I created a sample table with two columns, one of which represents the primary key. &lt;/P&gt;&lt;P&gt;I tried to set a domain fixed value for both. I found that the fixed value logic (i.e. not accepting any other value other than the range values) is applicable only to the column which is not the primary key but the primary key column accepts values other than the range values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain this concept to me? Is the Domain Fixed value applicable only to non-key fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2012 15:44:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-12-19T15:44:12Z</dc:date>
    <item>
      <title>Domain Fixed Value- Affected Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210571#M1716312</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;I am new to ABAP and I'm facing an issue with Domain Fixed Value. I created a sample table with two columns, one of which represents the primary key. &lt;/P&gt;&lt;P&gt;I tried to set a domain fixed value for both. I found that the fixed value logic (i.e. not accepting any other value other than the range values) is applicable only to the column which is not the primary key but the primary key column accepts values other than the range values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain this concept to me? Is the Domain Fixed value applicable only to non-key fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 15:44:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210571#M1716312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-19T15:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Domain Fixed Value- Affected Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210572#M1716313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's strange. Fixed domain values should be enforced for the key field as well. Please double check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 17:06:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210572#M1716313</guid>
      <dc:creator>kakshat</dc:creator>
      <dc:date>2012-12-19T17:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Domain Fixed Value- Affected Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210573#M1716314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just did a quick test and had no issues in creating such table structure... Which error message you're receiveing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edgar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 22:20:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210573#M1716314</guid>
      <dc:creator>edgar_nagasaki</dc:creator>
      <dc:date>2012-12-19T22:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Domain Fixed Value- Affected Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210574#M1716315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; just now i have created a custom&amp;nbsp; table ZSTUDEN with 2 fields.. in this SID is primary key field with dataelement-ZSID1, and its domain-ZSTDID&lt;/P&gt;&lt;P&gt;another non key field SNAME with dataelement - ZSNAME_1 ,Domain - ZSNAMEE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created domain ZSTDID with fixed value ranges. and repeated it for another field also.&lt;/P&gt;&lt;P&gt;Now i have created table maintanence generator to create entries and able to create entries in it successfully without any problems.&lt;/P&gt;&lt;P&gt;Please refer to&amp;nbsp; screen shots attached and reply me for any info...&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1115/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;venkata Vamsi krishna ch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 23:27:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210574#M1716315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-19T23:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Domain Fixed Value- Affected Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210575#M1716316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply and sorry that I put the question wrongly...&lt;/P&gt;&lt;P&gt;Actually the problem is that when I am using char datatype it is working perfectly but when I am using int2 it is not working. &lt;/P&gt;&lt;P&gt;The field is accepting all values while it should accept only those values declared in the domain fixed value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg., in the given attachment the&amp;nbsp; field is accepting the value 6 while it should accept {1,2,3} and must throw an error if the value is other than {1,2,3}.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/169285" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/169311" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/169312" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/169313" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2012 11:50:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210575#M1716316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-26T11:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Domain Fixed Value- Affected Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210576#M1716317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is standard behavior of dialog maintenance, check online help for "&lt;SPAN lang="DE"&gt;&lt;A href="http://help.sap.com/saphelp_nw70ehp3/helpdata/en/e2/66708f730811d2959500a0c929b3c3/content.htm?frameset=/en/6e/d5574168ef7d47e10000000a1550b0/frameset.htm"&gt;Fixed Values&lt;/A&gt;" of &lt;/SPAN&gt;"&lt;A href="http://help.sap.com/saphelp_gts80/helpdata/en/cf/21ede5446011d189700000e8322d00/frameset.htm"&gt;domains&lt;/A&gt;".&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;It is only possible to define fixed values for domains of data types CHAR, NUMC, DEC, INT1, INT2 and INT4. &lt;STRONG&gt;There is only an input check of the template for data types CHAR and NUMC.&lt;/STRONG&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2012 20:44:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210576#M1716317</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-12-28T20:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Domain Fixed Value- Affected Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210577#M1716318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guess Raymond is correct. The way you could try to achieve same result is to define your domain as NUMC instead of INT (once you would have fixed values defined it will avoid to accept undesired input values such as 01, 02 and so on, with leading zeros). Please try and let us know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edgar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 14:15:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210577#M1716318</guid>
      <dc:creator>edgar_nagasaki</dc:creator>
      <dc:date>2013-01-07T14:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Domain Fixed Value- Affected Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210578#M1716319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Raymond has given correct explanation.&lt;/P&gt;&lt;P&gt;Please go through this link for full information: &lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/e2/66708f730811d2959500a0c929b3c3/frameset.htm"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/e2/66708f730811d2959500a0c929b3c3/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkata vamsi krishna ch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 18:34:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210578#M1716319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-07T18:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Domain Fixed Value- Affected Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210579#M1716320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Domain Fixed values work&amp;nbsp; for any field regardless of it bieng a primary key or not.&lt;/P&gt;&lt;P&gt;Make sure you are following proper procedure and entering your fixed values in Fixed values field not Range field.&lt;/P&gt;&lt;P&gt;1 value per Fixed value row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If filling values in range field and it would accept all values that would comply with the range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Feb 2013 17:31:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/domain-fixed-value-affected-fields/m-p/9210579#M1716320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-02T17:31:23Z</dc:date>
    </item>
  </channel>
</rss>

