<?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 Application Server : File writes only 255 characters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188630#M1001242</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;&lt;/P&gt;&lt;P&gt;I am trying to writes data to application server file .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My line size is 1100 charqacters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use open dataset for output in text mode encoding default&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and transfer contents to file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am only able to write contents upto 255 characters.&lt;/P&gt;&lt;P&gt;Whatever is beyond that I do not see it in AL11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to write more than 255 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried CG3Y to view files but it also shows only 255 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jul 2008 06:40:51 GMT</pubDate>
    <dc:creator>Azeemquadri</dc:creator>
    <dc:date>2008-07-25T06:40:51Z</dc:date>
    <item>
      <title>Application Server : File writes only 255 characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188630#M1001242</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;&lt;/P&gt;&lt;P&gt;I am trying to writes data to application server file .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My line size is 1100 charqacters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use open dataset for output in text mode encoding default&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and transfer contents to file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am only able to write contents upto 255 characters.&lt;/P&gt;&lt;P&gt;Whatever is beyond that I do not see it in AL11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to write more than 255 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried CG3Y to view files but it also shows only 255 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 06:40:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188630#M1001242</guid>
      <dc:creator>Azeemquadri</dc:creator>
      <dc:date>2008-07-25T06:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Application Server : File writes only 255 characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188631#M1001243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When u download the data using CG3Y give &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Transfer format for data&lt;/STRONG&gt; as &lt;STRONG&gt;BIN&lt;/STRONG&gt; instead of ASC. It will show u all the data.&lt;/P&gt;&lt;P&gt;Also cross check whether u have transfered more than 255 characters or not in debug mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 06:43:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188631#M1001243</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-07-25T06:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Application Server : File writes only 255 characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188632#M1001244</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;use this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C13Z_FRONT_END_TO_APPL .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 06:49:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188632#M1001244</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-07-25T06:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Application Server : File writes only 255 characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188633#M1001245</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;How do I check in debugger how many bytes are getting.&lt;/P&gt;&lt;P&gt; transferred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Also tried with BIN in CG3Y but still 255 characters only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 06:50:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188633#M1001245</guid>
      <dc:creator>Azeemquadri</dc:creator>
      <dc:date>2008-07-25T06:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Application Server : File writes only 255 characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188634#M1001246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gautham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not using front end. My data is from ABAP program which I need to put on the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am only seeing data up to 255 characters when i view the file in AL11. I do not know if the rest of the data is getting transferred or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 06:53:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188634#M1001246</guid>
      <dc:creator>Azeemquadri</dc:creator>
      <dc:date>2008-07-25T06:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Application Server : File writes only 255 characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188635#M1001247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just find the string length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 4.6C version there is a limit of 1500 characters i. e. U can transfer max of 1500 characters in a single transfer. For that we applied below solution. Check this it may help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  l_len = strlen( p_data ).
  DO.
    IF l_len LT 1500.
      TRANSFER p_data+l_offset(l_len) TO p_file.
      MOVE 0 TO l_len.
    ELSE.
      TRANSFER p_data+l_offset(1500) TO p_file.
      SUBTRACT 1500 FROM l_len.
      ADD 1500 TO l_offset.
    ENDIF.
    CHECK l_len EQ 0.
    EXIT.
  ENDDO.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_data has the content to be trasfered of around 6000 characters and the length is dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Also download the data using CG3Y with BIN to .txt file and&lt;/STRONG&gt; &lt;STRONG&gt;see.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If problem is still there then paste ur code of OPEN DATASET, TRANSFER statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to open the file in TEXT MODE.&lt;/P&gt;&lt;P&gt;eg: OPEN DATASET l_file IN TEXT MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vinod Reddy Vemuru on Jul 25, 2008 12:34 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 07:04:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188635#M1001247</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-07-25T07:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Application Server : File writes only 255 characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188636#M1001248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Saving the file as .TXT did it .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 09:35:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188636#M1001248</guid>
      <dc:creator>Azeemquadri</dc:creator>
      <dc:date>2008-07-28T09:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Application Server : File writes only 255 characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188637#M1001249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even I am facing the same problem when writing file to application server which has more than 255 char length.&lt;/P&gt;&lt;P&gt;I have changed my coding as given by you.&lt;/P&gt;&lt;P&gt;But the problem is When downloading the file from application server, the data for one record should be in one line ,if it is more than 255 chars it is splitted into 2 rows( its not word wrap). But this should not happen .&lt;/P&gt;&lt;P&gt;Please suggest me with a solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gowri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 11:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188637#M1001249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-09T11:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Application Server : File writes only 255 characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188638#M1001250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't use CG3Y!  It doesn't support download of longer rows.  Use GUI_DOWNLOAD, which will transfer 1024 bytes during download.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 12:05:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188638#M1001250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-09T12:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Application Server : File writes only 255 characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188639#M1001251</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;I am downloading the file from al11 ( System&lt;DEL&gt;&amp;gt; List&lt;/DEL&gt;&amp;gt; local file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou&lt;/P&gt;&lt;P&gt;Gowri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 12:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-file-writes-only-255-characters/m-p/4188639#M1001251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-09T12:09:30Z</dc:date>
    </item>
  </channel>
</rss>

