RN2DOC_ARCHIVE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can archive selected documents using the report...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RN2DOC_ARCHIVE into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: R_UPDAT = D .
Selection Text: R_ERDAT = D .
Selection Text: R_EINRI = D .
Selection Text: R_DTVERS = D .
Selection Text: R_DTID = D .
Selection Text: R_DOKVR = D .
Selection Text: R_DOKTL = D .
Selection Text: R_DOKNR = D .
Selection Text: R_DOKAR = D .
Selection Text: P_TEST_A = D .
Selection Text: P_TEST = D .
Selection Text: P_SYNC = D .
Selection Text: P_PROD = D .
Selection Text: P_LSAVE = D .
Selection Text: P_LPRINT = D .
Selection Text: P_ASYNC = D .
Selection Text: P_AEXIT = D .
Selection Text: R_DOKST = Document Status (Internal)
Title: i.s.h.med: Archive Documents
Text Symbol: R03 = With errors:
Text Symbol: R02 = Successful:
Text Symbol: R01 = Archiving is executing:
Text Symbol: 025 = Message
Text Symbol: 024 = No.
Text Symbol: 023 = Message Class
Text Symbol: 022 = Ty.
Text Symbol: 021 = Following error messages occurred:
Text Symbol: 020 = The program cannot be executed
INCLUDE RNDATA00.
INCLUDE IN2DOC_CONST01.
INCLUDE IN2_LICENCE.
No SAP DATABASE tables are accessed within this REPORT code!
SELECT_OPTIONS_RESTRICT * CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' * EXPORTING * program = g_repid * restriction = restrict * EXCEPTIONS * OTHERS = 0.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = l_progress text = l_text.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RN2DOC_ARCHIVE - i.s.h.med: Archive Documents RN2DOC_ARCHIVE - i.s.h.med: Archive Documents RN2DOCVIEWER_SVAR - Selection Screen for CWS View 006 (Documents View Type) RN2DOCVIEWER_SVAR - Selection Screen for CWS View 006 (Documents View Type) RN2DI_INTEGRATION_PMD2_TOP - RN2DIINTEGRATIONPMD2TOP RN2DI_INTEGRATION_PMD2_EXIT - RN2DIINTEGRATIONPMD2EXIT