Code: Alles auswählen.
*&---------------------------------------------------------------------*
*& Report ZAR_SHOW_ARC_DOC
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT ZAR_SHOW_ARC_DOC.
data l_url type char2048.
data l_Docid type toa01-ARC_DOC_ID VALUE '0050569B043C1EDAA2A8603FA82CCA0C'.
data l_Arcid type toa01-ARCHIV_ID VALUE 'DW'.
call function 'SCMS_URL_GENERATE'
exporting
" command = 'docGet'
command = 'get'
contrep = l_Arcid
docid = l_Docid
accessmode = 'r'
importing
absolute_uri = l_url.
*
CALL FUNCTION 'CALL_BROWSER'
EXPORTING
URL = l_url
WINDOW_NAME = 'test'
* NEW_WINDOW = ' '
BROWSER_TYPE = 'EASY.AUTOMATION'
* CONTEXTSTRING =
EXCEPTIONS
FRONTEND_NOT_SUPPORTED = 1
FRONTEND_ERROR = 2
PROG_NOT_FOUND = 3
NO_BATCH = 4
UNSPECIFIED_ERROR = 5
OTHERS = 6.
.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
Code: Alles auswählen.
:
:
* getContRepNames
when 'getContRepNames'.
* adminContRep
when 'adminContRep'.
Folgende Benutzer bedankten sich beim Autor Tron für den Beitrag (Insgesamt 2):
ralf.wenzel • black_adept