<?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: RFC_REMOTE_FILE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-remote-file/m-p/11432002#M1927483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ulrich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was talking about the fact that the fm has not been available since release 4.7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If such an fm is beeing removed it would be greate if there would be at least an official workaround!&lt;/P&gt;&lt;P&gt;I´d be willing to code a&amp;nbsp; 'replacement' if I´d be able to use C/C++. If there would be any instruction as to how to actualize such a replacement (what tools do I need, what do I have to do, etc.) I´d be really grateful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET does not meet our requirements since we don´t want to transfer data to the SAP file system but to an external server (different domain).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Gerd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Dec 2015 07:27:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-12-15T07:27:19Z</dc:date>
    <item>
      <title>RFC_REMOTE_FILE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-remote-file/m-p/11432000#M1927481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi together,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since SAP removed fb RFC_REMOTE_FILE.....&lt;/P&gt;&lt;P&gt;Is there any other suitable fb in higher releases? (...or any other approaches)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 12:33:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-remote-file/m-p/11432000#M1927481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-06T12:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_REMOTE_FILE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-remote-file/m-p/11432001#M1927482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gerd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what do you mean with "in higher releases"? The function module RFC_REMOTE_FILE has never been defined on ABAP side. It only existed on C/C++ side in the program rfcexec.exe (contained in the classic RFC SDK). It has been removed from the RFC SDK because of security reasons: as rfcexec was present in every R/3 installation, it was kind of difficult to prevent unauthorized access to it. (Not every SAP user should be allowed to read and write files in the R/3 installation directory... And if a sys admin is not careful, he can easily open that door by a misconfiguration of the ACL files.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option for you would then be: just write your own "replacement" for rfcexec. You can then limit its functionality, install it only on the host, where files need to be read/written, implement additional security checks (e.g. you could implement it so that only files in one particular directory can be read/written), etc.&lt;/P&gt;&lt;P&gt;And nowadays you are not limited to C/C++: you can also write such a program in Java (using JCo) or in .NET (using NCo).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if you are an "ABAP-only" guy and only need to access files on the local application server, you could use the ABAP statement "OPEN DATASET" instead of making a call to RFC_REMOTE_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards, Ulrich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 16:49:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-remote-file/m-p/11432001#M1927482</guid>
      <dc:creator>Ulrich_Schmidt1</dc:creator>
      <dc:date>2015-12-14T16:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_REMOTE_FILE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-remote-file/m-p/11432002#M1927483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ulrich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was talking about the fact that the fm has not been available since release 4.7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If such an fm is beeing removed it would be greate if there would be at least an official workaround!&lt;/P&gt;&lt;P&gt;I´d be willing to code a&amp;nbsp; 'replacement' if I´d be able to use C/C++. If there would be any instruction as to how to actualize such a replacement (what tools do I need, what do I have to do, etc.) I´d be really grateful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET does not meet our requirements since we don´t want to transfer data to the SAP file system but to an external server (different domain).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Gerd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 07:27:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-remote-file/m-p/11432002#M1927483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-12-15T07:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_REMOTE_FILE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-remote-file/m-p/11432003#M1927484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gerd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is, that this FM has been removed for a good reason (security), so providing "official" instructions on how to recreate it, would be a bit contra-productive...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could post some sample code, which provides the basic skeletton of an RFC server program implementing RFC_REMOTE_FILE and which you would have to complete with the necessary security checks and other details, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, before we do this, here is another idea, which might be even simpler: if you want to transfer a file to an external server, can you perhaps use FTP? For this, two steps would be necessary:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Start and configure an FTP server on the target host, if none is yet running. (In most Linux/Unix installations a standard FTP server is already present. It may only need to be activated and configured with regard to which user is allowed read/write access to which directories. For Windows Server, an FTP server is part of the IIS installation. There are also many freeware versions available.)&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;On ABAP side use FMs FTP_CONNECT, FTP_R3_TO_SERVER, FTP_DISCONNECT, etc. A nice summary of this mechanism can be found here: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://wiki.scn.sap.com/wiki/display/ABAP/The+SAPFTP+Library+-+FTP+Programming+in+ABAP"&gt;http://wiki.scn.sap.com/wiki/display/ABAP/The+SAPFTP+Library+-+FTP+Programming+in+ABAP&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards, Ulrich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 09:55:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-remote-file/m-p/11432003#M1927484</guid>
      <dc:creator>Ulrich_Schmidt1</dc:creator>
      <dc:date>2015-12-15T09:55:39Z</dc:date>
    </item>
  </channel>
</rss>

