<?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: getting the data from file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785418#M1120908</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all your replies. Let me explain, there are 2 programs in one program they used open data set and in the other program they used GUI_UPLOAD. And we are accessing the file from the same location, that is from network drive. The one which used Open Datset works fine, but the one which uses&lt;/P&gt;&lt;P&gt;GUI_UPLOAD is not workingg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Dec 2008 10:22:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-03T10:22:19Z</dc:date>
    <item>
      <title>getting the data from file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785408#M1120898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   I am getting the data from a file which stores on a network drive. For this can I use GUI_DOWNLOAD or else only I need to use OPEN DATASET FILE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:07:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785408#M1120898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T10:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: getting the data from file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785409#M1120899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;use GUI_UPLOAD for files on your system&lt;/P&gt;&lt;P&gt;use OPEN DATASET for files present in your application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Winnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:09:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785409#M1120899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T10:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: getting the data from file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785410#M1120900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi,&lt;/P&gt;&lt;P&gt;&amp;gt;    I am getting the data from a file which stores on a network drive. For this can I use GUI_DOWNLOAD or else only I need to use OPEN DATASET FILE. &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Thanks,&lt;/P&gt;&lt;P&gt;&amp;gt; Ravi&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For getting data from AL11 (application server ) we use open dataset file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for getting data from presentation server (Ur network is also the same ) we use the GUI_UPLOAD FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SAS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785410#M1120900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T10:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: getting the data from file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785411#M1120901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on from where you are reading the data if you want to download the data from the application server then first read the data from the application server into a internal table of the ABAP program then you have to use the FM GUI_DOWNLOAD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:10:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785411#M1120901</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-12-03T10:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: getting the data from file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785412#M1120902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;use GUI_DOWNLOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ranga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:10:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785412#M1120902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T10:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: getting the data from file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785413#M1120903</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;&amp;gt; You cannot use OPEN DATASET if you want to upload from Presentation Server(Network Drive)&lt;/P&gt;&lt;P&gt;&amp;gt; Use GUI_UPLOAD for your requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785413#M1120903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T10:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: getting the data from file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785414#M1120904</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 GUI_DOWNLOAD as long as you are not running the program &lt;/P&gt;&lt;P&gt;in background mode. However the path has to be modified suitably.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also make sure you have proper authorisation for the network drive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:11:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785414#M1120904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T10:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: getting the data from file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785415#M1120905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need to use this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="CODE"&gt;
DATA:
        server type string VALUE '&lt;UL&gt;&lt;LI level="1" type="ul"&gt;Read the data.&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;Server Path'.
 
  CLEAR itab.  REFRESH itab.
 

  OPEN DATASET dsn FOR INPUT IN BINARY MODE.
  DO.
    READ DATASET dsn INTO str.
    IF sy-subrc = 0.
      APPEND itab.
    ELSE.
      EXIT.
    ENDIF.
  ENDDO.
  CLOSE DATASET dsn.
&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you mean application server by network drive.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sai Krishna Kowluri on Dec 3, 2008 11:13 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:12:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785415#M1120905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T10:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: getting the data from file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785416#M1120906</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;   We use GUI_DOWNLOAD to get from AS&lt;/P&gt;&lt;P&gt;   use OPEN DATASET to get from PS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
open dataset file_name for input in text mode encoding default.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Krishna...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:13:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785416#M1120906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T10:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: getting the data from file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785417#M1120907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No need to use OPEN DATASET.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are u placing the file in SERVER? if so, u have to use open dataset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:14:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785417#M1120907</guid>
      <dc:creator>former_member206396</dc:creator>
      <dc:date>2008-12-03T10:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: getting the data from file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785418#M1120908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all your replies. Let me explain, there are 2 programs in one program they used open data set and in the other program they used GUI_UPLOAD. And we are accessing the file from the same location, that is from network drive. The one which used Open Datset works fine, but the one which uses&lt;/P&gt;&lt;P&gt;GUI_UPLOAD is not workingg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:22:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785418#M1120908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T10:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: getting the data from file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785419#M1120909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GUI_UPLOAD Fm is used to uplaod the file from the Presentation server and could let us know is there any dependencies between these two programs,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ean once the GUI_UPLAOD fm execution compltes then the internal table with the data is transferede to the application server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-data-from-file/m-p/4785419#M1120909</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-12-03T10:26:02Z</dc:date>
    </item>
  </channel>
</rss>

