<?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 Database Object for MARC is Inconsistent in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-object-for-marc-is-inconsistent/m-p/12593673#M2010416</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I added a new append structure to MARC table. The fields added were ZZ* fields with custom data element and domain as CHAR3. The data element had Change Document Option selected and the domain has ALPHA specified in conversion routine.&lt;/P&gt;
  &lt;P&gt;After adding the fields, I tried to activate the structure and it gave partially active initially. I changed the enhancement category to "Cannot be enhanced" and activated again. &lt;/P&gt;
  &lt;P&gt;Then I tried to activate the table. It also says partially active.&lt;/P&gt;
  &lt;P&gt;I then went to SE14 and hit Activate and Re Adjust Database and it got activated.&lt;/P&gt;
  &lt;P&gt;However, when I checked in SE16, it gave a dump. On checking further I found that the Runtime Object has the 2 fields but the Database Object doesn't have and there is an inconsistency.&lt;/P&gt;
  &lt;P&gt;I found a similar issue on a blogpost which was resolved by running a Reconstruct on the table. The basis team tried that and it gave the below log message which I also got while running activate and adjust via SE14. &lt;/P&gt;MARC: Structure change at field level (DB is adjusted)
  &lt;BR /&gt; Adjust table in DB &amp;gt;&amp;gt;&amp;gt;
  &lt;BR /&gt; sql:
  &lt;BR /&gt; ALTER TABLE 'MARC'
  &lt;BR /&gt; ADD ('ZZ_SEGMENT' NVARCHAR (000003)
  &lt;BR /&gt; DEFAULT '' NOT NULL
  &lt;BR /&gt; ,
  &lt;BR /&gt; 'ZZ_SUBSEGMT' NVARCHAR (000003)
  &lt;BR /&gt; DEFAULT '' NOT NULL
  &lt;BR /&gt; )
  &lt;BR /&gt; transaction rolled back by an internal error: index delete error:couldn't execute parellel re-validation by concurrent update.
  &lt;BR /&gt; DDL Time(___1): .......915 milliseconds
  &lt;BR /&gt; The SQL statement was not executed
  &lt;BR /&gt; Table MARC (Error adjusting the database)
  &lt;BR /&gt;
  &lt;P&gt; Table MARC was not activated &lt;/P&gt;
  &lt;P&gt;The SAP System doesn't allow me to delete the append structure. I'm kind of stuck here.&lt;/P&gt;
  &lt;P&gt;Can anyone help and suggest where I am going wrong?&lt;/P&gt;</description>
    <pubDate>Fri, 27 May 2022 12:24:53 GMT</pubDate>
    <dc:creator>former_member805861</dc:creator>
    <dc:date>2022-05-27T12:24:53Z</dc:date>
    <item>
      <title>Database Object for MARC is Inconsistent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-object-for-marc-is-inconsistent/m-p/12593673#M2010416</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I added a new append structure to MARC table. The fields added were ZZ* fields with custom data element and domain as CHAR3. The data element had Change Document Option selected and the domain has ALPHA specified in conversion routine.&lt;/P&gt;
  &lt;P&gt;After adding the fields, I tried to activate the structure and it gave partially active initially. I changed the enhancement category to "Cannot be enhanced" and activated again. &lt;/P&gt;
  &lt;P&gt;Then I tried to activate the table. It also says partially active.&lt;/P&gt;
  &lt;P&gt;I then went to SE14 and hit Activate and Re Adjust Database and it got activated.&lt;/P&gt;
  &lt;P&gt;However, when I checked in SE16, it gave a dump. On checking further I found that the Runtime Object has the 2 fields but the Database Object doesn't have and there is an inconsistency.&lt;/P&gt;
  &lt;P&gt;I found a similar issue on a blogpost which was resolved by running a Reconstruct on the table. The basis team tried that and it gave the below log message which I also got while running activate and adjust via SE14. &lt;/P&gt;MARC: Structure change at field level (DB is adjusted)
  &lt;BR /&gt; Adjust table in DB &amp;gt;&amp;gt;&amp;gt;
  &lt;BR /&gt; sql:
  &lt;BR /&gt; ALTER TABLE 'MARC'
  &lt;BR /&gt; ADD ('ZZ_SEGMENT' NVARCHAR (000003)
  &lt;BR /&gt; DEFAULT '' NOT NULL
  &lt;BR /&gt; ,
  &lt;BR /&gt; 'ZZ_SUBSEGMT' NVARCHAR (000003)
  &lt;BR /&gt; DEFAULT '' NOT NULL
  &lt;BR /&gt; )
  &lt;BR /&gt; transaction rolled back by an internal error: index delete error:couldn't execute parellel re-validation by concurrent update.
  &lt;BR /&gt; DDL Time(___1): .......915 milliseconds
  &lt;BR /&gt; The SQL statement was not executed
  &lt;BR /&gt; Table MARC (Error adjusting the database)
  &lt;BR /&gt;
  &lt;P&gt; Table MARC was not activated &lt;/P&gt;
  &lt;P&gt;The SAP System doesn't allow me to delete the append structure. I'm kind of stuck here.&lt;/P&gt;
  &lt;P&gt;Can anyone help and suggest where I am going wrong?&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 12:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-object-for-marc-is-inconsistent/m-p/12593673#M2010416</guid>
      <dc:creator>former_member805861</dc:creator>
      <dc:date>2022-05-27T12:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Database Object for MARC is Inconsistent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-object-for-marc-is-inconsistent/m-p/12593674#M2010417</link>
      <description>&lt;P&gt;There are several SAP notes about that. Choose the more relevant one(s) corresponding to your exact situation. If it doesn't work, you may contact the SAP support.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 15:18:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-object-for-marc-is-inconsistent/m-p/12593674#M2010417</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-05-27T15:18:47Z</dc:date>
    </item>
  </channel>
</rss>

