<?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 cl_gui_frontend_services=&amp;gt;execute when folder has space in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-cl-gui-frontend-services-gt-execute-when-folder-has-space/m-p/12271036#M1987825</link>
    <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
  &lt;P&gt;I use "execute method" in "cl_gui_frontend_services class" for encrypting my text file. it is working when folder does not have space &lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;lv_param = 'C:\Users\myname\Desktop\PA\File.txt'.
lv_default = 'C:\Users\myname\Desktop\PA\'.

CALL METHOD cl_gui_frontend_services=&amp;gt;execute 
     EXPORTING 
        application = 'C:\EncryptFile.jar' 
        parameter = lv_param 
        default_directory = lv_default 
        maximized = 'X' 
      EXCEPTIONS 
        cntl_error = 1 
        error_no_gui = 2 
        bad_parameter = 3 
        file_not_found = 4 
        path_not_found = 5 
        file_extension_unknown = 6 
        error_execute_failed = 7 
        synchronous_failed = 8 
        not_supported_by_gui = 9 
        OTHERS = 10.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;This code is working.&lt;/P&gt;
  &lt;P&gt;If My folder has space as code below ('C:\Users\myname\Desktop\P A\File.txt'). It is not working&lt;/P&gt;
  &lt;P&gt;There is space between "P" and "A"&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;lv_param = 'C:\Users\myname\Desktop\P A\File.txt'.
lv_default = 'C:\Users\myname\Desktop\P A\'.

CALL METHOD cl_gui_frontend_services=&amp;gt;execute 
     EXPORTING 
        application = 'C:\EncryptFile.jar' 
        parameter = lv_param 
        default_directory = lv_default 
        maximized = 'X' 
      EXCEPTIONS 
        cntl_error = 1 
        error_no_gui = 2 
        bad_parameter = 3 
        file_not_found = 4 
        path_not_found = 5 
        file_extension_unknown = 6 
        error_execute_failed = 7 
        synchronous_failed = 8 
        not_supported_by_gui = 9 
        OTHERS = 10.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;What can I do for solving this problem when my folder has space?&lt;/P&gt;</description>
    <pubDate>Sun, 01 Nov 2020 13:00:32 GMT</pubDate>
    <dc:creator>sawanee_aimsaard</dc:creator>
    <dc:date>2020-11-01T13:00:32Z</dc:date>
    <item>
      <title>problem cl_gui_frontend_services=&gt;execute when folder has space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-cl-gui-frontend-services-gt-execute-when-folder-has-space/m-p/12271036#M1987825</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
  &lt;P&gt;I use "execute method" in "cl_gui_frontend_services class" for encrypting my text file. it is working when folder does not have space &lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;lv_param = 'C:\Users\myname\Desktop\PA\File.txt'.
lv_default = 'C:\Users\myname\Desktop\PA\'.

CALL METHOD cl_gui_frontend_services=&amp;gt;execute 
     EXPORTING 
        application = 'C:\EncryptFile.jar' 
        parameter = lv_param 
        default_directory = lv_default 
        maximized = 'X' 
      EXCEPTIONS 
        cntl_error = 1 
        error_no_gui = 2 
        bad_parameter = 3 
        file_not_found = 4 
        path_not_found = 5 
        file_extension_unknown = 6 
        error_execute_failed = 7 
        synchronous_failed = 8 
        not_supported_by_gui = 9 
        OTHERS = 10.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;This code is working.&lt;/P&gt;
  &lt;P&gt;If My folder has space as code below ('C:\Users\myname\Desktop\P A\File.txt'). It is not working&lt;/P&gt;
  &lt;P&gt;There is space between "P" and "A"&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;lv_param = 'C:\Users\myname\Desktop\P A\File.txt'.
lv_default = 'C:\Users\myname\Desktop\P A\'.

CALL METHOD cl_gui_frontend_services=&amp;gt;execute 
     EXPORTING 
        application = 'C:\EncryptFile.jar' 
        parameter = lv_param 
        default_directory = lv_default 
        maximized = 'X' 
      EXCEPTIONS 
        cntl_error = 1 
        error_no_gui = 2 
        bad_parameter = 3 
        file_not_found = 4 
        path_not_found = 5 
        file_extension_unknown = 6 
        error_execute_failed = 7 
        synchronous_failed = 8 
        not_supported_by_gui = 9 
        OTHERS = 10.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;What can I do for solving this problem when my folder has space?&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 13:00:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-cl-gui-frontend-services-gt-execute-when-folder-has-space/m-p/12271036#M1987825</guid>
      <dc:creator>sawanee_aimsaard</dc:creator>
      <dc:date>2020-11-01T13:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: problem cl_gui_frontend_services=&gt;execute when folder has space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-cl-gui-frontend-services-gt-execute-when-folder-has-space/m-p/12271037#M1987826</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;use quotation marks ("...").&lt;/P&gt;&lt;P&gt;It should work this way: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;lv_param ='"C:\Users\myname\Desktop\P A\File.txt"'.
lv_default ='"C:\Users\myname\Desktop\P A\"'.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 01 Nov 2020 13:26:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-cl-gui-frontend-services-gt-execute-when-folder-has-space/m-p/12271037#M1987826</guid>
      <dc:creator>jmodaal</dc:creator>
      <dc:date>2020-11-01T13:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem cl_gui_frontend_services=&gt;execute when folder has space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-cl-gui-frontend-services-gt-execute-when-folder-has-space/m-p/12271038#M1987827</link>
      <description>&lt;P&gt;Thank you so much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 13:33:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-cl-gui-frontend-services-gt-execute-when-folder-has-space/m-p/12271038#M1987827</guid>
      <dc:creator>sawanee_aimsaard</dc:creator>
      <dc:date>2020-11-01T13:33:50Z</dc:date>
    </item>
  </channel>
</rss>

