SAP ARCHIVOBJECT_DISPLAY_WEBGUI_R Function Module for
ARCHIVOBJECT_DISPLAY_WEBGUI_R is a standard archivobject display webgui r SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for archivobject display webgui r FM, simply by entering the name ARCHIVOBJECT_DISPLAY_WEBGUI_R into the relevant SAP transaction such as SE37 or SE38.
Function Group: OPTA
Program Name: SAPLOPTA
Main Program: SAPLOPTA
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function ARCHIVOBJECT_DISPLAY_WEBGUI_R pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'ARCHIVOBJECT_DISPLAY_WEBGUI_R'".
EXPORTING
ARCHIV_DOC_ID = "Identification of the Document to Be Displayed
ARCHIV_ID = "Identification of the Storage System
* LANGUAGE = ' ' "Logon Language
* WINDOW_ID = ' ' "UNique Window Identification
* WINDOW_TITLE = ' ' "Window title
* DOC_TYPE = ' ' "Document Class
EXCEPTIONS
ERROR_ARCHIV = 1 ERROR_KERNEL = 2 NO_WEB_GUI = 3
IMPORTING Parameters details for ARCHIVOBJECT_DISPLAY_WEBGUI_R
ARCHIV_DOC_ID - Identification of the Document to Be Displayed
Data type: SAPB-SAPADOKIDOptional: No
Call by Reference: No ( called with pass by value option)
ARCHIV_ID - Identification of the Storage System
Data type: TOAAR-ARCHIV_IDOptional: No
Call by Reference: No ( called with pass by value option)
LANGUAGE - Logon Language
Data type: SY-LANGUDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WINDOW_ID - UNique Window Identification
Data type: SAPB-SAPWINIDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WINDOW_TITLE - Window title
Data type: SAPB-SAPWINTITLDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DOC_TYPE - Document Class
Data type: TOAOM-DOC_TYPEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_ARCHIV - Error from Archive System
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_KERNEL - Error from SAP Kernel
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_WEB_GUI -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ARCHIVOBJECT_DISPLAY_WEBGUI_R Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_error_archiv | TYPE STRING, " | |||
| lv_archiv_doc_id | TYPE SAPB-SAPADOKID, " | |||
| lv_archiv_id | TYPE TOAAR-ARCHIV_ID, " | |||
| lv_error_kernel | TYPE TOAAR, " | |||
| lv_language | TYPE SY-LANGU, " SPACE | |||
| lv_no_web_gui | TYPE SY, " | |||
| lv_window_id | TYPE SAPB-SAPWINID, " SPACE | |||
| lv_window_title | TYPE SAPB-SAPWINTITL, " SPACE | |||
| lv_doc_type | TYPE TOAOM-DOC_TYPE. " SPACE |
|   CALL FUNCTION 'ARCHIVOBJECT_DISPLAY_WEBGUI_R' " |
| EXPORTING | ||
| ARCHIV_DOC_ID | = lv_archiv_doc_id | |
| ARCHIV_ID | = lv_archiv_id | |
| LANGUAGE | = lv_language | |
| WINDOW_ID | = lv_window_id | |
| WINDOW_TITLE | = lv_window_title | |
| DOC_TYPE | = lv_doc_type | |
| EXCEPTIONS | ||
| ERROR_ARCHIV = 1 | ||
| ERROR_KERNEL = 2 | ||
| NO_WEB_GUI = 3 | ||
| . " ARCHIVOBJECT_DISPLAY_WEBGUI_R | ||
ABAP code using 7.40 inline data declarations to call FM ARCHIVOBJECT_DISPLAY_WEBGUI_R
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single SAPADOKID FROM SAPB INTO @DATA(ld_archiv_doc_id). | ||||
| "SELECT single ARCHIV_ID FROM TOAAR INTO @DATA(ld_archiv_id). | ||||
| "SELECT single LANGU FROM SY INTO @DATA(ld_language). | ||||
| DATA(ld_language) | = ' '. | |||
| "SELECT single SAPWINID FROM SAPB INTO @DATA(ld_window_id). | ||||
| DATA(ld_window_id) | = ' '. | |||
| "SELECT single SAPWINTITL FROM SAPB INTO @DATA(ld_window_title). | ||||
| DATA(ld_window_title) | = ' '. | |||
| "SELECT single DOC_TYPE FROM TOAOM INTO @DATA(ld_doc_type). | ||||
| DATA(ld_doc_type) | = ' '. | |||
Search for further information about these or an SAP related objects