Skip to Content
0
May 07, 2012 at 12:32 PM

JAVACRIPT ERROR using HTML_VIEWER

17 Views

Dear expert, I'm founding problem to display a html page wirh HTML_VIEWER.

The page content is ok (all the image and text are displaied) but a javacript error occurs.

If I click to "OK" to the message the page is shown correctly.

My question is: is there the way to suppress script error message using HTML_VIEWER?

I'm using the following methods and for me are ok:

CALL METHOD html_control->load_data
IMPORTING
assigned_url = doc_url
CHANGING
data_table = i_tab[]
EXCEPTIONS
dp_invalid_parameter = 1
dp_error_general = 2
cntl_error = 3
OTHERS = 4.

IF sy-subrc EQ 0.
CALL METHOD html_control->show_url
EXPORTING
url = doc_url.
* IN_PLACE = ' '.

Thank you in advance,

Davide