on 09-21-2011 7:38 AM
Hi everyone,
I am trying from the portal to call a transaction which there is an HTML controller.
From the SAP GUI, everything works fine.
But if I try to call the transaction from the portal, I get the error message "Error during initialization of SAP HTML control".
I call the transaction in portal with an iView of type SAP Transaction.
Can someone help ?
Thank you.
Regards.
Hi David,
Can you call the transaction from WEBGUI service?
Test the WEBGUI from transaction "SICF" (if you are using Integrated ITS)
Whats the name of the transaction?
Regards,
Oisin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
If you are calling a SAP Transaction iView - then I would presume it is using the WEBGUI service of the WAS that you are connecting too?
On that WAS - goto transaction SICF and search for "WEBGUI" - then right click on the WEBGUI tree node and select "Test Service" this will launch the WEBGUI service in the Browser - then from here logon again and call transaction FO37 from the OKFieldCode.
Regards,
Oisin
Hi Oisin,
Thanks for making me discover the WEBGUI.
I did run the "Test Service" from the WEBGUI tree node.
When executing the transaction from within the browser, I got the same message about the SAP HTML control.
So, maybe there is no way of displaying HTML using the SAP HTML control from the WEBGUI ?
Thanks,
Regards.
Hi David,
Do you have an IGS on this WAS? Will need it to display a GIS graphic via WEBGUI, you will also need to have the BWGIS interpreter.
See:
[Internet Graphics Service|http://aiokeh.wdf.sap.corp:50000/SAPIKS2/contentShow.sap?_SCLASS=IWB_STRUCT&_SLOIO=A1D9883672D57C73E10000009B38F889&TMP_IWB_TASK=PREVIEW2&RELEASE=692&LANGUAGE=EN&_SEQNUM=2&_LOIO=1786C039C7811F11E10000000A114084&_CLASS=IWB_EXTHLP]
Call transaction /nSIGS to see if you have an IGS running.
Regards,
Oisin
Hi,
What IGS version is being used here? What is the Kernel version of your WAS?
RE your GIS image:
See the section (from the previous link)
"
Geographical map interpreter
BWGIS is a Geographical Information System solution for the Business Information Warehouse and generates geographical maps in order to present the dependencies between business and spatial data. It uses ABAP table based data (BW 3.x) and XML based data (BI 7.0).
"
Is this the type of GIS image that you are using?
Regards,
Oisin
Hi Oisin,
Everything works fine!
Thanks for all the precious information that help me in this issue.
In fact, the code I used was working fine in SAP GUI but not in WEBGUI.
I debugged the SIGS transacton and looked at their code and write my own in the same way.
Here is a sample of that code for anyone who is interested.
DATA: g_html_control TYPE REF TO cl_gui_html_viewer,
g_url TYPE w3url,
g_type TYPE char32 VALUE 'text',
g_subtype TYPE char32,
g_html TYPE w3htmltabtype,
gr_ccontainer TYPE REF TO cl_gui_custom_container .
IF g_html_control IS INITIAL.
* create hmtl control
CREATE OBJECT gr_ccontainer
EXPORTING
container_name = 'HTML_CONTAINER'. "create a container in LAYOUT
CREATE OBJECT g_html_control
EXPORTING
parent = gr_ccontainer.
ENDIF.
g_url = 'http://www.sdn.sap.com/irj/sdn'.
CALL METHOD g_html_control->show_url
EXPORTING
url = g_url.
Thanks!
Best Regards.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.