Code: Alles auswählen.
DATA:
lv_repid TYPE sy-repid, " Programm
lv_url(80) TYPE c. " Html-Url
lv_repid = sy-repid.
* Picture Control Object für Anzeige erzeugen
CREATE OBJECT go_html_control
EXPORTING
parent = go_docking_html.
CHECK sy-subrc = 0.
* Bilder für HTML-Dokument laden
go_html_control->load_mime_object(
EXPORTING
object_id = 'ZFCT_ADE_SHADOW'
object_url = 'zfct_ade_shadow.jpg' ).
go_html_control->load_mime_object(
EXPORTING
object_id = 'ZFCT_ADE_IMG_TABLE_TOP'
object_url = 'table_top.png' ).
go_html_control->load_mime_object(
EXPORTING
object_id = 'ZFCT_ADE_IMG_TABLE_BOTTOM'
object_url = 'table_bottom.png' ).
go_html_control->load_mime_object(
EXPORTING
object_id = 'ZFCT_ADE_IMG_TABLE_LEFT'
object_url = 'table_left.png' ).
go_html_control->load_mime_object(
EXPORTING
object_id = 'ZFCT_ADE_IMG_TABLE_RIGHT'
object_url = 'table_right.png' ).
* HTML Dokument laden
go_html_control->load_html_document(
EXPORTING
document_id = 'ZFCT_ADE_HTML_INFO_TEXT'
document_url = 'zfct_ade.html' ).
* HTML Dokument anzeigen
go_html_control->show_url(
EXPORTING
url = 'zfct_ade.html'
in_place = ' ').