SAP Reports / Programs

RN2DOC_ARCHIVE SAP ABAP Report - i.s.h.med: Archive Documents







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RN2DOC_ARCHIVE. "Basic submit
SUBMIT RN2DOC_ARCHIVE AND RETURN. "Return to original report after report execution complete
SUBMIT RN2DOC_ARCHIVE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT RN2DOC_ARCHIVE

INCLUDE RNDATA00.
INCLUDE IN2DOC_CONST01.
INCLUDE IN2_LICENCE.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RN2DOC_ARCHIVE or its description.