<?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 Error while changing non-unicode to unicode programs in offsets in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-changing-non-unicode-to-unicode-programs-in-offsets/m-p/1906480#M377786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;       Its very urgent can you give me a soln to the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of t_allocate occurs 0.&lt;/P&gt;&lt;P&gt;        include structure zsd_allocate.&lt;/P&gt;&lt;P&gt;data: end of t_allocate.&lt;/P&gt;&lt;P&gt;  if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;      write: / t_allocate(80),&lt;/P&gt;&lt;P&gt;             / t_allocate+80(80),  &amp;lt;------- error &lt;/P&gt;&lt;P&gt;             / t_allocate+160.&lt;/P&gt;&lt;P&gt;      uline.&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;The above code is throwing an error as: The sum of the offset length (=160) exceeds the length of the start (=93) of the structure.This is not allowed in unicode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Feb 2007 05:21:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-20T05:21:35Z</dc:date>
    <item>
      <title>Error while changing non-unicode to unicode programs in offsets</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-changing-non-unicode-to-unicode-programs-in-offsets/m-p/1906480#M377786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;       Its very urgent can you give me a soln to the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of t_allocate occurs 0.&lt;/P&gt;&lt;P&gt;        include structure zsd_allocate.&lt;/P&gt;&lt;P&gt;data: end of t_allocate.&lt;/P&gt;&lt;P&gt;  if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;      write: / t_allocate(80),&lt;/P&gt;&lt;P&gt;             / t_allocate+80(80),  &amp;lt;------- error &lt;/P&gt;&lt;P&gt;             / t_allocate+160.&lt;/P&gt;&lt;P&gt;      uline.&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;The above code is throwing an error as: The sum of the offset length (=160) exceeds the length of the start (=93) of the structure.This is not allowed in unicode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 05:21:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-changing-non-unicode-to-unicode-programs-in-offsets/m-p/1906480#M377786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T05:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error while changing non-unicode to unicode programs in offsets</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-changing-non-unicode-to-unicode-programs-in-offsets/m-p/1906481#M377787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;      In Unicode the there will be a problem for offset .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following code marked in bold.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;types : begin of typ_str,&lt;/P&gt;&lt;P&gt;             str(80) type c,&lt;/P&gt;&lt;P&gt;          end of types .&amp;lt;/b&amp;gt;&amp;lt;b&amp;gt;data : cf(80).&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;data: begin of t_allocate occurs 0.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;        include structure typstr as part1.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;include structure zsd_allocate.&lt;/P&gt;&lt;P&gt;data: end of t_allocate.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;cf = t_allocate-part1.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: / t_allocate(80),&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;/ cf&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;the above line will solve your problem&lt;/P&gt;&lt;P&gt;/ t_allocate+80(80), &amp;lt;------- error &lt;/P&gt;&lt;P&gt;/ t_allocate+160.&lt;/P&gt;&lt;P&gt;uline.&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;Please reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 05:42:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-changing-non-unicode-to-unicode-programs-in-offsets/m-p/1906481#M377787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T05:42:14Z</dc:date>
    </item>
  </channel>
</rss>

