<?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: File creation on server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-creation-on-server/m-p/2486926#M560947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are running on a UNIX / LINUX based server, spaces are simply not permitted in file / dir names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Spaces are a Windows / Mac "thing."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to replace the blanks with underscores or something simliar if your OS does not permit spaces... and that appears to be the case here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2007 12:52:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-19T12:52:44Z</dc:date>
    <item>
      <title>File creation on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-creation-on-server/m-p/2486922#M560943</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;Using the "OPEN DATASET", I am trying to create a file in a directory having spaces embedded in the name, e.g. &lt;BR /&gt;INTRANET.BARCAPINT.COM\DFS-EMEA\GROUP\GLB\FMCSGLB\WEALTH MANAGEMENT\WM REGION\SHARED\MANAGEMENT\SAP HR TEST\FSTEST.TXT where there is space between "Wealth" and "Management". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is that only part of the directory up to "WEALTH" gets picked up(&lt;BR /&gt;INTRANET.BARCAPINT.COM\DFS-EMEA\GROUP\GLB\FMCSGLB\WEALTH) and the rest gets discarded. I want to use the full directory name, which in this case has spaces in between, to create files in. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this? Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shabbar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 12:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-creation-on-server/m-p/2486922#M560943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T12:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: File creation on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-creation-on-server/m-p/2486923#M560944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do check again, if the directory avaliable in the server is with same name (WEALTH MANAGEMENT) as you have mentioned in the post..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 12:48:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-creation-on-server/m-p/2486923#M560944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T12:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: File creation on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-creation-on-server/m-p/2486924#M560945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi syntax is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;*--- Display error messages if any.&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    MESSAGE e001(zsd_mes).&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*---Data is downloaded to the application server file path&lt;/P&gt;&lt;P&gt;    LOOP AT it_tab2 INTO wa_tab2.&lt;/P&gt;&lt;P&gt;      TRANSFER wa_tab2 TO p_file.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Close the Application server file (Mandatory).&lt;/P&gt;&lt;P&gt;  CLOSE DATASET p_file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 12:50:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-creation-on-server/m-p/2486924#M560945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T12:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: File creation on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-creation-on-server/m-p/2486925#M560946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your variable (directory_name) used in statement &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;OPEN DATASET directory_name&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; is long enough to hold the path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try creating logical path from FILE transaction if path is too long to specify in &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;OPEN DATASET&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 12:52:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-creation-on-server/m-p/2486925#M560946</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2007-07-19T12:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: File creation on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-creation-on-server/m-p/2486926#M560947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are running on a UNIX / LINUX based server, spaces are simply not permitted in file / dir names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Spaces are a Windows / Mac "thing."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to replace the blanks with underscores or something simliar if your OS does not permit spaces... and that appears to be the case here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 12:52:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-creation-on-server/m-p/2486926#M560947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T12:52:44Z</dc:date>
    </item>
  </channel>
</rss>

