<?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 Check directory existence in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-directory-existence/m-p/3296344#M788851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all ABAP experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to check the existence of a directory on the server (ERP 4.6c) to write a file before the abap processing. &lt;/P&gt;&lt;P&gt;I need a function to replace the sencence:&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;call 'C_DIR_READ_START'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;          &lt;STRONG&gt;id 'DIR'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;          &lt;STRONG&gt;field p_pth_se.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;because it does not work well running on batch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field &lt;STRONG&gt;p_pth_se&lt;/STRONG&gt; is a parameter on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any alternative?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2008 09:45:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-21T09:45:34Z</dc:date>
    <item>
      <title>Check directory existence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-directory-existence/m-p/3296344#M788851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all ABAP experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to check the existence of a directory on the server (ERP 4.6c) to write a file before the abap processing. &lt;/P&gt;&lt;P&gt;I need a function to replace the sencence:&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;call 'C_DIR_READ_START'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;          &lt;STRONG&gt;id 'DIR'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;          &lt;STRONG&gt;field p_pth_se.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;because it does not work well running on batch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field &lt;STRONG&gt;p_pth_se&lt;/STRONG&gt; is a parameter on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any alternative?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 09:45:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-directory-existence/m-p/3296344#M788851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T09:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Check directory existence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-directory-existence/m-p/3296345#M788852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jordi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use the FM SUBST_GET_FILE_LIST by passing the application file path. If it returns entries into FILE_LIST table then it's a valid directory path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 09:52:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-directory-existence/m-p/3296345#M788852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T09:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Check directory existence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-directory-existence/m-p/3296346#M788853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tryed the FM SUBST_GET_FILE_LIST but it throws an ACCESS_ERROR exception &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tryed FM RZL_READ_DIR_LOCAL without luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 10:10:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-directory-existence/m-p/3296346#M788853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T10:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Check directory existence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-directory-existence/m-p/3296347#M788854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jordi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make sure you are passing the directory path in the right case, as if your application server is UNIX then it's case sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even the FM mentioned by you is working for me, but please take care of case sensitive letters. Thanks for sharing it ... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 10:18:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-directory-existence/m-p/3296347#M788854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T10:18:50Z</dc:date>
    </item>
  </channel>
</rss>

