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

CNV_MBT_DEX_EXP_DATA_EXT_SUB SAP ABAP Report - Subtask Export data file







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


Text pool values


Title: Subtask Export data file


INCLUDES used within this REPORT CNV_MBT_DEX_EXP_DATA_EXT_SUB

INCLUDE: CNV_MBT_SUB_SM_PARAMS,
INCLUDE CNV_MBT_ACTIVITY_FORMS.
INCLUDE CNV_MBT_DEX_GLOBAL_FORMS.


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_DEX_EXP_DATA_FILE CALL FUNCTION 'CNV_MBT_DEX_EXP_DATA_FILE' EXPORTING im_dexid = gd_dexid im_file_seqno = gv_seqno IMPORTING ex_subrc = gd_subrc ex_filesize = gd_filesize TABLES ext_msg_log = gt_ext_msg_log EXCEPTIONS extract_id_not_defined = 1 no_rfc_found = 2 no_data_found = 3 no_export_path = 4 OTHERS = 5.

CNV_MBT_DEX_FILEINFO_UPDATE CALL FUNCTION 'CNV_MBT_DEX_FILEINFO_UPDATE' EXPORTING im_dexid = gs_cnvmbtdexfiles-dexid im_file_type = gs_cnvmbtdexfiles-file_type im_file_seqno = gs_cnvmbtdexfiles-file_seqno im_filesize = gd_filesize EXCEPTIONS invalid_call = 1 entry_does_not_exist = 2 update_failed = 3 OTHERS = 4.

CNV_MBT_DEX_FILEINFO_CREATE CALL FUNCTION 'CNV_MBT_DEX_FILEINFO_CREATE' EXPORTING im_dexid = gd_dexid im_file_type = c_control_file EXCEPTIONS insert_failed = 1 OTHERS = 2.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

CNV_MBT_DEX_TABSTRUC_FILL CALL FUNCTION 'CNV_MBT_DEX_TABSTRUC_FILL' EXPORTING packid = gd_packid EXCEPTIONS rfc_problems = 1 OTHERS = 2.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

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_DEX_EXP_CNTRL_FILE_HCM CALL FUNCTION 'CNV_MBT_DEX_EXP_CNTRL_FILE_HCM' EXPORTING im_dexid = gd_dexid IMPORTING ex_subrc = gd_subrc ex_filesize = gd_filesize TABLES ext_msg_log = gt_ext_msg_log EXCEPTIONS invalid_call = 1 no_export_path = 2 invalid_data_extract_id = 3 OTHERS = 4.

CNV_MBT_DEX_EXP_CNTRL_FILE_HC2 CALL FUNCTION 'CNV_MBT_DEX_EXP_CNTRL_FILE_HC2' EXPORTING im_dexid = gd_dexid IMPORTING ex_subrc = gd_subrc ex_filesize = gd_filesize TABLES ext_msg_log = gt_ext_msg_log EXCEPTIONS invalid_call = 1 no_export_path = 2 invalid_data_extract_id = 3 OTHERS = 4.

CNV_MBT_DEX_EXP_CNTRL_FILE_GEN CALL FUNCTION 'CNV_MBT_DEX_EXP_CNTRL_FILE_GEN' EXPORTING im_dexid = gd_dexid IMPORTING ex_subrc = gd_subrc ex_filesize = gd_filesize TABLES ext_msg_log = gt_ext_msg_log EXCEPTIONS invalid_call = 1 no_export_path = 2 invalid_data_extract_id = 3 OTHERS = 4.

CNV_MBT_DEX_FILEINFO_UPDATE CALL FUNCTION 'CNV_MBT_DEX_FILEINFO_UPDATE' EXPORTING im_dexid = gd_dexid im_file_type = c_control_file im_filesize = gd_filesize EXCEPTIONS invalid_call = 1 entry_does_not_exist = 2 update_failed = 3 OTHERS = 4.

DB_COMMIT CALL FUNCTION 'DB_COMMIT' .

CNV_MBT_DEX_FILEINFO_CREATE CALL FUNCTION 'CNV_MBT_DEX_FILEINFO_CREATE' EXPORTING im_dexid = gd_dexid im_file_type = c_header_file EXCEPTIONS insert_failed = 1 OTHERS = 2.

DB_COMMIT CALL FUNCTION 'DB_COMMIT' .

CNV_MBT_DEX_EXP_HEADER_FILE CALL FUNCTION 'CNV_MBT_DEX_EXP_HEADER_FILE' EXPORTING im_dexid = gd_dexid im_simulation = 'X' IMPORTING ex_subrc = gd_subrc ex_filesize = gd_filesize TABLES ext_msg_log = gt_ext_msg_log EXCEPTIONS invalid_call = 1 invalid_data_extract_id = 2 OTHERS = 3.

CNV_MBT_DEX_FILEINFO_UPDATE CALL FUNCTION 'CNV_MBT_DEX_FILEINFO_UPDATE' EXPORTING im_dexid = gd_dexid im_file_type = c_header_file im_filesize = gd_filesize EXCEPTIONS invalid_call = 1 entry_does_not_exist = 2 update_failed = 3 OTHERS = 4.

CNV_MBT_DEX_EXP_HEADER_FILE CALL FUNCTION 'CNV_MBT_DEX_EXP_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 invalid_call = 1 no_export_path = 2 invalid_data_extract_id = 3 OTHERS = 4.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

CNV_MBT_DEX_FILESTAT_UPDATE





CALL FUNCTION 'CNV_MBT_DEX_FILESTAT_UPDATE' EXPORTING im_dexid = gs_filstat-dexid file_type = gs_filstat-file_type file_seqno = gs_filstat-file_seqno action = gs_filstat-action action_num = gs_filstat-action_num username = gs_filstat-username starttime = gs_filstat-starttime endtime = gs_filstat-endtime state_tec = gs_filstat-state_tec state_log = gs_filstat-state_log aborted = gs_filstat-aborted protid = gs_filstat-protid lognumber = gs_filstat-lognumber path = gs_filstat-path path_extern = gs_filstat-path_extern bytes_processed = gs_filstat-bytes_processed IMPORTING ex_subrc = lv_subrc EXCEPTIONS invalid_data_extract_id = 1 no_state_found = 2 OTHERS = 3.



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