<?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: OPEN DATASET in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920372#M58789</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You haven't included your endloop statement. It has to be before the close statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jun 2005 13:37:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-06-23T13:37:56Z</dc:date>
    <item>
      <title>OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920369#M58786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a problem in OPEN DATASET. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to download a .TXT file on the application server. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desired format is to download each record in new line. for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0110432191852710     20021213&lt;/P&gt;&lt;P&gt;0110432191854710     20021213&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET p_daf FOR OUTPUT in text mode.&lt;/P&gt;&lt;P&gt;LOOP AT g_t_itab.                                &lt;/P&gt;&lt;P&gt;TRANSFER g_t_itab TO p_daf.                    &lt;/P&gt;&lt;P&gt;CLEAR:g_t_itab.                                           ENDLOOP.                                         &lt;/P&gt;&lt;P&gt;CLOSE DATASET p_daf.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I get a single stream of data in my text file. The records are separated by a special character ( a Black box ) - I open the .TXT file in &amp;lt;b&amp;gt;NOTEPAD&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this behaviour normal? Else how do I download the records in different lines as a text file on Application server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Murugesh AS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Murugesh Arcot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Murugesh Arcot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2005 11:55:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920369#M58786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-23T11:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920370#M58787</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;  You can use the syntax&lt;/P&gt;&lt;P&gt;OPEN DATASET &amp;lt;dsn&amp;gt; [FOR ....] [IN ... MODE] AT POSITION &amp;lt;pos&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement opens the file &amp;lt;dsn&amp;gt;, and prepares it for reading or writing from position &amp;lt;pos&amp;gt;. &amp;lt;pos&amp;gt; is the number of bytes from the beginning of the file. It is not possible to specify a position before the beginning of the file. &lt;/P&gt;&lt;P&gt; Hope this may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards&lt;/P&gt;&lt;P&gt;Ruthra.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2005 12:02:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920370#M58787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-23T12:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920371#M58788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Muruesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please chek 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="223694"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2005 12:30:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920371#M58788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-23T12:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920372#M58789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You haven't included your endloop statement. It has to be before the close statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2005 13:37:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920372#M58789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-23T13:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920373#M58790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murugesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your coding is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perhaps try to omit ending .txt in your file name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is when you reload your saved file with sap ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; try another text editor e.g. ultra edit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2005 13:50:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920373#M58790</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-06-23T13:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920374#M58791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you using to look at the file? Sounds like you have something that doesn't understand unix-style newlines. There is absolutely no reason why that code of yours shouldn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2005 13:55:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920374#M58791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-23T13:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920375#M58792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andreas, Nathan and others,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Andreas suggested, I uploaded the same in SAP and it works fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well I have not explained the requirement. We have different SAP systems and the data is downloaded in .txt from each system and a java utility uploads this data into the BW system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This system/interface is in place now and SAP system on which I am working will be giving data to BW system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Murugesh AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2005 14:14:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920375#M58792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-23T14:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920376#M58793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you transfer data from unix to windows computer you have to modify the return code. You do this with ftp when you select ascii transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe look your java utility for text transfer instead of binary transfer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frédéric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2005 14:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920376#M58793</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2005-06-23T14:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920377#M58794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murugesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHy dont you try using split command when moving the file.&lt;/P&gt;&lt;P&gt;Let me know if you have any questions still. Put split and go for F1, you will know the syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bhavana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2005 15:40:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920377#M58794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-23T15:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920378#M58795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andreas and Nathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Interface works fine with the downloaded file from Unix bases SAP system too without any changes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards, Murugesh AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2005 12:12:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/920378#M58795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-28T12:12:09Z</dc:date>
    </item>
  </channel>
</rss>

