DMS_KPRO_READ 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_READ 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: P_ACT_A = Attribute active versions
Selection Text: P_ACT_V = Acitve versions only
Selection Text: P_DOKAR = D Document type
Selection Text: P_DOKNR = D Document
Selection Text: P_DOKTL = D Document Part
Selection Text: P_DOKVR = D Document version
Title: Determine original file from KPro for a document
Text Symbol: 001 = Document
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CV120_KPRO_MASTER_DATA_GET CALL FUNCTION 'CV120_KPRO_MASTER_DATA_GET' EXPORTING: pf_active_only = p_act_v pf_active_attr_only = p_act_a pf_dokar = p_dokar pf_doknr = p_doknr pf_dokvr = p_dokvr pf_doktl = p_doktl TABLES: ptx_data = lt_files EXCEPTIONS: not_found = 1 error = 2 OTHERS = 3.
CV120_KPRO_CONTENT_CHECK CALL FUNCTION 'CV120_KPRO_CONTENT_CHECK' EXPORTING: ps_phio_id = ls_phio_id IMPORTING: pfx_content = lf_content.
SDOK_LOIO_PROPERTIES_GET CALL FUNCTION 'SDOK_LOIO_PROPERTIES_GET' EXPORTING: object_id = ls_loio TABLES: properties = lt_attrib EXCEPTIONS: not_existing = 1 not_authorized = 2 exception_in_exit = 3 OTHERS = 4.
SDOK_PHIOS_FILE_PROPERTIES_GET CALL FUNCTION 'SDOK_PHIOS_FILE_PROPERTIES_GET' TABLES: object_fileproperties = lt_prop components = lt_comp bad_objects = lt_bad_obj.
SDOK_PHIO_PROPERTIES_GET CALL FUNCTION 'SDOK_PHIO_PROPERTIES_GET' EXPORTING: object_id = ls_phio TABLES: properties = lt_attrib EXCEPTIONS: not_existing = 1 not_authorized = 2 OTHERS = 3.
SDOK_PHIOS_FILE_PROPERTIES_GET CALL FUNCTION 'SDOK_PHIOS_FILE_PROPERTIES_GET' TABLES: components = lt_comp bad_objects = lt_bad_obj.
CV120_DOC_GET_FILE CALL FUNCTION 'CV120_DOC_GET_FILE' EXPORTING: pf_file = ls_comp-file_name pf_mode = 'S' IMPORTING: pfx_file = lf_filep EXCEPTIONS: wrong_appl = 1 error = 2 OTHERS = 3.
CV120_KPRO_CHECKOUT_TO_TABLE CALL FUNCTION 'CV120_KPRO_CHECKOUT_TO_TABLE' EXPORTING: ps_phio_id = ls_phio pf_comp_get = lf_comp_get TABLES: pt_components = lt_dms_comp ptx_content = lt_content EXCEPTIONS: error = 1 no_content = 2 OTHERS = 3.
CV120_TRANSFER_DATA2CLIENT CALL FUNCTION 'CV120_TRANSFER_DATA2CLIENT' EXPORTING: pf_batchmode = '' pf_mode = 'GUI' pf_file = lf_filep TABLES: pt_drao = lt_content EXCEPTIONS: error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
DMS_KPRO_READ - Determine original file from KPro for a document DMS_KPRO_READ - Determine original file from KPro for a document DMS_KPRO_IDX_SEARCH - Full-text search in KPro DMS_KPRO_IDX_SEARCH - Full-text search in KPro DMS_KPRO_FILL_CACHE - Fill Cache (Push) DMS_KPRO_FILL_CACHE - Fill Cache (Push)