Use this method to initialize the Document Viewer instance and attach it to the relevant SAP Container. Note that this method does not open a document. Instead, you must call one of the separate methods
view_document_from_url or view_document_from_table.CALL METHOD document_viewer->init_viewer
EXPORTING parent = parent
EXCEPTIONS cntl_error = 1
cntl_install_error = 2
dp_install_error = 3
dp_error = 4
Parameter |
Optional |
Meaning |
parent CL_GUI_CONTAINER |
The reference variable pointing to the SAP Container instance in which you want the Document Viewer to appear |