<?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: Dump DATA_OFFSET_TOO_LARGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-data-offset-too-large/m-p/7431925#M1550536</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;This dump comes when you refer the contents of the fields(Offset) which are larger then the field size. debug it you will be able to solve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2010 09:31:03 GMT</pubDate>
    <dc:creator>nabheetscn</dc:creator>
    <dc:date>2010-12-10T09:31:03Z</dc:date>
    <item>
      <title>Dump DATA_OFFSET_TOO_LARGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-data-offset-too-large/m-p/7431923#M1550534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Techies,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing an issue with the dump called "DATA_OFFSET_TOO_LARGE".&lt;/P&gt;&lt;P&gt;Can anybody help me with the solution or sap note need to be applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see the below code for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;      Form  get_material_sap_form_02
 *&amp;amp;
 *       text
 *
 *        &amp;gt;P_RETURN  text
 *      &amp;lt;  P_L_RP_CHARGE  text
 *
 form get_material_sap_form_02  tables   p_return structure bapir
                                changing p_part.

   data: first_part(3)   type c,
         middle          type c,
         second_part(5)  type c.
   constants: s_abc(70)  type c value 'QWERTYUIOPASDFGHJKLZXCVBNM
   data: l_matnr like mara-matnr.


Regards,
Reshma

   if not p_part is initial.

     translate p_part to upper case.

     if p_part ca s_abc.
       if sy-fdpos &amp;gt;= 1.
         first_part  = p_part(sy-fdpos).
         middle      = p_part+sy-fdpos(1).
         sy-fdpos = sy-fdpos + 1.
         *second_part = p_part+sy-fdpos.                             This statement is giving an error.*         shift first_part right deleting trailing space.
         shift second_part right deleting trailing space.
         translate first_part  using ' 0'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 08:42:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-data-offset-too-large/m-p/7431923#M1550534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-10T08:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dump DATA_OFFSET_TOO_LARGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-data-offset-too-large/m-p/7431924#M1550535</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;   Please check the length of your variable :  p_part&lt;/P&gt;&lt;P&gt;   say if the length is 3 , and the sy-fdpos is 4. you are trying to access the 4th character which is not available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   In your case I think the character you are checking is the last character and you get the dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   say p_part is 3 char's &lt;/P&gt;&lt;P&gt;   p_part = '12Q'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-fdpos &amp;gt;= 1.                                     " sy-fdpos will be 2.&lt;/P&gt;&lt;P&gt;         first_part  = p_part(sy-fdpos).        " first_part = 12&lt;/P&gt;&lt;P&gt;         middle      = p_part+sy-fdpos(1).     " middle = Q&lt;/P&gt;&lt;P&gt;         sy-fdpos = sy-fdpos + 1.                " sy-fdpos will be 3.&lt;/P&gt;&lt;P&gt;         *second_part = p_part+sy-fdpos.  " here you are trying to access the 4th character , where as the length of the variable&lt;/P&gt;&lt;P&gt;                                                                   p_part is only 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 09:10:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-data-offset-too-large/m-p/7431924#M1550535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-10T09:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dump DATA_OFFSET_TOO_LARGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-data-offset-too-large/m-p/7431925#M1550536</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;This dump comes when you refer the contents of the fields(Offset) which are larger then the field size. debug it you will be able to solve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 09:31:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-data-offset-too-large/m-p/7431925#M1550536</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2010-12-10T09:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dump DATA_OFFSET_TOO_LARGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-data-offset-too-large/m-p/7431926#M1550537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Both,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was helpful. And the issue is resolved now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 07:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-data-offset-too-large/m-p/7431926#M1550537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-13T07:39:54Z</dc:date>
    </item>
  </channel>
</rss>

