<?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: Writing a file using OPEN DATASET in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399801#M193286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Though it shows only 256 chars , the files holds the Full length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to read it to itab and then download it to PC and see ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or Else you can use transaction CG3Y transaction to download directly from Application Server to PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jun 2006 09:31:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-14T09:31:39Z</dc:date>
    <item>
      <title>Writing a file using OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399794#M193279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all ,&lt;/P&gt;&lt;P&gt;           I am trying to write a file using OPEN DATASET fname FOR OUTPUT IN TEXT MODE and in a loop i am using TRANSFER statement. When I am doing this , am able to transfer only 256 bytes. Can anybody help me out with this issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 04:08:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399794#M193279</guid>
      <dc:creator>jwalithtatikonda2</dc:creator>
      <dc:date>2006-06-14T04:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Writing a file using OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399795#M193280</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;Pls see the below example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the OPEN DATASET statement, the data object f is interpreted in lines if you use IN TEXT MODE. If you use the IN BINARY MODE addition, the line breaks are ignored. If the specified file is not already open, TRANSFER attempts to open the file FOR OUTPUT IN BINARY MODE. If this is not possible, a runtime error occurs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;DATA rec(80). &lt;/P&gt;&lt;P&gt;TRANSFER rec TO '/usr/test.dat'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This example transfers the field rec to the file test.dat in the usr directory on the application server. The data record is 80 bytes long. If you do not specify a directory, the file is written in the directory specified in the profile parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ram Mohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 04:13:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399795#M193280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T04:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Writing a file using OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399796#M193281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't worry, you are able to download the full length of the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are trying to see the file contents from some SAP transaction and that transaction has this restriction on showing only 256 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the OS (or ask someone who has the access) and take a look at the file using some text editor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 04:14:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399796#M193281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T04:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Writing a file using OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399797#M193282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tatikonda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; OPEN DATASET l_out_file FOR OUTPUT IN TEXT MODE&lt;/P&gt;&lt;P&gt;                                  ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Then Transfer the data to l-out_file. by Looping the internal table...&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Here Declare wa(wa_control_file contains n no of fields with required length) according to required length per line...&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TRANSFER wa_control-file TO l_out_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this definitely transfers the Total data from itab to Application server....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Better use CG3Y and Transfer all the data to the local file and check how much data is available...&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Hope this helps u sure...or else do reply again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: sridhar reddy kondam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 04:20:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399797#M193282</guid>
      <dc:creator>sridharreddy_kondam</dc:creator>
      <dc:date>2006-06-14T04:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Writing a file using OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399798#M193283</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;It is transferring correctly.I think u are checking the file contents using transaction AL11.This will show only 256 bytes.download this file into ur system and then check. you will be able to see entire data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for download :&lt;/P&gt;&lt;P&gt;1)open the file in al11&lt;/P&gt;&lt;P&gt;2)goto system-&amp;gt;list-&amp;gt;save-&amp;gt;local file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;latheesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Latheesh Kaduthara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 04:26:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399798#M193283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T04:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Writing a file using OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399799#M193284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;GOOD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR OUTPUT IN TEXT MODE -&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a file is opened with this addition, the system assumes that the file has a line structure. Each time READ DATASET or TRANSFER occurs, exactly one line is input or output. If the data area is too big for the line read, the remaining area is padded with blanks. If it is too small, the remainder of the line is lost. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THIS IS THE IN TEXT MODE CONCEPT,GO THROUGH THIS LINK WHICH WILL GIVE YOU SOME IDEA ABOUT THE INCREASE LENGHT OF IN TEXT MODE.&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;MRUTYUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 05:40:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399799#M193284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T05:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Writing a file using OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399800#M193285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tripathy,&lt;/P&gt;&lt;P&gt;              U mentioned to go through a particular link , i am unable to find that link , can u help me out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 09:18:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399800#M193285</guid>
      <dc:creator>jwalithtatikonda2</dc:creator>
      <dc:date>2006-06-14T09:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Writing a file using OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399801#M193286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Though it shows only 256 chars , the files holds the Full length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to read it to itab and then download it to PC and see ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or Else you can use transaction CG3Y transaction to download directly from Application Server to PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 09:31:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-file-using-open-dataset/m-p/1399801#M193286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T09:31:39Z</dc:date>
    </item>
  </channel>
</rss>

