
|
Frontend Support |
||
|---|---|---|
|
Windows |
HTML |
Java |
|
Ja |
JA |
JA |
Use this method to load a HTML document from the SAP Web Repository. To maintain data in the SAP Web Repository, use Transaction SMW0.
CALL METHOD html_viewer->load_html_document
EXPORTING document_id = document_id
document_textpool = document_textpool
document_url = document_url
as_compressed_data =
IMPORTING assigned_url = assigned_url
CHANGING merge_table = merge_table
EXCEPTIONS document_not_found = 1
dp_error_general = 2
dp_invalid_parameter = 3.
|
Parameter |
Meaning |
|---|---|
|
document_id |
ID of the document in the SAP Web Repository |
|
document_textpool |
Program containing the text pool to be merged into the document. Text elements in the HTML document (format: <!text-xxx!>, where xxx is the ID of the text in the text pool) are automatically replaced by texts from the text pool. |
|
document_url |
URL to be assigned to the document. If you do not specify one, the system assigns a unique URL. |
|
assigned_url |
If you did not assign a URL in the document_url parameter, the system places the URL that it assigned into this parameter. If you did assign the URL yourself, the parameter contains the URL from the document_url . |
|
merge_table |
Table containing data to be merged into the current HTML document. |
|
as_compressed_data |
By default, the HTML Viewer compresses the data before transmitting it to the frontend control. In some cases (for example, after a SAPscript HTML conversion), this may cause problems. You can therefore switch this function on and off:
|