<?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: Function module BRAN_DIR_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bran-dir-create/m-p/9247109#M1720366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I actually have 2 systems available where one application server is on Unix and the other one on&amp;nbsp; windows NT. I tested on windows NT today and it works just like it did on Unix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both the places, it created the new folder in SAP_SAPUSERS directory. &lt;/P&gt;&lt;P&gt;Is the directory SAP_SAPUSERS is a default one which exists no matter on which OS the application server is ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jan 2013 15:27:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-01-14T15:27:37Z</dc:date>
    <item>
      <title>Function module BRAN_DIR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bran-dir-create/m-p/9247106#M1720363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Iam using function module BRAN_DIR_CREATE to create a custom folder.&lt;/P&gt;&lt;P&gt;This FM created a folder in directory SAP_SAPUSERS (Here application server is on Unix operating system).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question.... does this function module works the same way in all operating systems?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2013 20:57:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bran-dir-create/m-p/9247106#M1720363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-12T20:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Function module BRAN_DIR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bran-dir-create/m-p/9247107#M1720364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Follow this thread,u will get ur answer.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://answers.sap.com/thread/1515129" title="http://scn.sap.com/thread/1515129"&gt;http://scn.sap.com/thread/1515129&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Gourav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Jan 2013 04:11:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bran-dir-create/m-p/9247107#M1720364</guid>
      <dc:creator>gouravkumar64</dc:creator>
      <dc:date>2013-01-13T04:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Function module BRAN_DIR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bran-dir-create/m-p/9247108#M1720365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BRAN_DIR_CREATE won't work if application server is not UNIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can ascertain this by looking at the code below, copied from BRAN_DIR_CREATE function, where UNIX style command line option "-p" is used on "mkdir" command that is hard coded. This "mkdir" command syntax with "-p" option will not be valid on a Windows based application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;COMMAND1(9)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;= 'mkdir -p '.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; COMMAND1+9(55) = DIRNAME.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; CALL 'SYSTEM' ID 'COMMAND' FIELD COMMAND1&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ID 'TAB' &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FIELD TABL-*SYS*.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; CLEAR FILE_LIST.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; SRVNAME = SPACE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; CALL FUNCTION 'RZL_READ_DIR'&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;EXPORTING&amp;nbsp; &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;= DIRNAME&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SRVNAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;= SRVNAME&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TABLES&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FILE_TBL&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;= FILE_LIST&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;EXCEPTIONS NOT_FOUND&amp;nbsp; &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;= 1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ARGUMENT_ERROR = 2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SEND_ERROR &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;= 3.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Jan 2013 04:24:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bran-dir-create/m-p/9247108#M1720365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-13T04:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Function module BRAN_DIR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bran-dir-create/m-p/9247109#M1720366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I actually have 2 systems available where one application server is on Unix and the other one on&amp;nbsp; windows NT. I tested on windows NT today and it works just like it did on Unix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both the places, it created the new folder in SAP_SAPUSERS directory. &lt;/P&gt;&lt;P&gt;Is the directory SAP_SAPUSERS is a default one which exists no matter on which OS the application server is ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 15:27:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bran-dir-create/m-p/9247109#M1720366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-14T15:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Function module BRAN_DIR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bran-dir-create/m-p/9247110#M1720367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, since that function is based on "mkdir" command and since that command is available on both UNIX and Windows NT and accepts folder name as argument it will create the directory on both UNIX and Windows NT application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, on Windows NT it will also create a folder with name "-p" as Windows doesn't recognize the UNIX command line option "-p" which means to create a parent directory if it doesn't exist)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP_SAPUSERS may be the home directory of the SAP user on your system, so that is why your new directory is getting created there. You can always give an absolute path.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 16:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bran-dir-create/m-p/9247110#M1720367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-14T16:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Function module BRAN_DIR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bran-dir-create/m-p/9247111#M1720368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vishnu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program we are developing will be given to different customers of ours to install.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Each customer may have different OS for their application servers. What do you think would be the best option to use that would create a new folder the same way no matter which OS their application server is on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 20:25:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bran-dir-create/m-p/9247111#M1720368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-14T20:25:41Z</dc:date>
    </item>
  </channel>
</rss>

