<?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 Offset problum in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-problum/m-p/4786029#M1121029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I am working on upgradetion project in 4.6C version this below code working fine. In ECC 6.0 its going for Dump can any one help me on this why its going for dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: offset type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form init_structure using name structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select * from dd03l&lt;/P&gt;&lt;P&gt;    into corresponding fields of table ydd03l&lt;/P&gt;&lt;P&gt;    where tabname = name&lt;/P&gt;&lt;P&gt;    order by position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  offset = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at ydd03l.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ydd03l-offset = offset.&lt;/P&gt;&lt;P&gt;    offset = offset + ydd03l-intlen.&lt;/P&gt;&lt;P&gt;    modify ydd03l.&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;  move space to structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at ydd03l.&lt;/P&gt;&lt;P&gt;    perform field_assign using structure+ydd03l-offset(1) '/'.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dump message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the running program "ZPACRIM_AP_LOAD", the field "STRUCTURE" of the type&lt;/P&gt;&lt;P&gt;"u" and length 309 was to be accessed with the offset 328.&lt;/P&gt;&lt;P&gt;However, subfield accesses with an offset specification that is not&lt;/P&gt;&lt;P&gt;smaller than the field length are not permitted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Nov 2008 07:36:14 GMT</pubDate>
    <dc:creator>former_member644512</dc:creator>
    <dc:date>2008-11-18T07:36:14Z</dc:date>
    <item>
      <title>Offset problum</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-problum/m-p/4786029#M1121029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I am working on upgradetion project in 4.6C version this below code working fine. In ECC 6.0 its going for Dump can any one help me on this why its going for dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: offset type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form init_structure using name structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select * from dd03l&lt;/P&gt;&lt;P&gt;    into corresponding fields of table ydd03l&lt;/P&gt;&lt;P&gt;    where tabname = name&lt;/P&gt;&lt;P&gt;    order by position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  offset = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at ydd03l.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ydd03l-offset = offset.&lt;/P&gt;&lt;P&gt;    offset = offset + ydd03l-intlen.&lt;/P&gt;&lt;P&gt;    modify ydd03l.&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;  move space to structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at ydd03l.&lt;/P&gt;&lt;P&gt;    perform field_assign using structure+ydd03l-offset(1) '/'.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dump message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the running program "ZPACRIM_AP_LOAD", the field "STRUCTURE" of the type&lt;/P&gt;&lt;P&gt;"u" and length 309 was to be accessed with the offset 328.&lt;/P&gt;&lt;P&gt;However, subfield accesses with an offset specification that is not&lt;/P&gt;&lt;P&gt;smaller than the field length are not permitted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 07:36:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-problum/m-p/4786029#M1121029</guid>
      <dc:creator>former_member644512</dc:creator>
      <dc:date>2008-11-18T07:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Offset problum</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-problum/m-p/4786030#M1121030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the length of the field ydd03l-structure is 309 and is of type u (as u declared) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the offset value is 328 which means you are tring to access 328th field which is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make sure u do not exceed the length of the strucure field when u use offset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 08:11:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-problum/m-p/4786030#M1121030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T08:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Offset problum</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-problum/m-p/4786031#M1121031</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;   Thanks a lot for ur quick responce. i did't declare structure as type 'U'. It has been like this.&lt;/P&gt;&lt;P&gt;perform init_structure using 'BBKPF' *bbkpf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 08:35:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-problum/m-p/4786031#M1121031</guid>
      <dc:creator>former_member644512</dc:creator>
      <dc:date>2008-11-18T08:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Offset problum</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-problum/m-p/4786032#M1121032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the length of structure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 08:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-problum/m-p/4786032#M1121032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T08:42:45Z</dc:date>
    </item>
  </channel>
</rss>

