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
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: 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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
DVSARCH3 - Program for Archiving Document Master Records, Read Program DVSARCH3 - Program for Archiving Document Master Records, Read Program DVSARCH2 - Report for Archiving Document Master Records, Deletion Program DVSARCH2 - Report for Archiving Document Master Records, Deletion Program DVSARCH1 - Archiving Program for Document Master Records DVSARCH1 - Archiving Program for Document Master Records