<?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 CLASS  CL_GUI_FRONTEND_SERVICES in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-cl-gui-frontend-services/m-p/1011348#M78979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does someone Knwos why following method doesn´t work?&lt;/P&gt;&lt;P&gt;Do I need something else ?&lt;/P&gt;&lt;P&gt;I simply get nothing in version .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  zfrontend_file_get_version                                  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : version TYPE string .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR version .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;file_get_version&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    filename             = 'C:TEST_SAPREADME.TXT'&lt;/P&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    version              = version&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;    NOT_SUPPORTED_BY_GUI = 3&lt;/P&gt;&lt;P&gt;    WRONG_PARAMETER      = 4&lt;/P&gt;&lt;P&gt;    others               = 5 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Sep 2005 21:25:36 GMT</pubDate>
    <dc:creator>alfredo_gomezripoll</dc:creator>
    <dc:date>2005-09-27T21:25:36Z</dc:date>
    <item>
      <title>CLASS  CL_GUI_FRONTEND_SERVICES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-cl-gui-frontend-services/m-p/1011348#M78979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does someone Knwos why following method doesn´t work?&lt;/P&gt;&lt;P&gt;Do I need something else ?&lt;/P&gt;&lt;P&gt;I simply get nothing in version .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  zfrontend_file_get_version                                  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : version TYPE string .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR version .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;file_get_version&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    filename             = 'C:TEST_SAPREADME.TXT'&lt;/P&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    version              = version&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;    NOT_SUPPORTED_BY_GUI = 3&lt;/P&gt;&lt;P&gt;    WRONG_PARAMETER      = 4&lt;/P&gt;&lt;P&gt;    others               = 5 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2005 21:25:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-cl-gui-frontend-services/m-p/1011348#M78979</guid>
      <dc:creator>alfredo_gomezripoll</dc:creator>
      <dc:date>2005-09-27T21:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: CLASS  CL_GUI_FRONTEND_SERVICES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-cl-gui-frontend-services/m-p/1011349#M78980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hope sap did not implement this class yet.&lt;/P&gt;&lt;P&gt;to confirm this&lt;/P&gt;&lt;P&gt;execute program TEST_FRONTEND_SERVICES in se38 to know the sameple usage of all the method in class cl_gui_frontend_services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;gv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2005 01:19:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-cl-gui-frontend-services/m-p/1011349#M78980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-28T01:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: CLASS  CL_GUI_FRONTEND_SERVICES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-cl-gui-frontend-services/m-p/1011350#M78981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what error message you are getting&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;check if filename is also of type STRING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Surpreet Singh Bal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2005 02:28:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-cl-gui-frontend-services/m-p/1011350#M78981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-28T02:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: CLASS  CL_GUI_FRONTEND_SERVICES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-cl-gui-frontend-services/m-p/1011351#M78982</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 tried using this method but i also failed to get the version.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data: ws_version TYPE STRING.

DATA: ws_filename TYPE STRING.

ws_filename = 'D:New Text Document.txt' .

CALL METHOD cl_gui_frontend_services=&amp;gt;file_get_version
  EXPORTING
    filename             =   ws_filename
  changing
    version              =    ws_version
  EXCEPTIONS
    CNTL_ERROR           = 1
    ERROR_NO_GUI         = 2
    NOT_SUPPORTED_BY_GUI = 3
    WRONG_PARAMETER      = 4
    others               = 5
        .
IF sy-subrc &amp;lt;&amp;gt; 0.
 MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

write :/ ws_version.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;As Venkat mentioned, in the sample code it is mentioned as not implemented but in the same we are able to use file_open_dialog and file_close_dialog too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So not clear,if i get some inputs will let u know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2005 03:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-cl-gui-frontend-services/m-p/1011351#M78982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-28T03:54:20Z</dc:date>
    </item>
  </channel>
</rss>

