<?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: Read Directory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-directory/m-p/5357888#M1233500</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;I think you are passing the Directory name ..You need to pass the Directory Path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DIR_ATRA	              --- What You are passing
E:\usr\sap\E6S\DVEBMGS00\data -- You need to pass this to FM&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Mar 2009 17:52:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-28T17:52:44Z</dc:date>
    <item>
      <title>Read Directory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-directory/m-p/5357887#M1233499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the FM 'EPS2_GET_DIRECTORY_LISTING' to read a directory from the Application Server.&lt;/P&gt;&lt;P&gt;If I do not pass any value to the parameter IV_DIR_NAME I get some files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However if I pass the directory I want to read I get an exception  READ_DIRECTORY_FAILED.&lt;/P&gt;&lt;P&gt;Inside the standard FM some system calls are made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why am I getting this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2009 07:06:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-directory/m-p/5357887#M1233499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-28T07:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Read Directory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-directory/m-p/5357888#M1233500</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;I think you are passing the Directory name ..You need to pass the Directory Path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DIR_ATRA	              --- What You are passing
E:\usr\sap\E6S\DVEBMGS00\data -- You need to pass this to FM&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2009 17:52:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-directory/m-p/5357888#M1233500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-28T17:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Read Directory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-directory/m-p/5357889#M1233501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;However, I am passing the entire directory path and not the name itself.&lt;/P&gt;&lt;P&gt;This path I pick from the transaction AL11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ours is a UNIX server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ravi Bhatnagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2009 06:05:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-directory/m-p/5357889#M1233501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-29T06:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Read Directory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-directory/m-p/5357890#M1233502</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;Check using CG3Y/CG3Z to download the data from the application server for the same path you provided to the FM. If your are getting same error then it is with authorization. If not check the file name is properly built.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2009 06:27:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-directory/m-p/5357890#M1233502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-29T06:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Read Directory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-directory/m-p/5357891#M1233503</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;Try using this function module 'SXPG_CALL_SYSTEM' to read a directory from app.server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2009 08:01:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-directory/m-p/5357891#M1233503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-29T08:01:46Z</dc:date>
    </item>
  </channel>
</rss>

