<?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: Program in unicode in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-in-unicode/m-p/787892#M39752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are 3 cases for flat structures (check the online docu).&lt;/P&gt;&lt;P&gt;a.) identicial fragment view&lt;/P&gt;&lt;P&gt;b.) different length and shorter struc identical to head&lt;/P&gt;&lt;P&gt;c.) identical but last component ( Byte or number like ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type N is a charlike type, which content is limited to numbers, therefore it is treated from UC view as type C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the layout is as following&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
struc1
  1.)  2 *  c
  2.)  1 *  i
  3.)  1 *  x
struc2
  1.)  2 *  c
  2.)  1 *  x
  3.)  1 *  i
struc4
  1.) 50 *  c
struc5 
  1.) 90 *  c
  2.)  1 *  i
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the assignment struc4 = struc5 is case b.).&lt;/P&gt;&lt;P&gt;So the assignment struc1 = struc2 is no valid case due there are 2 differnt tail fragments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Aug 2004 09:24:12 GMT</pubDate>
    <dc:creator>former_member183804</dc:creator>
    <dc:date>2004-08-13T09:24:12Z</dc:date>
    <item>
      <title>Program in unicode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-in-unicode/m-p/787891#M39751</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;I am having this problem when I am working in 4.7 unicode .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is that why doesn't this program give me any error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: begin of struc4,&lt;/P&gt;&lt;P&gt;        line(50),&lt;/P&gt;&lt;P&gt;      end of struc4,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      begin of struc5,&lt;/P&gt;&lt;P&gt;        line1(30),&lt;/P&gt;&lt;P&gt;        num(30) type n,&lt;/P&gt;&lt;P&gt;        line2(30),&lt;/P&gt;&lt;P&gt;        i1 type I,&lt;/P&gt;&lt;P&gt;      end of struc5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      move struc4 to struc5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And why does this program give me an error &lt;/P&gt;&lt;P&gt;Data: Begin of struc1,&lt;/P&gt;&lt;P&gt;        c1 type C,&lt;/P&gt;&lt;P&gt;        c2 type C,&lt;/P&gt;&lt;P&gt;        I1 type I,&lt;/P&gt;&lt;P&gt;        X1 type X,&lt;/P&gt;&lt;P&gt;      End of struc1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: Begin of struc2,&lt;/P&gt;&lt;P&gt;        c1 type C value 'A',&lt;/P&gt;&lt;P&gt;        c2 type C value 'B',&lt;/P&gt;&lt;P&gt;        X1 type X value '0D',&lt;/P&gt;&lt;P&gt;        I1 type I value 20,&lt;/P&gt;&lt;P&gt;      End of struc2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move struc2 to struc1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is ""STRUC1" and "STRUC2" are not mutually convertible. In Unicode systems, "STRUC1" must have the same structure layout (fragment view) as"STRUC2", regardless of the length of the Unicode character."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now here again it say's fragment view.&lt;/P&gt;&lt;P&gt;Shouldn't it be copying till the fragment view's are same??? as it's doing in the previous case or this case is not the same as previous case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2004 06:45:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-in-unicode/m-p/787891#M39751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-13T06:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Program in unicode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-in-unicode/m-p/787892#M39752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are 3 cases for flat structures (check the online docu).&lt;/P&gt;&lt;P&gt;a.) identicial fragment view&lt;/P&gt;&lt;P&gt;b.) different length and shorter struc identical to head&lt;/P&gt;&lt;P&gt;c.) identical but last component ( Byte or number like ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type N is a charlike type, which content is limited to numbers, therefore it is treated from UC view as type C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the layout is as following&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
struc1
  1.)  2 *  c
  2.)  1 *  i
  3.)  1 *  x
struc2
  1.)  2 *  c
  2.)  1 *  x
  3.)  1 *  i
struc4
  1.) 50 *  c
struc5 
  1.) 90 *  c
  2.)  1 *  i
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the assignment struc4 = struc5 is case b.).&lt;/P&gt;&lt;P&gt;So the assignment struc1 = struc2 is no valid case due there are 2 differnt tail fragments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2004 09:24:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-in-unicode/m-p/787892#M39752</guid>
      <dc:creator>former_member183804</dc:creator>
      <dc:date>2004-08-13T09:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Program in unicode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-in-unicode/m-p/787893#M39753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nishant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the First case 50 char of Struc1 will be copied to the struc2 in this way&lt;/P&gt;&lt;P&gt;30 chars of struc1 -&amp;gt; 30 chars of struc2&lt;/P&gt;&lt;P&gt;20 chars of struc1 -&amp;gt; 20 numc of struc2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Numc is not a problem as it will be considered as Character type only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in the secone case the type mismatch is there ie type x is copied to integer type so it will give you error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2004 09:52:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-in-unicode/m-p/787893#M39753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-13T09:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Program in unicode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-in-unicode/m-p/787894#M39754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I'm getting the same problem.&lt;/P&gt;&lt;P&gt;Do someone how to solve the problem??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;MC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 13:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-in-unicode/m-p/787894#M39754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T13:26:13Z</dc:date>
    </item>
  </channel>
</rss>

