SAP Reports / Programs | Cross-Application Components | Document Management System(CA-DMS) SAP CA

DMS_KPRO_CONVERT SAP ABAP Report - Migration DMS storage into KPRO storage







DMS_KPRO_CONVERT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Conversion of storage data into the new storage systems...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter DMS_KPRO_CONVERT into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT DMS_KPRO_CONVERT. "Basic submit
SUBMIT DMS_KPRO_CONVERT AND RETURN. "Return to original report after report execution complete
SUBMIT DMS_KPRO_CONVERT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Migration of DMS storage data to KPRO
Selection Text: S_DOKAR = D Document type
Selection Text: P_TEST = Test mode
Selection Text: P_SVLOG = Save log
Selection Text: P_SHLOG = Display log
Selection Text: P_REGO = Only those with errors
Selection Text: P_PROG = Progress display
Selection Text: P_PATH = Directory
Selection Text: P_EXT = Protocol ID
Title: Migration DMS storage into KPRO storage
Text Symbol: 103 = File Name
Text Symbol: 102 = Appl./storage category/data carrier
Text Symbol: 101 = Description
Text Symbol: 100 = Document
Text Symbol: 009 = Errors occured with & originals
Text Symbol: 008 = & originals were converted
Text Symbol: 007 = & originals were converted
Text Symbol: 006 = Conversion finished
Text Symbol: 005 = Start conversion?
Text Symbol: 004 = Temp. directory
Text Symbol: 003 = Settings for application log
Text Symbol: 002 = Settings for conversion
Text Symbol: 001 = Data selection


INCLUDES used within this REPORT DMS_KPRO_CONVERT

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

CV210_CONV2KPRO_DATA_GET CALL FUNCTION 'CV210_CONV2KPRO_DATA_GET' EXPORTING: ps_draw = TABLES: ptx_doc2loio = lt_doc2loio ptx_file = lt_file.

CV115_DOCKEY_FORMAT CALL FUNCTION 'CV115_DOCKEY_FORMAT' EXPORTING pf_delimiter = '/' pf_dokar = -dokar pf_doknr = -doknr pf_doktl = -doktl pf_dokvr = -dokvr IMPORTING: pfx_doc_string = lf_txt.

POPUP_TO_CONFIRM_STEP * CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' * EXPORTING: defaultoption = 'Y' * textline1 = lf_text * textline2 = space * titel = space * IMPORTING: answer = lf_answer.

CV120_FTP_OPEN CALL FUNCTION 'CV120_FTP_OPEN' EXPORTING: pf_show_progress = '' EXCEPTIONS: error = 1 OTHERS = 2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING: percentage = lf_percent text = lf_text.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING: i_log_handle = gf_log_handle i_s_msg = ls_msg EXCEPTIONS: log_not_found = 0 OTHERS = 1.

CV120_CREATE_VIEW_FILE CALL FUNCTION 'CV120_CREATE_VIEW_FILE' EXPORTING PF_BATCHMODE = 'X' PF_DAPPL = -DAPPL PF_CREATE = 'X' IMPORTING PFX_TMP_FILE = -FILENAME EXCEPTIONS ERROR = 1 OTHERS = 2.

CV210_CONV2KPRO_START CALL FUNCTION 'CV210_CONV2KPRO_START' EXPORTING: pf_log_handle = gf_log_handle pf_path = p_path ps_frontend = gs_frontend ps_doc2loio = ps_file = EXCEPTIONS: db_error = 1 transfer_error = 2 OTHERS = 3.

CV120_FTP_CLOSE CALL FUNCTION 'CV120_FTP_CLOSE'.

CV120_KPRO_DOC_DELETE CALL FUNCTION 'CV120_KPRO_DOC_DELETE' EXPORTING pf_batchmode = 'X' pf_dokar = ps_key-dokar pf_doknr = ps_key-doknr pf_doktl = ps_key-doktl pf_dokvr = ps_key-dokvr EXCEPTIONS error = 1 not_found = 2 OTHERS = 3.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING: i_s_log = ls_log IMPORTING: e_log_handle = gf_log_handle EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING: i_log_handle = gf_log_handle i_s_msg = ls_msg EXCEPTIONS: log_not_found = 0 OTHERS = 1.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING: i_in_update_task = '' i_save_all = 'X' EXCEPTIONS: log_not_found = 1 save_not_allowed = 2 numbering_error = 3 OTHERS = 4.

BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' "Note_^_1120459 EXPORTING I_LOG_HANDLE = gf_log_handle EXCEPTIONS LOG_NOT_FOUND = 1 OTHERS = 2.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING: i_amodal = '' EXCEPTIONS: profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

CV120_GET_FRONTEND_TYPE CALL FUNCTION 'CV120_GET_FRONTEND_TYPE' IMPORTING pfx_frontend_type = gs_frontend-frontend_type pfx_host = gs_frontend-hostname pfx_winsys = gs_frontend-winsys EXCEPTIONS error = 1 no_valid_frontend = 2 OTHERS = 3.

CV117_FRONTEND_TYPE_SELECT CALL FUNCTION 'CV117_FRONTEND_TYPE_SELECT' EXPORTING: pf_hostname = gs_frontend-hostname pf_frontend_type = gs_frontend-frontend_type pf_force_change = 'X' pf_update_db = 'X' IMPORTING: pfx_new_frontend_type = gs_frontend-frontend_type EXCEPTIONS: error = 1 error_update_db = 2 no_change = 3 no_valid_host = 4 not_allowed = 5 OTHERS = 6.

CV200_DB_TDWE_SELECT CALL FUNCTION 'CV200_DB_TDWE_SELECT' EXPORTING: pf_typdt = gs_frontend-frontend_type IMPORTING: psx_tdwe = ls_tdwe EXCEPTIONS: not_found = 1.

CV120_GET_DATA_CARRIER





CALL FUNCTION 'CV120_GET_DATA_CARRIER' EXPORTING: pf_kpro = ' ' pf_vault = 'X' pf_archive = 'X' pf_sapdb = 'X' TABLES: ptx_dclist = lt_dclist EXCEPTIONS: not_found = 1 OTHERS = 2.

VIEW_MAINTENANCE_CALL CALL FUNCTION 'VIEW_MAINTENANCE_CALL' EXPORTING: action = 'U' view_name = 'DMS_CONV2KPRO1' EXCEPTIONS client_reference = 1 foreign_lock = 2 invalid_action = 3 no_clientindependent_auth = 4 no_database_function = 5 no_editor_function = 6 no_show_auth = 7 no_tvdir_entry = 8 no_upd_auth = 9 only_show_allowed = 10 system_failure = 11 unknown_field_in_dba_sellist = 12 view_not_found = 13 OTHERS = 14.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name DMS_KPRO_CONVERT or its description.