<?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 Problem of Path in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-path/m-p/7069754#M1504487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am  trying to execute a file having path as " C:\Document and Settings\Sapworkdir ". &lt;/P&gt;&lt;P&gt;The problem is SAP does not recognize the space. I tried using "C:\Docume~1\Sapworkdir" and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but what if the path is different and has space eg &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Docume~1\varun j\Sapworkdir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jul 2010 08:12:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-08T08:12:11Z</dc:date>
    <item>
      <title>Problem of Path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-path/m-p/7069754#M1504487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am  trying to execute a file having path as " C:\Document and Settings\Sapworkdir ". &lt;/P&gt;&lt;P&gt;The problem is SAP does not recognize the space. I tried using "C:\Docume~1\Sapworkdir" and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but what if the path is different and has space eg &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Docume~1\varun j\Sapworkdir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 08:12:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-path/m-p/7069754#M1504487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-08T08:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of Path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-path/m-p/7069755#M1504488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Can you please give more details about your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the code or FM used to get the file path? Where you are exactly getting the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please post the part of your code for verification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Senthil Kumar Anantham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 08:21:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-path/m-p/7069755#M1504488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-08T08:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of Path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-path/m-p/7069756#M1504489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I am  trying to execute a file having path as " C:\Document and Settings\Sapworkdir ". &lt;/P&gt;&lt;P&gt;&amp;gt; The problem is SAP does not recognize the space.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Varun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You observation is incorrect. I checked with any random method of the CL_GUI_FRONTEND_SERVICES &amp;amp; it shows the correct results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I think your filepath is not correct. Should be "C:\Documents  and Settings\Sapworkdir". You missed the "s" &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 08:22:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-path/m-p/7069756#M1504489</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-07-08T08:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of Path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-path/m-p/7069757#M1504490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using the method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_GUI_FRONTEND_SERVICES=&amp;gt;GET_SAPGUI_WORKDIR(&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      SAPWORKDIR            =  W_SAPWORKDIR&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      GET_SAPWORKDIR_FAILED = 1&lt;/P&gt;&lt;P&gt;      CNTL_ERROR            = 2&lt;/P&gt;&lt;P&gt;      ERROR_NO_GUI          = 3&lt;/P&gt;&lt;P&gt;      NOT_SUPPORTED_BY_GUI  = 4&lt;/P&gt;&lt;P&gt;      OTHERS                = 5&lt;/P&gt;&lt;P&gt;         ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now what this does is that it returns the file path of sapwork directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now using this file path i am creating a batch file for printing in MS-DOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i execute it using a function   CL_GUI_FRONTEND_SERVICES=&amp;gt;EXECUTE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here it checks the path and finds the space in my path, so it is not executing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 09:38:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-path/m-p/7069757#M1504490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-08T09:38:20Z</dc:date>
    </item>
  </channel>
</rss>

