<?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 with cl_gui_frontend_services execute method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-gui-frontend-services-execute-method/m-p/6666633#M1447126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What operating system is your client?  I tested the method on Windows XP and it seems to work fine with a space in the name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also try putting double quotes around the path + filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Mar 2010 06:20:08 GMT</pubDate>
    <dc:creator>alex_cook</dc:creator>
    <dc:date>2010-03-09T06:20:08Z</dc:date>
    <item>
      <title>problem with cl_gui_frontend_services execute method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-gui-frontend-services-execute-method/m-p/6666632#M1447125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Halo experts ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a peculiar problem with  cl_gui_frontend_services execute  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am trying to open documents using the method execute of  cl_gui_frontend_services&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. But the problem is it is not opening file with space in its name .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ie it is able to open 'for_example.pdf' but not 'for example.pdf'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one has idea why it is happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arshad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 06:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-gui-frontend-services-execute-method/m-p/6666632#M1447125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T06:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: problem with cl_gui_frontend_services execute method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-gui-frontend-services-execute-method/m-p/6666633#M1447126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What operating system is your client?  I tested the method on Windows XP and it seems to work fine with a space in the name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also try putting double quotes around the path + filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 06:20:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-gui-frontend-services-execute-method/m-p/6666633#M1447126</guid>
      <dc:creator>alex_cook</dc:creator>
      <dc:date>2010-03-09T06:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: problem with cl_gui_frontend_services execute method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-gui-frontend-services-execute-method/m-p/6666634#M1447127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Halo Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am in Windows Xp operating system only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See below my code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_application = 'ACRORD32.EXE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;execute&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    application            = l_application&lt;/P&gt;&lt;P&gt;    parameter              = 'L11527110.pdf'&lt;/P&gt;&lt;P&gt;    default_directory      = 'M:\Documents and Settings\Arshad\My Documents\'&lt;/P&gt;&lt;P&gt;    maximized              = 'X'&lt;/P&gt;&lt;P&gt;    operation              = 'OPEN'&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    cntl_error             = 1&lt;/P&gt;&lt;P&gt;    error_no_gui           = 2&lt;/P&gt;&lt;P&gt;    bad_parameter          = 3&lt;/P&gt;&lt;P&gt;    file_not_found         = 4&lt;/P&gt;&lt;P&gt;    path_not_found         = 5&lt;/P&gt;&lt;P&gt;    file_extension_unknown = 6&lt;/P&gt;&lt;P&gt;    error_execute_failed   = 7&lt;/P&gt;&lt;P&gt;    synchronous_failed     = 8&lt;/P&gt;&lt;P&gt;    not_supported_by_gui   = 9&lt;/P&gt;&lt;P&gt;    OTHERS                 = 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working for the above but if the parameter name is L 11527110.pdf it is just opening the Acrobat and a pop up message says cannot find the Document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried giving the Document path with the application the method is returning exception bad parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 10:20:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-gui-frontend-services-execute-method/m-p/6666634#M1447127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T10:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: problem with cl_gui_frontend_services execute method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-gui-frontend-services-execute-method/m-p/6666635#M1447128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is a GUI problem. Which version &amp;amp; patch of SAP GUI are you currently using. This can be found out from your SAP LOGON pad by clicking the top left corner button -&amp;gt; About SAP Logon. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 10:27:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-gui-frontend-services-execute-method/m-p/6666635#M1447128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T10:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: problem with cl_gui_frontend_services execute method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-gui-frontend-services-execute-method/m-p/6666636#M1447129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Arshad...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not seems to be a problem of GUI...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bad parameter  exceptions is coming ...  mean you are passing an incorrect parameter ...mean incorrect file name ...or the filename you are passing does not exits in you my documents folder ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have executed the same code  ... and it is perfectly working fine ... you have to pass the file name exactly ... that means  if &lt;/P&gt;&lt;P&gt; you are passing L11527110.pdf then the file name should be L11527110.pdf...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are passing the parameter as L 11527110.pdf (* with space )   then the file name has to be exactly same ...  other wise ...&lt;/P&gt;&lt;P&gt;the application ACRORD32.EXE  opens  but gives as error ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check the file name in my docs and passing parameter value .... &lt;/P&gt;&lt;P&gt;I am giving my code which i did .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


CALL METHOD cl_gui_frontend_services=&amp;gt;execute
EXPORTING
application ='ACRORD32.EXE'
parameter = 'B CDWBDIC.pdf'
default_directory = 'C:\Documents and Settings\Ritamadmin\My Documents\'
maximized = 'X'
operation = 'OPEN'
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;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 06:15:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-gui-frontend-services-execute-method/m-p/6666636#M1447129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-10T06:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: problem with cl_gui_frontend_services execute method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-gui-frontend-services-execute-method/m-p/6666637#M1447130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arshad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you may try to copy the file name, not to type it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the file is not found with the name you give then probably the name is different. Computers are able to distinguisj between one and two spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 12:48:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-cl-gui-frontend-services-execute-method/m-p/6666637#M1447130</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2010-03-10T12:48:18Z</dc:date>
    </item>
  </channel>
</rss>

