<?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: Program which put files into AL11 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-which-put-files-into-al11/m-p/12454186#M1999799</link>
    <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;matthew.billingham&lt;/SPAN&gt; that would be &lt;A href="https://unix.stackexchange.com/a/24955/325315" target="_blank"&gt;"inotifywait"&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 15:19:10 GMT</pubDate>
    <dc:creator>abo</dc:creator>
    <dc:date>2021-04-13T15:19:10Z</dc:date>
    <item>
      <title>Program which put files into AL11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-which-put-files-into-al11/m-p/12454181#M1999794</link>
      <description>&lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;The situation is following:&lt;/P&gt;
  &lt;P&gt;File .csv comes from external system into SAP. It is put into AL11 directory path.&lt;/P&gt;
  &lt;P&gt;I want to create background job which is triggered "After event" to read this file.&lt;/P&gt;
  &lt;P&gt;So I need to create event in SM62. But I don't understand what is event in this case. Is that a program which put file into AL11? If yes than what is program name? And how can I define that it should be triggered only in case when file came into specific directory path?&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 13:44:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-which-put-files-into-al11/m-p/12454181#M1999794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2021-04-13T13:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Program which put files into AL11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-which-put-files-into-al11/m-p/12454182#M1999795</link>
      <description>&lt;P&gt;When  I've done this, I've created a batch job watcher that looks for files written to the folder. If it spots one, it immediately moves it to another folder from where it is processed.&lt;/P&gt;&lt;P&gt;The batch job runs, say, every ten minutes.&lt;/P&gt;&lt;P&gt;The way you might use events is that the batch job above triggers the event that causes the process to happen. But simply writing the file into the folder won't trigger and SM62 event.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 14:18:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-which-put-files-into-al11/m-p/12454182#M1999795</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2021-04-13T14:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Program which put files into AL11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-which-put-files-into-al11/m-p/12454183#M1999796</link>
      <description>&lt;P&gt;A job event is triggered by Linux script &lt;A href="https://help.sap.com/viewer/product/SAP_NETWEAVER_AS_ABAP_752/7.52.5/en-US?q=Triggering%20Events%20from%20External%20Programs"&gt;sapevt&lt;/A&gt; (or Windows sapevt.exe), or ABAP CL_BATCH_EVENT=&amp;gt;RAISE, etc.&lt;/P&gt;&lt;P&gt;If you use a Linux script, you will first put the file and then trigger sapevt.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 14:49:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-which-put-files-into-al11/m-p/12454183#M1999796</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-04-13T14:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Program which put files into AL11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-which-put-files-into-al11/m-p/12454184#M1999797</link>
      <description>&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;I can set up periodic job, for instance each 10 minutes. It also works.&lt;/P&gt;&lt;P&gt;But request is to run job only in case file came to SAP.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 14:56:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-which-put-files-into-al11/m-p/12454184#M1999797</guid>
      <dc:creator>former_member740666</dc:creator>
      <dc:date>2021-04-13T14:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Program which put files into AL11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-which-put-files-into-al11/m-p/12454185#M1999798</link>
      <description>&lt;P&gt;I understand that, but at some point there will be monitoring and resources being used. If you opt for Sandra's sapevt, you'll need to set something up to check if a file has arrived. Maybe there's an easy way of doing this in linux/windows, but in the past I've had to use a regularly running daemon.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 15:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-which-put-files-into-al11/m-p/12454185#M1999798</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2021-04-13T15:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Program which put files into AL11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-which-put-files-into-al11/m-p/12454186#M1999799</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;matthew.billingham&lt;/SPAN&gt; that would be &lt;A href="https://unix.stackexchange.com/a/24955/325315" target="_blank"&gt;"inotifywait"&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 15:19:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-which-put-files-into-al11/m-p/12454186#M1999799</guid>
      <dc:creator>abo</dc:creator>
      <dc:date>2021-04-13T15:19:10Z</dc:date>
    </item>
  </channel>
</rss>

