<?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: string length to short in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-length-to-short/m-p/3606842#M868838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHeck the length of text_line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Mar 2008 15:39:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-23T15:39:50Z</dc:date>
    <item>
      <title>string length to short</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-length-to-short/m-p/3606840#M868836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;I read with open dataset a line into a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data text_line type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ DATASET dir INTO text_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The record in the text file is about 350 characters.&lt;/P&gt;&lt;P&gt;But when I watch the debugger, text_line shows only 255 characters.&lt;/P&gt;&lt;P&gt;Has anyone an explanation for it?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Jimbob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2008 15:19:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-length-to-short/m-p/3606840#M868836</guid>
      <dc:creator>joerg_arndt</dc:creator>
      <dc:date>2008-03-23T15:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: string length to short</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-length-to-short/m-p/3606841#M868837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4760321"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2008 15:32:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-length-to-short/m-p/3606841#M868837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-23T15:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: string length to short</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-length-to-short/m-p/3606842#M868838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHeck the length of text_line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2008 15:39:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-length-to-short/m-p/3606842#M868838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-23T15:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: string length to short</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-length-to-short/m-p/3606843#M868839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;The length of text line is variable, means it fits normally allways and it is not possible to assign a length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But even when I change the declaration to&lt;/P&gt;&lt;P&gt;DATA text_line(1024) type c.&lt;/P&gt;&lt;P&gt;it shows only 255 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA text_line(1024) type c. ( only 255 possible)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET dir FOR INPUT IN TEXT MODE encoding DEFAULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DO.&lt;/P&gt;&lt;P&gt;   READ DATASET dir INTO text_line.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    DO SOMTHING..............&lt;/P&gt;&lt;P&gt;ENDDO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your answers.&lt;/P&gt;&lt;P&gt;Jimbob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: jimbob on Mar 23, 2008 4:52 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2008 15:49:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-length-to-short/m-p/3606843#M868839</guid>
      <dc:creator>joerg_arndt</dc:creator>
      <dc:date>2008-03-23T15:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: string length to short</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-length-to-short/m-p/3606844#M868840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can not believe it is not possible to open a file and read a record longer than 255 characters.&lt;/P&gt;&lt;P&gt;In report " /SAPDMC/SAP_LSMW_IMPORT_TEXTS"&lt;/P&gt;&lt;P&gt;there is a variable "DATA: line(1000)" for this purpose.&lt;/P&gt;&lt;P&gt;So I assume it works there, but why not here.&lt;/P&gt;&lt;P&gt;And if not, how is it possible to to read files like what, per Hand?&lt;/P&gt;&lt;P&gt;It is crazy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2008 18:43:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-length-to-short/m-p/3606844#M868840</guid>
      <dc:creator>joerg_arndt</dc:creator>
      <dc:date>2008-03-23T18:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: string length to short</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-length-to-short/m-p/3606845#M868841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem solved.&lt;/P&gt;&lt;P&gt;Reason:&lt;/P&gt;&lt;P&gt;during the filetransfer from frontend to server  in ASC mode the format of the file was changed.&lt;/P&gt;&lt;P&gt;Now the transfer takes place in BIN mode and everything is fine.&lt;/P&gt;&lt;P&gt;It was defenetly a matter of the file format.&lt;/P&gt;&lt;P&gt;Rg. Jimbob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: jimbob on Mar 24, 2008 12:03 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 11:02:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-length-to-short/m-p/3606845#M868841</guid>
      <dc:creator>joerg_arndt</dc:creator>
      <dc:date>2008-03-24T11:02:00Z</dc:date>
    </item>
  </channel>
</rss>

