OAWTOAV0 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 OAWTOAV0 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.
Title: Program for object type TOAV0: Document
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVOBJECT_DISPLAY CALL FUNCTION 'ARCHIVOBJECT_DISPLAY' EXPORTING ARCHIV_DOC_ID = TOAV0-ARC_DOC_ID ARCHIV_ID = TOAV0-ARCHIV_ID LANGUAGE = SY-LANGU EXCEPTIONS OTHERS = 4.
ALINK_DOCUMENTS_CREATE_DIALOG CALL FUNCTION 'ALINK_DOCUMENTS_CREATE_DIALOG' EXPORTING ARCHIV_ID = toav0-archiv_id VSCAN_PROFILE = vscanprofile IMPORTING ARCHIV_DOC_ID = toav0-arc_doc_id EXCEPTIONS BLOCKED_BY_POLICY = 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.