SAP Reports / Programs | Cross-Application Components | European Monetary Union: Euro(CA-EUR) SAP CA

CNV_MBT_DEX_IMP_DATA_EXT_02 SAP ABAP INCLUDE - Include program for import main program







CNV_MBT_DEX_IMP_DATA_EXT_02 is a standard ABAP INCLUDE 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 CNV_MBT_DEX_IMP_DATA_EXT_02 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 CNV_MBT_DEX_IMP_DATA_EXT_02. "Basic submit
SUBMIT CNV_MBT_DEX_IMP_DATA_EXT_02 AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_MBT_DEX_IMP_DATA_EXT_02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT CNV_MBT_DEX_IMP_DATA_EXT_02

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:

CNV_MBT_L_STATE_GET CALL FUNCTION 'CNV_MBT_L_STATE_GET' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id all_as_table = 'X' TABLES t_ex_cnvmbtstate = lt_state_entries EXCEPTIONS entry_does_not_exist = 1 OTHERS = 2.

CNV_MBT_DEX_GET_ASSIGNED_DEXID CALL FUNCTION 'CNV_MBT_DEX_GET_ASSIGNED_DEXID' EXPORTING im_packid = gd_pack IMPORTING ex_dexid = gd_dexid EXCEPTIONS invalid_call = 1 error_while_reading = 2 OTHERS = 3.

CNV_MBT_DEX_GET_VALUES CALL FUNCTION 'CNV_MBT_DEX_GET_VALUES' EXPORTING im_dexid = gd_dexid im_export = '-' im_import = 'X' IMPORTING ex_import_path = gd_import_path EXCEPTIONS not_found = 1 OTHERS = 2.

CNV_MBT_DEX_FILEINFO_GET CALL FUNCTION 'CNV_MBT_DEX_FILEINFO_GET' EXPORTING im_dexid = gd_dexid im_file_type = c_data_file TABLES ext_cnvmbtdexfiles = gt_cnvmbtdexfiles EXCEPTIONS no_data_found = 1 OTHERS = 2.

CNV_MBT_ADM_PACKAGE_INFO CALL FUNCTION 'CNV_MBT_ADM_PACKAGE_INFO' EXPORTING packid = gd_pack IMPORTING mtid = gd_mtid EXCEPTIONS packid_does_not_exist = 1 OTHERS = 2.

CNV_MBT_L_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_L_SUBSTATE_WRITE' EXPORTING packid = gd_pack TABLES im_cnvmbtsubstate = gt_substate_new EXCEPTIONS update_failed = 1 no_destination = 2 no_pcl_destination = 3 destination_calling_error = 4 pcl_update_failed = 5 rfc_failure = 6 OTHERS = 7.

CNV_MBT_SUBPARAMS_UPDATE CALL FUNCTION 'CNV_MBT_SUBPARAMS_UPDATE' TABLES t_cnvmbtsubparams = gt_subparams.

CNV_MBT_SUBACT_JOBS_CREATE CALL FUNCTION 'CNV_MBT_SUBACT_JOBS_CREATE' EXPORTING program_starter = 'CNV_MBT_SUBACT_JOBS_START' TABLES im_cnvmbtsubstate = gt_substate_schedule EXCEPTIONS scheduling_error = 1 modify_substate_error = 2 program_execution_failed = 3 rfc_failure = 4 session_info_failure = 5 OTHERS = 6.

CNV_MBT_L_STATE_SESSION_INFO CALL FUNCTION 'CNV_MBT_L_STATE_SESSION_INFO' EXPORTING im_session_id = gd_sess_id activity_info = '' subactivity_info = 'X' TABLES t_ex_cnvmbtsubstate = gt_substate.

CNV_MBT_DEX_IMP_DATA_FILE CALL FUNCTION 'CNV_MBT_DEX_IMP_DATA_FILE' EXPORTING im_dexid = gs_cnvmbtdexfiles-dexid im_file_seqno = gs_cnvmbtdexfiles-file_seqno im_packid = gd_pack im_mtid = gd_mtid IMPORTING ex_subrc = gd_subrc ex_filesize = gd_filesize TABLES ext_msg_log = gt_ext_msg_log EXCEPTIONS no_import_path = 1 OTHERS = 2.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT' .

