<?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 CL_GUI_HTML_VIEWER WebDynpro Event in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-webdynpro-event/m-p/430363#M12196</link>
    <description>&lt;P&gt;Hello Together,&lt;/P&gt;&lt;P&gt;I have an WebDynpro Application that I'm displaying in an cl_gui_html_viewer object. From this WD Application I want to open a new SAP Gui Transaction and Skip first screen. &lt;/P&gt;&lt;P&gt;I've found different solutions but non of them works fine.&lt;/P&gt;&lt;P&gt;- Solution 1: FM TH_CREATE_FOREIGN_MODE&lt;/P&gt;&lt;P&gt;With this FM you can open a new SAP Gui window out of WebDynpro. Problem is: there is no possibility to start TA with parameters and skip first screen&lt;/P&gt;&lt;P&gt;- Solution 2: Call Function ... startin new Task&lt;/P&gt;&lt;P&gt;In WD im Call an RFC FM:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'Z_CALL_TRANS' ... STARTING NEW TASK 'XYZ'....&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The RFC FM should open the TA (with params). &lt;/P&gt;&lt;P&gt;It works in usual abap programs but not in WebDynpro&lt;/P&gt;&lt;P&gt;- Solution 3: Message Channels&lt;BR /&gt;Problem: Only available from version 7.40&lt;/P&gt;&lt;P&gt;- Solution 4: Catch JavaScript SAPEVENT with cl_gui_html_viewer&lt;BR /&gt;Problem: It seems is not possible to trigger a SAPEVENT in a WebDynpro application.&lt;/P&gt;&lt;P&gt;Does anyone have an idea I can solve this problem?&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;/P&gt;&lt;P&gt;Uwe&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2017 15:04:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-03-20T15:04:23Z</dc:date>
    <item>
      <title>CL_GUI_HTML_VIEWER WebDynpro Event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-webdynpro-event/m-p/430363#M12196</link>
      <description>&lt;P&gt;Hello Together,&lt;/P&gt;&lt;P&gt;I have an WebDynpro Application that I'm displaying in an cl_gui_html_viewer object. From this WD Application I want to open a new SAP Gui Transaction and Skip first screen. &lt;/P&gt;&lt;P&gt;I've found different solutions but non of them works fine.&lt;/P&gt;&lt;P&gt;- Solution 1: FM TH_CREATE_FOREIGN_MODE&lt;/P&gt;&lt;P&gt;With this FM you can open a new SAP Gui window out of WebDynpro. Problem is: there is no possibility to start TA with parameters and skip first screen&lt;/P&gt;&lt;P&gt;- Solution 2: Call Function ... startin new Task&lt;/P&gt;&lt;P&gt;In WD im Call an RFC FM:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'Z_CALL_TRANS' ... STARTING NEW TASK 'XYZ'....&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The RFC FM should open the TA (with params). &lt;/P&gt;&lt;P&gt;It works in usual abap programs but not in WebDynpro&lt;/P&gt;&lt;P&gt;- Solution 3: Message Channels&lt;BR /&gt;Problem: Only available from version 7.40&lt;/P&gt;&lt;P&gt;- Solution 4: Catch JavaScript SAPEVENT with cl_gui_html_viewer&lt;BR /&gt;Problem: It seems is not possible to trigger a SAPEVENT in a WebDynpro application.&lt;/P&gt;&lt;P&gt;Does anyone have an idea I can solve this problem?&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;/P&gt;&lt;P&gt;Uwe&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 15:04:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-webdynpro-event/m-p/430363#M12196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-03-20T15:04:23Z</dc:date>
    </item>
  </channel>
</rss>

