<?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: WS_EXECUTE - new fn Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ws-execute-new-fn-module/m-p/3784228#M910482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, use this class/method.&lt;/P&gt;&lt;P&gt;&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
*    document               =
*    application            =
*    parameter              =
*    default_directory      =
*    maximized              =
*    minimized              =
*    synchronous            =
*    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
        .
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.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2008 18:36:09 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2008-05-02T18:36:09Z</dc:date>
    <item>
      <title>WS_EXECUTE - new fn Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ws-execute-new-fn-module/m-p/3784227#M910481</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;When I use WS_EXECUTE, abap says this Fn module is obsolete. Can somebody help me with the new version of WS_EXECUTE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sheel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 18:33:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ws-execute-new-fn-module/m-p/3784227#M910481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T18:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: WS_EXECUTE - new fn Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ws-execute-new-fn-module/m-p/3784228#M910482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, use this class/method.&lt;/P&gt;&lt;P&gt;&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
*    document               =
*    application            =
*    parameter              =
*    default_directory      =
*    maximized              =
*    minimized              =
*    synchronous            =
*    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
        .
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.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 18:36:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ws-execute-new-fn-module/m-p/3784228#M910482</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-05-02T18:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: WS_EXECUTE - new fn Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ws-execute-new-fn-module/m-p/3784229#M910483</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;Thanks for all your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What all options can we give in operation - the default is OPEN, but actually I want just to check whether the URL is valid or not, if file or URL not found , give an error message. Can you please give me other options to OPERATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if u know any clarifications......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sheel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 19:09:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ws-execute-new-fn-module/m-p/3784229#M910483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T19:09:09Z</dc:date>
    </item>
  </channel>
</rss>

