<?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: Create data illegal length in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-illegal-length/m-p/7986764#M1605253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cause: Invalid value for the addition LENGTH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Occurs when you have passed value more than Length defiend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jun 2011 09:03:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-28T09:03:23Z</dc:date>
    <item>
      <title>Create data illegal length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-illegal-length/m-p/7986763#M1605252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im having a short dump error:&lt;/P&gt;&lt;P&gt;Runtime Error: CREATE_DATA_ILLEGAL_LENGTH&lt;/P&gt;&lt;P&gt;Exceptions: CX_SY_CREATE_DATA_ERROR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im using CL_ABAP_CONTAINER_UTILITIES=&amp;gt;READ_CONTAINER_C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
read dataset datei_mit_ext into ls_buffer.

call method cl_abap_container_utilities=&amp;gt;read_container_c
exporting
im_container = ls_buffer
importing
ex_value = gs_ausgabe
exceptions
illegal_parameter_type = 1
others = 2.
if sy-subrc &amp;lt;&amp;gt;0.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 08:39:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-illegal-length/m-p/7986763#M1605252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-28T08:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create data illegal length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-illegal-length/m-p/7986764#M1605253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cause: Invalid value for the addition LENGTH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Occurs when you have passed value more than Length defiend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 09:03:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-illegal-length/m-p/7986764#M1605253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-28T09:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create data illegal length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-illegal-length/m-p/7986765#M1605254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just Do this, if it is getting at Read Data set &lt;/P&gt;&lt;P&gt;    TRY.&lt;/P&gt;&lt;P&gt;        READ DATASET file INTO gv_string.&lt;/P&gt;&lt;P&gt;      CATCH cx_sy_file_open INTO oref.&lt;/P&gt;&lt;P&gt;        lv_text = oref-&amp;gt;get_text( ).&lt;/P&gt;&lt;P&gt;      CATCH cx_sy_file_io INTO oref.&lt;/P&gt;&lt;P&gt;        lv_text = oref-&amp;gt;get_text( ).&lt;/P&gt;&lt;P&gt;    ENDTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you know the exxception you got for the CL_GUI_FRONTENT_SERVICES Read_container.&lt;/P&gt;&lt;P&gt;Do the sam above code here by changing the catch exceptions. Hope This Helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhargav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 10:28:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-illegal-length/m-p/7986765#M1605254</guid>
      <dc:creator>Venkat_Sesha</dc:creator>
      <dc:date>2011-06-28T10:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create data illegal length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-illegal-length/m-p/7986766#M1605255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It'll help if you provide more details viz., the type of the variables &lt;EM&gt;ls_buffer&lt;/EM&gt; &amp;amp; &lt;EM&gt;gs_ausgabe&lt;/EM&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you debug the method call &amp;amp; get the exact location of the dump?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 10:52:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-illegal-length/m-p/7986766#M1605255</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-06-28T10:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create data illegal length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-illegal-length/m-p/7986767#M1605256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think i know the problem im getting a sy-index = 107 but the total number of data in application server is only 106&lt;/P&gt;&lt;P&gt;i think there's a space at the end that causes the error..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all the suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;bernadette&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 00:47:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-illegal-length/m-p/7986767#M1605256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-29T00:47:07Z</dc:date>
    </item>
  </channel>
</rss>

