<?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: Automatic program execution when file is written to application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-program-execution-when-file-is-written-to-application-server/m-p/6055514#M1353098</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;Something has to trigger SAP to start the program. Possible solutions are a job who checks every hour (or other time frequence) if the file is there and starts the program. Or let the third party call a RFC to start the program after placing the file on the server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2009 14:09:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-24T14:09:24Z</dc:date>
    <item>
      <title>Automatic program execution when file is written to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-program-execution-when-file-is-written-to-application-server/m-p/6055513#M1353097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts, I have a requirement wherein when a file is written into application server by third party application, based on the name of the file an ABAP program should get executed that reads the file and uploads data into SAP. Can you please let me know of the different possibilities for achieving this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 14:03:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-program-execution-when-file-is-written-to-application-server/m-p/6055513#M1353097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T14:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic program execution when file is written to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-program-execution-when-file-is-written-to-application-server/m-p/6055514#M1353098</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;Something has to trigger SAP to start the program. Possible solutions are a job who checks every hour (or other time frequence) if the file is there and starts the program. Or let the third party call a RFC to start the program after placing the file on the server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 14:09:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-program-execution-when-file-is-written-to-application-server/m-p/6055514#M1353098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T14:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic program execution when file is written to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-program-execution-when-file-is-written-to-application-server/m-p/6055515#M1353099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Run periodically a job (i.e once an hour) which will scan Application Server directories (actually there can be only directory which the file will be written to) and looks for any new file (creation date and name will matter here). If new file found, then run your program that reads that file and imports it to SAP (check &lt;STRONG&gt;SUBMIT&lt;/STRONG&gt; statement for running program). If no file found, the run program will finish without any action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 14:09:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-program-execution-when-file-is-written-to-application-server/m-p/6055515#M1353099</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-08-24T14:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic program execution when file is written to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-program-execution-when-file-is-written-to-application-server/m-p/6055516#M1353100</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;Schedule a Batch job Program in sm36 which runs for regular periods of time that checks whether file is available in app.server or not.&lt;/P&gt;&lt;P&gt;If it is available the program will be executed otherwise exit.&lt;/P&gt;&lt;P&gt;Alternatively create one more program(as per ur requirement) which does the process once the file is available&lt;/P&gt;&lt;P&gt;Use SUBMIT Statement in Batch program.Put a condition check before submit for chking file availability&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshman.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Lakshman N on Aug 24, 2009 4:10 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 14:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-program-execution-when-file-is-written-to-application-server/m-p/6055516#M1353100</guid>
      <dc:creator>former_member209217</dc:creator>
      <dc:date>2009-08-24T14:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic program execution when file is written to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-program-execution-when-file-is-written-to-application-server/m-p/6055517#M1353101</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;A possible solution can be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Soln#1. Schedule a Z-Report (which runs every 15mins, scheduling can be done based on the frequency in which the 3rd Party writes the file) to read the files from the application server folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the corres. file names are found process the files &amp;amp; upload the data to SAP Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Soln#2. When the file is written to the application server, then an SAP event is raised (event needs to be defined in SM62) which in turn will call the processing program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to this [blog|http://www.sapfans.com/sapfans/sapfaq/robert.htm] for further details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 14:11:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-program-execution-when-file-is-written-to-application-server/m-p/6055517#M1353101</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-08-24T14:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic program execution when file is written to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-program-execution-when-file-is-written-to-application-server/m-p/6055518#M1353102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check my reply in the following thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 14:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-program-execution-when-file-is-written-to-application-server/m-p/6055518#M1353102</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-08-24T14:16:27Z</dc:date>
    </item>
  </channel>
</rss>

