Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CL_GUI_HTML_VIEWER WebDynpro Event

Former Member
0 Likes
802

Hello Together,

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.

I've found different solutions but non of them works fine.

- Solution 1: FM TH_CREATE_FOREIGN_MODE

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

- Solution 2: Call Function ... startin new Task

In WD im Call an RFC FM:

CALL FUNCTION 'Z_CALL_TRANS' ... STARTING NEW TASK 'XYZ'....

The RFC FM should open the TA (with params).

It works in usual abap programs but not in WebDynpro

- Solution 3: Message Channels
Problem: Only available from version 7.40

- Solution 4: Catch JavaScript SAPEVENT with cl_gui_html_viewer
Problem: It seems is not possible to trigger a SAPEVENT in a WebDynpro application.

Does anyone have an idea I can solve this problem?

Best Regards

Uwe

Hello Together,

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.

I've found different solutions but non of them works fine.

- Solution 1: FM TH_CREATE_FOREIGN_MODE

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

- Solution 2: Call Function ... startin new Task

In WD im Call an RFC FM:

CALL FUNCTION 'Z_CALL_TRANS' ... STARTING NEW TASK 'XYZ'....

The RFC FM should open the TA (with params).

It works in usual abap programs but not in WebDynpro

- Solution 3: Message Channels
Problem: Only available from version 7.40

- Solution 4: Catch JavaScript SAPEVENT with cl_gui_html_viewer
Problem: It seems is not possible to trigger a SAPEVENT in a WebDynpro application.

Does anyone have an idea I can solve this problem?

Best Regards

Uwe

0 REPLIES 0