<?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: ABAP dump for Offset specification for a structure too large? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086445#M1506698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All:&lt;/P&gt;&lt;P&gt;         My problem was answered. Thanks for All help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Nicole Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jul 2010 10:05:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-29T10:05:07Z</dc:date>
    <item>
      <title>ABAP dump for Offset specification for a structure too large?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086441#M1506694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts:&lt;/P&gt;&lt;P&gt;          As subject. Abap dump message 'In this case, the offset specification 48 for the structure "&amp;lt;TABLE1&amp;gt;"&lt;/P&gt;&lt;P&gt;exceeds the length of the character-type initial part (=46).'&lt;/P&gt;&lt;P&gt;          This is abap dump message. My abap code as below, dump occur in boldface. This is strange, because actually for this case l_pos = 24 and x_namtab-leng = 12, so that offset specification is 36. But system return is 48. Please help. Thanks a lot!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT x_namtab.&lt;/P&gt;&lt;P&gt;    CASE x_namtab-viewfield.&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;WHEN 'USNAM'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;l_pos = x_namtab-position / 2.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;&amp;lt;table1&amp;gt;+l_pos(x_namtab-leng) = sy-uname.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      WHEN 'DATUM'.&lt;/P&gt;&lt;P&gt;        l_pos = x_namtab-position / 2.&lt;/P&gt;&lt;P&gt;        &amp;lt;table1&amp;gt;+l_pos(x_namtab-leng) = sy-datum.&lt;/P&gt;&lt;P&gt;      WHEN 'UZEIT'.&lt;/P&gt;&lt;P&gt;        l_pos = x_namtab-position / 2.&lt;/P&gt;&lt;P&gt;        &amp;lt;table1&amp;gt;+l_pos(x_namtab-leng) = sy-uzeit.&lt;/P&gt;&lt;P&gt;      WHEN 'TERM'.&lt;/P&gt;&lt;P&gt;        l_pos = x_namtab-position / 2.&lt;/P&gt;&lt;P&gt;        &amp;lt;table1&amp;gt;+l_pos(x_namtab-leng) = l_term.&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 09:16:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086441#M1506694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T09:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP dump for Offset specification for a structure too large?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086442#M1506695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try clearing the field l_pos after the case statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT x_namtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_pos = x_namtab-position / 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE x_namtab-viewfield.&lt;/P&gt;&lt;P&gt;WHEN 'USNAM'.&lt;/P&gt;&lt;P&gt;&amp;lt;table1&amp;gt;+l_pos(x_namtab-leng) = sy-uname.&lt;/P&gt;&lt;P&gt;WHEN 'DATUM'.&lt;/P&gt;&lt;P&gt;&amp;lt;table1&amp;gt;+l_pos(x_namtab-leng) = sy-datum.&lt;/P&gt;&lt;P&gt;WHEN 'UZEIT'.&lt;/P&gt;&lt;P&gt;&amp;lt;table1&amp;gt;+l_pos(x_namtab-leng) = sy-uzeit.&lt;/P&gt;&lt;P&gt;WHEN 'TERM'.&lt;/P&gt;&lt;P&gt;&amp;lt;table1&amp;gt;+l_pos(x_namtab-leng) = l_term.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear : l_pos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Veeranji Reddy on Jul 29, 2010 2:52 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 09:21:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086442#M1506695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T09:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP dump for Offset specification for a structure too large?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086443#M1506696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help. But it's not work. Because i try to change the code to '&amp;lt;table1&amp;gt;+24(12) = sy-uname.'  Still dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Nicole Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 09:34:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086443#M1506696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T09:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP dump for Offset specification for a structure too large?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086444#M1506697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then your structue &amp;lt;table1&amp;gt; has length less than 36..... in debug mode check its length.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 09:38:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086444#M1506697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T09:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP dump for Offset specification for a structure too large?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086445#M1506698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All:&lt;/P&gt;&lt;P&gt;         My problem was answered. Thanks for All help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Nicole Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 10:05:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086445#M1506698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T10:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP dump for Offset specification for a structure too large?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086446#M1506699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would be great if you could share the solution, which could be of help to others in future facing similar problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 10:15:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086446#M1506699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T10:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP dump for Offset specification for a structure too large?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086447#M1506700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All:&lt;/P&gt;&lt;P&gt;          This problem was  data type. My program is append to standard program. That is, i add new code in table maintenance. I used the &amp;lt;table1&amp;gt; and x_namtab for&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 10:28:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086447#M1506700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T10:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP dump for Offset specification for a structure too large?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086448#M1506701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All:&lt;/P&gt;&lt;P&gt;This problem was the cause of data type. My program is append to standard program. That is, i add new code in table maintenance for my requirements. &amp;lt;table1&amp;gt; and x_namtab was declaration when create table maintenance form the system. But when data type is 'DEC' the system calculate position will be different. But I not found what's difference. For my case, just change the data type will be OK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So sorry, I just can be explain to these, because my English not pretty good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 10:34:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086448#M1506701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T10:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP dump for Offset specification for a structure too large?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086449#M1506702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nicole,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the effort. That should be good enough. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 10:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086449#M1506702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T10:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP dump for Offset specification for a structure too large?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086450#M1506703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vikranth:&lt;/P&gt;&lt;P&gt;          Thanks for your remind. Actually I got a lot of help from the forum. To many experts help me to solve the problems. I really appreciate. I will remember to share my experience to help when I solve problems.&lt;/P&gt;&lt;P&gt;          Thanks a lot!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Nicole Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 04:01:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-for-offset-specification-for-a-structure-too-large/m-p/7086450#M1506703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-30T04:01:06Z</dc:date>
    </item>
  </channel>
</rss>

