SAP Reports / Programs | Cross-Application Components | Document Management System(CA-DMS) SAP CA

DVSARCH3 SAP ABAP Report - Program for Archiving Document Master Records, Read Program







DVSARCH3 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter DVSARCH3 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 DVSARCH3. "Basic submit
SUBMIT DVSARCH3 AND RETURN. "Return to original report after report execution complete
SUBMIT DVSARCH3 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: FLAG = List w/o tables DRAO/Z
Selection Text: DOCUMENT = Archiving run number
Title: Program for Archiving Document Master Records, Read Program
Text Symbol: 001 = No file opened
Text Symbol: 002 = Object ID:
Text Symbol: 003 = ARCHIVE_OPEN_FOR_READ
Text Symbol: 004 = Document type
Text Symbol: 005 = Chg.status
Text Symbol: 006 = Auth. group
Text Symbol: 007 = Valid from
Text Symbol: 008 = Document number
Text Symbol: 009 = Document version
Text Symbol: 010 = Document part
Text Symbol: 011 = User responsible
Text Symbol: 012 = Document Status
Text Symbol: 013 = Laboratory
Text Symbol: 014 = Change number
Text Symbol: 015 = Plant
Text Symbol: 016 = Counter
Text Symbol: 017 = Date
Text Symbol: 018 = Time of log
Text Symbol: 019 = Person responsible
Text Symbol: 020 = Language
Text Symbol: 021 = Linked SAP object
Text Symbol: 022 = Counter
Text Symbol: 094 = Deletion indicator
Text Symbol: 086 = Table for Additional Files for DMS Originals
Text Symbol: 085 = Document-object link
Text Symbol: 084 = Texts for Document Info Records
Text Symbol: 083 = Document Log File
Text Symbol: 082 = Additional Files for DMS Originals
Text Symbol: 081 = Originals for documents
Text Symbol: 080 = Document info rec.
Text Symbol: 035 = List control
Text Symbol: 034 = Archiving
Text Symbol: 033 = File lngth
Text Symbol: 032 = Client
Text Symbol: 030 = Data carrier





Text Symbol: 029 = Counter for additional file
Text Symbol: 028 = Application number
Text Symbol: 026 = Database table name
Text Symbol: 025 = Object link status
Text Symbol: 024 = Assignment status
Text Symbol: 023 = Object key
001 Archived Objects


INCLUDES used within this REPORT DVSARCH3

No INCLUDES are used within this REPORT code!


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:

ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING: archive_document = document object = 'CV_DVS' IMPORTING: archive_handle = handle EXCEPTIONS: file_already_open = 1 file_io_error = 2 internal_error = 3 no_files_available = 4 object_not_found = 5 open_error = 6 not_authorized = 7 OTHERS = 8.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING: archive_handle = handle EXCEPTIONS: end_of_file = 1 file_io_error = 2 internal_error = 3 open_error = 4 wrong_access_to_archive = 5 OTHERS = 6.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING: archive_handle = handle IMPORTING: record_ref = ls_buffer_ref record_structure = arc_buffer-rname EXCEPTIONS: end_of_object = 01 internal_error = 02 wrong_access_to_archive = 03.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = handle.

CLASSIFY_READ_ARCHIVE_OBJECT CALL FUNCTION 'CLASSIFY_READ_ARCHIVE_OBJECT' EXPORTING: archive_handle = pf_archive_handle TABLES: kssk_arch = lt_kssk ausp_arch = lt_ausp EXCEPTIONS: wrong_access_to_archive = 1 OTHERS = 2.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING: tabname = pf_report fieldname = pf_field langu = sy-langu TABLES: dfies_tab = lt_tab EXCEPTIONS: not_found = 1 internal_error = 2 OTHERS = 3.



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 DVSARCH3 or its description.