<?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 Create/Read File in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-read-file/m-p/1641540#M285703</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 creating/reading files using GUI_DOWNLOAD/GUI_UPLOAD.&lt;/P&gt;&lt;P&gt;These functions use the frontend point of view to create/read the file.&lt;/P&gt;&lt;P&gt;I need a function that uses the servers point of view. Is there any?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides that i also need a function that runs executable files at the server. I tried cl_gui_frontend_services=&amp;gt;execute but i believe this uses the frontend point of view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;Nuno Silva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2006 18:37:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-15T18:37:38Z</dc:date>
    <item>
      <title>Create/Read File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-read-file/m-p/1641540#M285703</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 creating/reading files using GUI_DOWNLOAD/GUI_UPLOAD.&lt;/P&gt;&lt;P&gt;These functions use the frontend point of view to create/read the file.&lt;/P&gt;&lt;P&gt;I need a function that uses the servers point of view. Is there any?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides that i also need a function that runs executable files at the server. I tried cl_gui_frontend_services=&amp;gt;execute but i believe this uses the frontend point of view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;Nuno Silva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2006 18:37:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-read-file/m-p/1641540#M285703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-15T18:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create/Read File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-read-file/m-p/1641541#M285704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OPEN DATASET, CLOSE DATASET, READ DATSET and TRANSFER can be used in ABAP to access files at the server level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Likewise, you can use transaction SM69 to create external commands then execute using FM SXPG_COMMAND_EXECUTE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2006 18:39:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-read-file/m-p/1641541#M285704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-15T18:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create/Read File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-read-file/m-p/1641542#M285705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want to transfer the files to the application server other then your own then you would have to use the function SXPG_COMMAND_EXECUTE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module is used if you want to trasnsfer files from one application server to another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to just transfer the files to application server (your own application server) then you would have to use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open dataset (DSN-filename)&lt;/P&gt;&lt;P&gt;then you will have to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transfer into filename&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will transfer whatever you want into the application server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOSE DATASET. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the two ways to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2006 19:23:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-read-file/m-p/1641542#M285705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-15T19:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create/Read File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-read-file/m-p/1641543#M285706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answers.&lt;/P&gt;&lt;P&gt;About SXPG_COMMAND_EXECUTE do you know where can i get an example for a command creation and execution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Nuno Silva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 10:47:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-read-file/m-p/1641543#M285706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T10:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create/Read File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-read-file/m-p/1641544#M285707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Silva,&lt;/P&gt;&lt;P&gt;Check this &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_40b/helpdata/en/fa/0971fb543b11d1898e0000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_40b/helpdata/en/fa/0971fb543b11d1898e0000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 10:49:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-read-file/m-p/1641544#M285707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T10:49:15Z</dc:date>
    </item>
  </channel>
</rss>

