MCDOKSTL 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 MCDOKSTL 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: Status Log
Text Symbol: 001 = Number
Text Symbol: 002 = Status
Text Symbol: 003 = Set by
Text Symbol: 004 = Date
Text Symbol: 005 = Time
Text Symbol: 006 = Log field
Text Symbol: 007 = Document
Text Symbol: 008 = ContentVers.
Text Symbol: 009 = Description
Text Symbol: 010 = Dig.sign.
Text Symbol: 011 = Desc.
Text Symbol: 012 = Set By
Text Symbol: 013 = Digital Signature
INCLUDE DISPLAY.
INCLUDE MCDOKSTL_SIGNATURE_SHOWF01.
INCLUDE MCDOKSTL_SIGN_FLAG_FOR_LOGS.
No SAP DATABASE tables are accessed within this REPORT code!
CV200_DB_TDWA_SELECT CALL FUNCTION 'CV200_DB_TDWA_SELECT' EXPORTING: pf_dokar = draw-dokar pf_read_tdws = 'X' IMPORTING: psx_tdwa = ls_tdwa TABLES: ptx_tdws = lt_tdws EXCEPTIONS: not_found = 1 OTHERS = 2.
CV200_DB_TDWS_SELECT_MULTIPLE CALL FUNCTION 'CV200_DB_TDWS_SELECT_MULTIPLE' EXPORTING: pf_dokar = draw-dokar pf_read_txt = 'X' TABLES: ptx_tdws = lt_tdws ptx_tdwst = lt_tdwst EXCEPTIONS: not_found = 1 OTHERS = 2.
RFC_GET_CAD_FCODE CALL FUNCTION 'RFC_GET_CAD_FCODE' IMPORTING: cad_rfc_flag = lf_cad_called.
SUSR_SHOW_USER_DETAILS CALL FUNCTION 'SUSR_SHOW_USER_DETAILS' EXPORTING bname = statab_line+29(12) "P45K045440 EXCEPTIONS OTHERS = 1.
CVAPI_DOC_VIEW CALL FUNCTION 'CVAPI_DOC_VIEW' EXPORTING: pf_dokar = draw-dokar pf_doknr = draw-doknr pf_dokvr = draw-dokvr pf_doktl = draw-doktl ps_drap_audit = ls_drap EXCEPTIONS: error = 1 not_found = 2 no_auth = 3 no_original = 4 OTHERS = 5.
DOCUMENT_AUDIT_SHOW CALL FUNCTION 'DOCUMENT_AUDIT_SHOW' EXPORTING: pf_cad_called = lf_cad_called pf_fcode = sy-ucomm drap_line = ls_drap.
SIGN_SHOW CALL FUNCTION 'SIGN_SHOW' EXPORTING object_imp = '60' key_dms_imp = ls_rc77 EXCEPTIONS key_for_object_incomplete = 1 no_signatures_found = 2 OTHERS = 3.
CVAPI_DOC_OPEN_CAD CALL FUNCTION 'CVAPI_DOC_OPEN_CAD' EXPORTING: pf_tcode = pf_tcode pf_msg = '' pf_dokar = draw-dokar pf_doknr = draw-doknr pf_dokvr = draw-dokvr pf_doktl = draw-doktl IMPORTING: pfx_file = lf_filep pfx_tcode = lf_tcode EXCEPTIONS: error = 1 not_found = 2 no_auth = 3 no_original = 4 OTHERS = 5.
DOCUMENT_AUDIT_SHOW CALL FUNCTION 'DOCUMENT_AUDIT_SHOW' EXPORTING: pf_cad_called = lf_cad_called pf_fcode = sy-ucomm drap_line = ls_drap IMPORTING: pfx_filep = lf_filep.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.