<?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 STRING_SIZE_TOO_LARGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-size-too-large/m-p/12364141#M1993293</link>
    <description>&lt;P&gt;I am converting xstring to string value by using standard FM ECATT_CONV_XSTRING_TO_STRING. Since my file is large in size more than 2 GB hence the FM is producing short dump as the string size exceeds the maximum length.&lt;/P&gt;
  &lt;P&gt;Please suggest if there is any other way to convert large xtring value to string. We are getting the xtring from Middleware after decrypting the file.&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;IMG alt="" style="background-color: initial; font-size: 15px;" /&gt;&lt;IMG alt="" style="background-color: initial; font-size: 15px; color: rgb(60, 60, 60);" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;IMG alt="" style="font-size: 15px; color: rgb(60, 60, 60);" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 13 Mar 2021 15:04:35 GMT</pubDate>
    <dc:creator>former_member333481</dc:creator>
    <dc:date>2021-03-13T15:04:35Z</dc:date>
    <item>
      <title>STRING_SIZE_TOO_LARGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-size-too-large/m-p/12364141#M1993293</link>
      <description>&lt;P&gt;I am converting xstring to string value by using standard FM ECATT_CONV_XSTRING_TO_STRING. Since my file is large in size more than 2 GB hence the FM is producing short dump as the string size exceeds the maximum length.&lt;/P&gt;
  &lt;P&gt;Please suggest if there is any other way to convert large xtring value to string. We are getting the xtring from Middleware after decrypting the file.&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;IMG alt="" style="background-color: initial; font-size: 15px;" /&gt;&lt;IMG alt="" style="background-color: initial; font-size: 15px; color: rgb(60, 60, 60);" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;IMG alt="" style="font-size: 15px; color: rgb(60, 60, 60);" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Mar 2021 15:04:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-size-too-large/m-p/12364141#M1993293</guid>
      <dc:creator>former_member333481</dc:creator>
      <dc:date>2021-03-13T15:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: STRING_SIZE_TOO_LARGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-size-too-large/m-p/12364142#M1993294</link>
      <description>&lt;P&gt;I guess you are decoding text encoded in UTF-8 (?)&lt;/P&gt;&lt;P&gt;Try to process it by chunks of 100000 bytes for instance. CL_ABAP_CONV_OBJ used to work well for that, with constructor parameter broken = 'R' to handle "broken characters" at end of chunks. Parameter INUSED of method CONVERT says exactly how many bytes were decoded (for instance 99997 to 100000) so that to start at the right offset for the next chunk.&lt;/P&gt;&lt;P&gt;I don't know if there's a successor of old CL_ABAP_CONV_OBJ.&lt;/P&gt;&lt;P&gt;See in the forum if there are examples for CL_ABAP_CONV_OBJ with parameter broken = 'R'.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Mar 2021 17:44:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-size-too-large/m-p/12364142#M1993294</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-03-13T17:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: STRING_SIZE_TOO_LARGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-size-too-large/m-p/12364143#M1993295</link>
      <description>&lt;P&gt;Hello Sandra,&lt;/P&gt;&lt;P&gt;Thanks for the suggestion. Would you mind to send me the full code which need to be implemneted to handle this&lt;/P&gt;</description>
      <pubDate>Sat, 13 Mar 2021 17:49:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-size-too-large/m-p/12364143#M1993295</guid>
      <dc:creator>former_member333481</dc:creator>
      <dc:date>2021-03-13T17:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: STRING_SIZE_TOO_LARGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-size-too-large/m-p/12364144#M1993296</link>
      <description>&lt;P&gt;Please use the COMMENT button for comments, questions, adding details, replying to people, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Mar 2021 18:35:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-size-too-large/m-p/12364144#M1993296</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-03-13T18:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: STRING_SIZE_TOO_LARGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-size-too-large/m-p/12364145#M1993297</link>
      <description>&lt;P&gt;See &lt;A href="https://wiki.scn.sap.com/wiki/display/ABAP/CL_ABAP_CONV_OBJ"&gt;here&lt;/A&gt; .&lt;/P&gt;</description>
      <pubDate>Sat, 13 Mar 2021 18:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-size-too-large/m-p/12364145#M1993297</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-03-13T18:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: STRING_SIZE_TOO_LARGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-size-too-large/m-p/12364146#M1993298</link>
      <description>&lt;P&gt;It was not difficult to find it by searching this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;"CL_ABAP_CONV_OBJ" "BROKEN = 'R'" site:sap.com&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 13 Mar 2021 18:39:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-size-too-large/m-p/12364146#M1993298</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-03-13T18:39:57Z</dc:date>
    </item>
  </channel>
</rss>

