<?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: problem in validatiing direcotry on server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094787#M1182550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My functional team said that our program may be executed in background mode, so in taht case, what are the function modules &lt;/P&gt;&lt;P&gt;    which will check &lt;STRONG&gt;directory exist or not&lt;/STRONG&gt;,  &lt;STRONG&gt;create directory&lt;/STRONG&gt;,  &lt;STRONG&gt;create file&lt;/STRONG&gt;, and  &lt;STRONG&gt;save file to directory&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you know then please give me the details:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;PP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Feb 2009 02:12:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-05T02:12:44Z</dc:date>
    <item>
      <title>problem in validatiing direcotry on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094785#M1182548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a a requirement that whenever report is being executed save into directory (Either Presentation server or in Application server ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what my logic is first of all check specific directory is available or not, and if yes then create new file there and add output data into the File-&amp;gt;directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If directory is not available then create directory and do the same steps again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best solution to satisfy this functional requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;PP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 23:45:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094785#M1182548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T23:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: problem in validatiing direcotry on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094786#M1182549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Checking Directory-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method cl_gui_frontend_services=&amp;gt;directory_exist&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFL_CHECK_DIRECTORY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Creating directories -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GUI_CREATE_DIRECTORY - presentation server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WBMR_CREATE_APPL_FOLDER - Application Server&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 23:59:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094786#M1182549</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2009-02-04T23:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: problem in validatiing direcotry on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094787#M1182550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My functional team said that our program may be executed in background mode, so in taht case, what are the function modules &lt;/P&gt;&lt;P&gt;    which will check &lt;STRONG&gt;directory exist or not&lt;/STRONG&gt;,  &lt;STRONG&gt;create directory&lt;/STRONG&gt;,  &lt;STRONG&gt;create file&lt;/STRONG&gt;, and  &lt;STRONG&gt;save file to directory&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you know then please give me the details:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;PP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 02:12:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094787#M1182550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-05T02:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: problem in validatiing direcotry on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094788#M1182551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If its only in back ground then for checking Directory &amp;amp; creating /saving file you can use OPEN DATASET only.&lt;/P&gt;&lt;P&gt;For Creating directory, refer [this|&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2763170"&gt;&lt;/A&gt;].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 22:46:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094788#M1182551</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2009-02-05T22:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: problem in validatiing direcotry on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094789#M1182552</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;I tried that function module but it is not creating directory on the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Requirement is for each successful execution of report save it into folder.&lt;/P&gt;&lt;P&gt;And this is in background mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SoI have to check first directory exist or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure which function module will help me for checking directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second thing is if direcotry is not there then create directory .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now third step is create file on the folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fourth and last step is save data into that file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am just confused which function module will help on this requirement for all task in batch mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot Amit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 20:02:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094789#M1182552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-06T20:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: problem in validatiing direcotry on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094790#M1182553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To check file in background as I mentioned earler just call OPEN DATASET if sys-subrc &amp;lt;&amp;gt; 0 that means directory does not exist....&lt;/P&gt;&lt;P&gt;The second post mentions about creating directory by using Unix command and calling that command in your program in background....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 21:31:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094790#M1182553</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2009-02-06T21:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem in validatiing direcotry on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094791#M1182554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks I will check and let you know..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 23:07:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094791#M1182554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-06T23:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem in validatiing direcotry on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094792#M1182555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2009 00:29:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-validatiing-direcotry-on-server/m-p/5094792#M1182555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-19T00:29:59Z</dc:date>
    </item>
  </channel>
</rss>

