
|
Frontend Support |
||
|---|---|---|
|
Windows |
HTML |
Java |
|
JA |
JA |
JA |
Use this method to load an object of any type from the SAP Web Repository and send it to the SAP HTML Viewer. To maintain data in the SAP Web Repository, use Transaction SMW0.
All SAP icons are already contained in Transaction SMW0. You can find them by searching for binary data in development class SWWW.
The executable program SHOWICON contains a list of all SAP icons.
CALL METHOD html_viewer->load_mime_object
EXPORTING object_id = object_id
object_url = object_url
IMPORTING assigned_url = assigned_url
EXCEPTIONS object_not_found = 1
dp_error_general = 2
dp_invalid_parameter = 3.
|
Parameter |
Meaning |
|---|---|
|
object_id |
ID of the document in the SAP Web Repository |
|
object_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 . |