CNV_MBT_L_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_L_SUBSTATE_WRITE' EXPORTING packid = gd_pack TABLES im_cnvmbtsubstate = gt_substate_new EXCEPTIONS update_failed = 1 no_destination = 2 no_pcl_destination = 3 destination_calling_error = 4 pcl_update_failed = 5 rfc_failure = 6 OTHERS = 7.

CNV_MBT_DEX_GET_HEADER CALL FUNCTION 'CNV_MBT_DEX_GET_HEADER' EXPORTING im_dexid = gd_dexid im_cnvmbtdexheada_select = ' ' im_cnvmbtdexcvers_select = ' ' im_cnvmbtdexactions_select = ' ' im_cnvmbtdexfiles_select = ' ' IMPORTING ex_cnvmbtdexhead = gs_cnvmbtdexhead EXCEPTIONS extract_id_not_defined = 1 OTHERS = 2.

CNV_MBT_DEXTYPE_EXIST CALL FUNCTION 'CNV_MBT_DEXTYPE_EXIST' EXPORTING im_dex_type = gd_dex_type EXCEPTIONS data_extract_type_not_defined = 1 invalid_call = 2 OTHERS = 3.

CNV_MBT_DEX_IMP_HEADER_FILE CALL FUNCTION 'CNV_MBT_DEX_IMP_HEADER_FILE' EXPORTING im_dexid = gd_dexid IMPORTING ex_subrc = gd_subrc ex_filesize = gd_filesize TABLES ext_msg_log = gt_ext_msg_log EXCEPTIONS no_import_path = 1 OTHERS = 2.

CNV_MBT_DEX_IMP_CNTRL_FILE_HCM CALL FUNCTION 'CNV_MBT_DEX_IMP_CNTRL_FILE_HCM' EXPORTING im_dexid = gd_dexid im_packid = gd_pack IMPORTING ex_subrc = gd_subrc ex_filesize = gd_filesize TABLES ext_msg_log = gt_ext_msg_log EXCEPTIONS no_import_path = 1 OTHERS = 2.

CNV_MBT_DEX_IMP_CNTRL_FILE_HC2 CALL FUNCTION 'CNV_MBT_DEX_IMP_CNTRL_FILE_HC2' EXPORTING im_dexid = gd_dexid im_packid = gd_pack IMPORTING ex_subrc = gd_subrc ex_filesize = gd_filesize TABLES ext_msg_log = gt_ext_msg_log EXCEPTIONS no_import_path = 1 OTHERS = 2.

CNV_MBT_DEX_IMP_CNTRL_FILE_GEN





CALL FUNCTION 'CNV_MBT_DEX_IMP_CNTRL_FILE_GEN' EXPORTING im_dexid = gd_dexid im_packid = gd_pack IMPORTING ex_subrc = gd_subrc ex_filesize = gd_filesize TABLES ext_msg_log = gt_ext_msg_log EXCEPTIONS no_import_path = 1 OTHERS = 2.

ENQUEUE_ECNVMBTSUBSTATE CALL FUNCTION 'ENQUEUE_ECNVMBTSUBSTATE' EXPORTING mode_cnvmbtsubstate = 'E' client = sy-mandt session_id = gd_sess_id subact_id = gd_subact task_id = gs_cnvmbtdexfiles-file_seqno EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_ECNVMBTSUBSTATE CALL FUNCTION 'DEQUEUE_ECNVMBTSUBSTATE' EXPORTING mode_cnvmbtsubstate = 'E' client = sy-mandt session_id = gd_sess_id subact_id = gd_subact task_id = gs_cnvmbtdexfiles-file_seqno.

CNV_MBT_SUBSTATE_GET CALL FUNCTION 'CNV_MBT_SUBSTATE_GET' EXPORTING session_id = gd_sess_id subact_id = gd_subact number_of_tasks = gs_cnvmbtdexfiles-file_seqno TABLES t_substate = gt_substate_new EXCEPTIONS daten_not_found = 1 OTHERS = 2.



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 CNV_MBT_DEX_IMP_DATA_EXT_02 or its description.