<?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: CALL METHOD cl_gui_frontend_services=&amp;gt;execute??? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-cl-gui-frontend-services-gt-execute/m-p/8453193#M1649714</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;In order to use a file located on the application server with the gui execute method, I'm afraid you will have to either map your server drive to a local drive first or copy the file locally before using it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Dec 2011 10:53:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-21T10:53:59Z</dc:date>
    <item>
      <title>CALL METHOD cl_gui_frontend_services=&gt;execute???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-cl-gui-frontend-services-gt-execute/m-p/8453190#M1649711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all..while reading some of the posted message, I have found the below code which is really working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, my question is, how can I or can I redirect or change  the source directory 'c:\mypic.gif'(which is my local dir) into sap server directory? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sap server directory bitmap files, the one I uploaded from SE78 and I want to print it by the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lv_parameter  TYPE string.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CONCATENATE '"' 'c:\mypic.gif' '"' INTO lv_parameter.&lt;/P&gt;&lt;P&gt;CONCATENATE '/p' lv_parameter INTO lv_parameter SEPARATED BY space.&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            = 'c:\windows\system32\mspaint.exe'&lt;/P&gt;&lt;P&gt;    parameter              = lv_parameter&lt;/P&gt;&lt;P&gt;    synchronous            = 'X'&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 06:45:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-cl-gui-frontend-services-gt-execute/m-p/8453190#M1649711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-21T06:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: CALL METHOD cl_gui_frontend_services=&gt;execute???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-cl-gui-frontend-services-gt-execute/m-p/8453191#M1649712</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;&lt;/P&gt;&lt;P&gt;data: fnam type string,&lt;/P&gt;&lt;P&gt;       ftabnam type FILETABLE,&lt;/P&gt;&lt;P&gt;       RC TYPE I VALUE 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;FILE_OPEN_DIALOG  "here we are using this method to select file at runtime.&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     WINDOW_TITLE            = 'TO SELECT FILE IN RUNTIME'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DEFAULT_EXTENSION       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DEFAULT_FILENAME        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    FILE_FILTER             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    WITH_ENCODING           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    INITIAL_DIRECTORY       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    MULTISELECTION          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   CHANGING&lt;/P&gt;&lt;P&gt;     FILE_TABLE              = ftabnam&lt;/P&gt;&lt;P&gt;     RC                      = RC&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    USER_ACTION             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    FILE_ENCODING           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     FILE_OPEN_DIALOG_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; IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     READ TABLE FTABNAM INTO FNAM INDEX RC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 07:25:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-cl-gui-frontend-services-gt-execute/m-p/8453191#M1649712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-21T07:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: CALL METHOD cl_gui_frontend_services=&gt;execute???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-cl-gui-frontend-services-gt-execute/m-p/8453192#M1649713</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;Please try this code .Hope it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_parameter = 'your directory path of bitmap image' .&lt;/P&gt;&lt;P&gt;CONCATENATE '/p'  lv_parameter INTO lv_parameter SEPARATED BY space.&lt;/P&gt;&lt;P&gt;&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 = 'c:\windows\system32\mspaint.exe'&lt;/P&gt;&lt;P&gt;*parameter = lv_file_name&lt;/P&gt;&lt;P&gt;DEFAULT_DIRECTORY = lv_parameter&lt;/P&gt;&lt;P&gt;synchronous = 'X'&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 09:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-cl-gui-frontend-services-gt-execute/m-p/8453192#M1649713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-21T09:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: CALL METHOD cl_gui_frontend_services=&gt;execute???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-cl-gui-frontend-services-gt-execute/m-p/8453193#M1649714</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;In order to use a file located on the application server with the gui execute method, I'm afraid you will have to either map your server drive to a local drive first or copy the file locally before using it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 10:53:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-cl-gui-frontend-services-gt-execute/m-p/8453193#M1649714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-21T10:53:59Z</dc:date>
    </item>
  </channel>
</rss>

