<?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: DDIC Table with INT4 column in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddic-table-with-int4-column/m-p/585905#M23431</link>
    <description>&lt;P&gt;Looks and feels like &lt;A href="https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abenalignment_glosry.htm"&gt;alignment&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Mar 2018 17:34:23 GMT</pubDate>
    <dc:creator>retired_member</dc:creator>
    <dc:date>2018-03-07T17:34:23Z</dc:date>
    <item>
      <title>DDIC Table with INT4 column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddic-table-with-int4-column/m-p/585904#M23430</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;It seems that there is an error in SAP DDIC when you want to display the length of an table in the "runtime object" view. &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Please insert the following table (in an unicode system):&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;- Column 1: INT4&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;- Column 2: CHAR1&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;=&amp;gt; The table length when displaying the "runtime object" is 8 which is wrong. The offset of column 2 is 4 + 2 bytes for char 1 should be 6.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;If you insert the following table with Char2 it works:&lt;BR /&gt;- Column 1: INT4&lt;BR /&gt;- Column 2: CHAR2&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;=&amp;gt; The table length is now 8. Offset of column 2 is 4 + 4 bytes is 8&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Is there a hint - unfortunately could not find one?&lt;BR /&gt;Best regards&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 15:50:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ddic-table-with-int4-column/m-p/585904#M23430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-07T15:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: DDIC Table with INT4 column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddic-table-with-int4-column/m-p/585905#M23431</link>
      <description>&lt;P&gt;Looks and feels like &lt;A href="https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abenalignment_glosry.htm"&gt;alignment&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 17:34:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ddic-table-with-int4-column/m-p/585905#M23431</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2018-03-07T17:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: DDIC Table with INT4 column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddic-table-with-int4-column/m-p/585906#M23432</link>
      <description>&lt;P&gt;Hello Horst,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;That could be a possible reason.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;But in this case the DDIC makes some errors when it displayes the "offset" of the columns and the "overall length".&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&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/attachments/122452-int4andchar1.png" /&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;The real problem we have with the SAP function module:&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;CHANGEDOCUMENT_MULTIPLE_CASE&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;It seems that the function module read the "overall length" =&amp;gt; headerlength&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;If the headerlength is wrong - as in this case - we get a short dump DATA_OFFSET_TOO_LARGE in line 94 &lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;f_field_x&amp;gt; = &amp;lt;f_area_x&amp;gt;+headerlength(gs_par-charlengthx).
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 07:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ddic-table-with-int4-column/m-p/585906#M23432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-08T07:45:29Z</dc:date>
    </item>
  </channel>
</rss>

