<?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 Primary Key Null values issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-null-values-issue/m-p/11589723#M1939330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched on SCN for this issue but couldn't get any solution,&lt;/P&gt;&lt;P&gt;I have created a custom table in ECC. I want Null values for some primary keys and for others I don't want any NULL values.&lt;/P&gt;&lt;P&gt;I tried removing check box for 'initial Values' column for which I don't want to allows user to save Null values. &lt;/P&gt;&lt;P&gt;It didn't show any error/warning during syntax check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I activated the Table, all fields are marked in &lt;SPAN style="font-size: 13.3333px;"&gt;'initial Values' column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure why SAP is overwriting my choice while activating the table that too without any message.&lt;/P&gt;&lt;P&gt;Can anybody help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Feb 2016 07:41:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-02-21T07:41:02Z</dc:date>
    <item>
      <title>Primary Key Null values issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-null-values-issue/m-p/11589723#M1939330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched on SCN for this issue but couldn't get any solution,&lt;/P&gt;&lt;P&gt;I have created a custom table in ECC. I want Null values for some primary keys and for others I don't want any NULL values.&lt;/P&gt;&lt;P&gt;I tried removing check box for 'initial Values' column for which I don't want to allows user to save Null values. &lt;/P&gt;&lt;P&gt;It didn't show any error/warning during syntax check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I activated the Table, all fields are marked in &lt;SPAN style="font-size: 13.3333px;"&gt;'initial Values' column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure why SAP is overwriting my choice while activating the table that too without any message.&lt;/P&gt;&lt;P&gt;Can anybody help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Feb 2016 07:41:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-null-values-issue/m-p/11589723#M1939330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-21T07:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Primary Key Null values issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-null-values-issue/m-p/11589724#M1939331</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;SAP Help document says that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, 'Microsoft YaHei', Meiryo, 'Malgun Gothic', sans-serif; font-size: 13px;"&gt;When a table is created, all the fields of the table are defined as NOT NULL and filled with the default value. The same is true when the table is converted. The system creates the fields only as NOT NULL if new fields are added or inserted. Key fields are the exception. The Initial indicator is automatically set there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, 'Microsoft YaHei', Meiryo, 'Malgun Gothic', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, 'Microsoft YaHei', Meiryo, 'Malgun Gothic', sans-serif; font-size: 13px;"&gt;URL for the same: &lt;A href="http://help.sap.com/saphelp_nw73/helpdata/en/cf/21ebf0446011d189700000e8322d00/content.htm" title="http://help.sap.com/saphelp_nw73/helpdata/en/cf/21ebf0446011d189700000e8322d00/content.htm"&gt; Initial Values -&amp;nbsp; ABAP Dictionary - SAP Library&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, 'Microsoft YaHei', Meiryo, 'Malgun Gothic', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, 'Microsoft YaHei', Meiryo, 'Malgun Gothic', sans-serif; font-size: 13px;"&gt;Hope this answers your query.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, 'Microsoft YaHei', Meiryo, 'Malgun Gothic', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, 'Microsoft YaHei', Meiryo, 'Malgun Gothic', sans-serif; font-size: 13px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, 'Microsoft YaHei', Meiryo, 'Malgun Gothic', sans-serif; font-size: 13px;"&gt;Renjith Michael &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Feb 2016 12:04:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-null-values-issue/m-p/11589724#M1939331</guid>
      <dc:creator>former_member192467</dc:creator>
      <dc:date>2016-02-21T12:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Primary Key Null values issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-null-values-issue/m-p/11589725#M1939332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;SPAN style="color: #333333; font-family: Arial, Helvetica, 'Microsoft YaHei', Meiryo, 'Malgun Gothic', sans-serif; font-size: 13px;"&gt;Renjith &lt;/SPAN&gt;.. I am setting the flag for 'initial values'.. still the blank values are getting saved.&lt;/P&gt;&lt;P&gt;How can I avoid this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Feb 2016 13:40:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-null-values-issue/m-p/11589725#M1939332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-21T13:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Primary Key Null values issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-null-values-issue/m-p/11589726#M1939333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jitendra Nayak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your definition of NULL values seems to be a new one. A DB table NULL value means that nothing is saved in a particular column of a particular row. And NOTHING means nothing, psysically the space is saved. Thus, by definition, a key field can never have a NULL value.&lt;/P&gt;&lt;P&gt;INITIAL values are some kind of default value, i.e. for CHAR it is space (probably your understanding of blank), for numeric type ist will be zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The flag &lt;SPAN style="color: #333333; font-size: 12px;"&gt; 'initial values' is set for key fields by default. Only if you append fields to an existing database table, the &lt;SPAN style="color: #333333; font-size: 12px;"&gt; 'initial values' flag has a meaning: If it is flagged, the field in alle existing rows will be set to their initial value, otherwise it is NULL. This means the table append is done be very fast, as the contents remain unchanged. And, most confusing, in a WHERE clause, you will find the NULL values only by WHERE .. IS INITIAL. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are never prohibited to store initial values in key or other fields by table definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Feb 2016 14:04:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-null-values-issue/m-p/11589726#M1939333</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2016-02-21T14:04:13Z</dc:date>
    </item>
  </channel>
</rss>

