<?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: unicode - container for structures- how? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-container-for-structures-how/m-p/4049545#M968000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it with field-symbols and by using ASSIGN...CASTING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF containertable,
         field1 TYPE edichar500,
         field2 TYPE version,
       END OF containertable.

DATA: bla_form TYPE containertable.
*table containertable contains of 2 fields, 1st is character with length 500,
*2nd is 'version' with numc length 4

DATA alb_form TYPE knb1.
* table xyz_table contains like 40 field,each different varying from 1 to 60 length
*  and wild mixture of char,int, numc, dats, tims, etc.
*

SELECT SINGLE * FROM knb1 INTO alb_form.

FIELD-SYMBOLS &amp;lt;bla_form&amp;gt; TYPE containertable.

ASSIGN alb_form TO &amp;lt;bla_form&amp;gt; CASTING.

WRITE: / &amp;lt;bla_form&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jun 2008 11:43:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-27T11:43:20Z</dc:date>
    <item>
      <title>unicode - container for structures- how?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-container-for-structures-how/m-p/4049544#M967999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;following problem that this code is working in non-unicode but not in unicode systems:&lt;/P&gt;&lt;P&gt;DATA bla_form type containertable.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;table containertable contains of 2 fields, 1st is character with length 500,2nd is 'version' with numc length 4&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA alb_form type xyz_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;table xyz_table contains like 40 field,each different varying from 1 to 60 length and wild mixture of char,int, numc, dats, tims, etc.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bla_form = alb_form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course i getting an error that both tables arent of same type when switching to unicode. unfortunately i dont really think changing bla_form to xyz_table is a good idea because it has so many fields and it is really often used in funtions and methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the standard way of proceeding here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,sven&lt;/P&gt;&lt;P&gt;points will be awarded,of course!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 07:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-container-for-structures-how/m-p/4049544#M967999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T07:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: unicode - container for structures- how?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-container-for-structures-how/m-p/4049545#M968000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it with field-symbols and by using ASSIGN...CASTING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF containertable,
         field1 TYPE edichar500,
         field2 TYPE version,
       END OF containertable.

DATA: bla_form TYPE containertable.
*table containertable contains of 2 fields, 1st is character with length 500,
*2nd is 'version' with numc length 4

DATA alb_form TYPE knb1.
* table xyz_table contains like 40 field,each different varying from 1 to 60 length
*  and wild mixture of char,int, numc, dats, tims, etc.
*

SELECT SINGLE * FROM knb1 INTO alb_form.

FIELD-SYMBOLS &amp;lt;bla_form&amp;gt; TYPE containertable.

ASSIGN alb_form TO &amp;lt;bla_form&amp;gt; CASTING.

WRITE: / &amp;lt;bla_form&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 11:43:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-container-for-structures-how/m-p/4049545#M968000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T11:43:20Z</dc:date>
    </item>
  </channel>
</rss>

