<?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 Uploading from File Server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-from-file-server/m-p/2484319#M560093</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 have a BDC program to be done however the file is in File server so wht shud i do inorder to access the file the file server for example the path is given :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;127.1.1.10\SharedFolder\20070704.txt &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i have authorization set on it and i have been given a user id and password to access the folder so wht shud i be doin to read the file from the given location&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2007 01:49:32 GMT</pubDate>
    <dc:creator>harri_kishan</dc:creator>
    <dc:date>2007-07-05T01:49:32Z</dc:date>
    <item>
      <title>Uploading from File Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-from-file-server/m-p/2484319#M560093</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 have a BDC program to be done however the file is in File server so wht shud i do inorder to access the file the file server for example the path is given :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;127.1.1.10\SharedFolder\20070704.txt &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i have authorization set on it and i have been given a user id and password to access the folder so wht shud i be doin to read the file from the given location&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 01:49:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-from-file-server/m-p/2484319#M560093</guid>
      <dc:creator>harri_kishan</dc:creator>
      <dc:date>2007-07-05T01:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading from File Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-from-file-server/m-p/2484320#M560094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a Logical Path for this Physical path in tcode FILE.&lt;/P&gt;&lt;P&gt;Pass this logical path to your Program.&lt;/P&gt;&lt;P&gt;Use OPEN DATASET to access the file at this path.&lt;/P&gt;&lt;P&gt;Most important thing this system should be in the same network as of your machine (SAP SERVER).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you are given an IP address, so you can also try for FTP download as an alternative. This will save you from network issue.&lt;/P&gt;&lt;P&gt;For sample codes for both just search the forum with &amp;lt;b&amp;gt;'FTP DOWNLOAD'&amp;lt;/b&amp;gt; &amp;amp; &amp;lt;b&amp;gt;'APPLICATION SERVER'&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 03:35:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-from-file-server/m-p/2484320#M560094</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-07-05T03:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading from File Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-from-file-server/m-p/2484321#M560095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ask the BASIS people to map this path in your application server.&lt;/P&gt;&lt;P&gt;Once mapped read file contents using &lt;/P&gt;&lt;P&gt;OPEN  DATASET     &amp;lt;dir&amp;gt;.&lt;/P&gt;&lt;P&gt;CLOSE DATASET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;dir&amp;gt; is the path to the application server pointing to the your desired file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;A.Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 03:35:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-from-file-server/m-p/2484321#M560095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T03:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading from File Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-from-file-server/m-p/2484322#M560096</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 the Tcode CG3Y to bring the file from Application to Local server and write the ordinary BDC code&lt;/P&gt;&lt;P&gt;other wise&lt;/P&gt;&lt;P&gt;Use OPEN DATASET concept..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ dataset&lt;/P&gt;&lt;P&gt;TRANSFER dataset&lt;/P&gt;&lt;P&gt;CLOSE dataset&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the sample code&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;ld_file = p_infile.&lt;/P&gt;&lt;P&gt;OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;    CLEAR: wa_string, wa_uploadtxt.&lt;/P&gt;&lt;P&gt;    READ DATASET ld_file INTO wa_string.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1&lt;/P&gt;&lt;P&gt;                                      wa_uploadtxt-name2&lt;/P&gt;&lt;P&gt;                                      wa_uploadtxt-age.&lt;/P&gt;&lt;P&gt;      MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.&lt;/P&gt;&lt;P&gt;      APPEND wa_upload TO it_record.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;  CLOSE DATASET ld_file.&lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 06:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-from-file-server/m-p/2484322#M560096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T06:01:00Z</dc:date>
    </item>
  </channel>
</rss>

