<?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: xml file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file/m-p/3936624#M942069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for ur reply....&lt;/P&gt;&lt;P&gt;hw do we scan on the file names because diff customers will send files with diff names in diff times..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if v execute program in background for every 1 hr for example,&lt;/P&gt;&lt;P&gt;what abt the performance.. ? &lt;/P&gt;&lt;P&gt;is this the right way  ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u explain me in detail..&lt;/P&gt;&lt;P&gt;it will be helpful if u provide any relevant code also if possible..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 May 2008 07:25:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-28T07:25:11Z</dc:date>
    <item>
      <title>xml file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file/m-p/3936621#M942066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is to download the xml from the application server (specific directory) and create sales order and after creation i have to upload the sales order data with some other information in the same place in xml format. this process should done automatically..&lt;/P&gt;&lt;P&gt;now how the system knows when the xml file is kept in the application server directory.&lt;/P&gt;&lt;P&gt;is there any method, function module or some thing to identify the file imd after it has been kept in that directory ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one give me some idea on this process...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 12:27:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file/m-p/3936621#M942066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T12:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: xml file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file/m-p/3936622#M942067</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;1. I don't think there is any direct way (eg. event etc)&lt;/P&gt;&lt;P&gt;   provided by sap, so that we can know if some file&lt;/P&gt;&lt;P&gt;   has been put on the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. That file will be put on server (by some other server)&lt;/P&gt;&lt;P&gt;    using ftp, at the OS level, so SAP will not come &lt;/P&gt;&lt;P&gt;   to know that a file has been put.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. So, in such case, our program has to run in background,&lt;/P&gt;&lt;P&gt;   scanning if there is some new file (based upon some naming convention and time etc). If file is found, then it can process the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 13:06:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file/m-p/3936622#M942067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T13:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: xml file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file/m-p/3936623#M942068</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;if I understand your need, the file lives in trans. AL11. If this is correct, you must work with OPEN DATASET like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET '/usr/sap/TDO/EXT/trans/data/in/FILE.XML' IN TEXT MODE.&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;  SKIP 4.&lt;/P&gt;&lt;P&gt;  WRITE:/10 'Error in file !  Not possible to open file !'&lt;/P&gt;&lt;P&gt;             COLOR COL_NEGATIVE.&lt;/P&gt;&lt;P&gt;  EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can know in that way, whether the file exists.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 13:23:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file/m-p/3936623#M942068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T13:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: xml file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file/m-p/3936624#M942069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for ur reply....&lt;/P&gt;&lt;P&gt;hw do we scan on the file names because diff customers will send files with diff names in diff times..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if v execute program in background for every 1 hr for example,&lt;/P&gt;&lt;P&gt;what abt the performance.. ? &lt;/P&gt;&lt;P&gt;is this the right way  ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u explain me in detail..&lt;/P&gt;&lt;P&gt;it will be helpful if u provide any relevant code also if possible..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 07:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file/m-p/3936624#M942069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T07:25:11Z</dc:date>
    </item>
  </channel>
</rss>

