DMS_KPRO_READ2 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 DMS_KPRO_READ2 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: CLASS = D Document Class
Selection Text: PHIO = D ID for Documents and Relations
Text Symbol: 100 = Ref
Text Symbol: 101 = Ty.
Text Symbol: 102 = Document
Text Symbol: 103 = Vs
Text Symbol: 104 = DcP
Text Symbol: 105 = Description
INCLUDE CV_CONSTANTS.
No SAP DATABASE tables are accessed within this REPORT code!
CV110_DOC_DIALOG CALL FUNCTION 'CV110_DOC_DIALOG' EXPORTING: pf_skip_first = 'X' pf_transaction = 'CV03' pf_commit = 'X' pf_dokar = gs_doc_key-dokar pf_doknr = gs_doc_key-doknr pf_dokvr = gs_doc_key-dokvr pf_doktl = gs_doc_key-doktl EXCEPTIONS: not_found = 1 no_auth = 2 locked = 3 error = 4 OTHERS = 5.
SDOK_LOIO_TO_RELATIONS_GET CALL FUNCTION 'SDOK_LOIO_TO_RELATIONS_GET' EXPORTING: object_id = ls_phio relation_class = 'LOGOBJECT' TABLES: RESULT = lt_rel_loios EXCEPTIONS: not_existing = 1 bad_class = 2 not_authorized = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.