<?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 Problem in appending xstring to internal table. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-appending-xstring-to-internal-table/m-p/7502963#M1558692</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing a strange problem . I try to append a line of type xstring to an internal table, But some chacaters are getting truncated.&lt;/P&gt;&lt;P&gt;This is needed to create file output for a set of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a sample z program to find the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: unicode_string   TYPE xstring,&lt;/P&gt;&lt;P&gt;      unicode_string1   TYPE xstring,&lt;/P&gt;&lt;P&gt;      unicode_string2   TYPE xstring,&lt;/P&gt;&lt;P&gt;      dtab like TABLE OF unicode_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unicode_string1 =&lt;/P&gt;&lt;P&gt;'3731303138313136343036BBE7BEF7C0E5204250303120202020202020202020202020202020202020C7D1C0BA2020202020202020202020BCADBFEF20B0ADB3B2B1B820BCADC3CAB5BF204250303120202020202020202020202020202020202020202020BCADBAF1BDBA20202020202020202020'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unicode_string2 = '20BCD2C7C1C6AEBFFEBEEE2020202020202020202020202020203030303030303030303030303130303130362020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200D0A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE unicode_string1 unicode_string2 INTO unicode_string IN BYTE MODE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Append  unicode_string to dtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the variable unicode_string has 464 caharcters. But when we append it to dtab, al the characters after 255 get truncated, even though both are of same types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it a limitation? How is it possible to have the internal table with each line having exact data as in unicode_string. &lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Best Regards,&lt;/P&gt;&lt;P&gt;Vipul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Dec 2010 08:45:32 GMT</pubDate>
    <dc:creator>vipulsood</dc:creator>
    <dc:date>2010-12-14T08:45:32Z</dc:date>
    <item>
      <title>Problem in appending xstring to internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-appending-xstring-to-internal-table/m-p/7502963#M1558692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing a strange problem . I try to append a line of type xstring to an internal table, But some chacaters are getting truncated.&lt;/P&gt;&lt;P&gt;This is needed to create file output for a set of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a sample z program to find the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: unicode_string   TYPE xstring,&lt;/P&gt;&lt;P&gt;      unicode_string1   TYPE xstring,&lt;/P&gt;&lt;P&gt;      unicode_string2   TYPE xstring,&lt;/P&gt;&lt;P&gt;      dtab like TABLE OF unicode_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unicode_string1 =&lt;/P&gt;&lt;P&gt;'3731303138313136343036BBE7BEF7C0E5204250303120202020202020202020202020202020202020C7D1C0BA2020202020202020202020BCADBFEF20B0ADB3B2B1B820BCADC3CAB5BF204250303120202020202020202020202020202020202020202020BCADBAF1BDBA20202020202020202020'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unicode_string2 = '20BCD2C7C1C6AEBFFEBEEE2020202020202020202020202020203030303030303030303030303130303130362020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200D0A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE unicode_string1 unicode_string2 INTO unicode_string IN BYTE MODE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Append  unicode_string to dtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the variable unicode_string has 464 caharcters. But when we append it to dtab, al the characters after 255 get truncated, even though both are of same types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it a limitation? How is it possible to have the internal table with each line having exact data as in unicode_string. &lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Best Regards,&lt;/P&gt;&lt;P&gt;Vipul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 08:45:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-appending-xstring-to-internal-table/m-p/7502963#M1558692</guid>
      <dc:creator>vipulsood</dc:creator>
      <dc:date>2010-12-14T08:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in appending xstring to internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-appending-xstring-to-internal-table/m-p/7502964#M1558693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By default it will accept only 255 characters. &lt;/P&gt;&lt;P&gt;Instead of XSTRING can you try data types like char300 or similar which will allow you more than 255 char&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 09:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-appending-xstring-to-internal-table/m-p/7502964#M1558693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-15T09:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in appending xstring to internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-appending-xstring-to-internal-table/m-p/7502965#M1558694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with declaring with data type of type x of length 1000 also, But it simply doesn't work.&lt;/P&gt;&lt;P&gt;I behaves in the same way as earlier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 04:30:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-appending-xstring-to-internal-table/m-p/7502965#M1558694</guid>
      <dc:creator>vipulsood</dc:creator>
      <dc:date>2010-12-16T04:30:30Z</dc:date>
    </item>
  </channel>
</rss>

